Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » make *** main.o error 1(error while compiling with avr)
make *** main.o error 1 [message #1856143] Tue, 22 November 2022 21:32
Mohamed Radwan is currently offline Mohamed RadwanFriend
Messages: 1
Registered: November 2022
Junior Member
i am trying to compile a program with eclipse luna and using avr compiler and here is the error that poped up:

make all
Building file: ../main.c
Invoking: AVR Compiler
avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega16 -DF_CPU=1000000UL -MMD -MP -MF"main.d" -MT"main.d" -c -o "main.o" "../main.c"
make: *** [main.o] Error 1

am trying to fix it over 3 days but there is no benefit of it.

can anyone help me and give me an advice for it ?

i have tried many eclipse version with no solution. also, i have uninstall and reinstall the winavr again nothing happened.
Previous Topic:Running, building and debugging a fortran file with photran.
Next Topic:C++ basic data types that are cross-platform
Goto Forum:
  


Current Time: Thu May 02 10:32:41 GMT 2024

Powered by FUDForum. Page generated in 0.02606 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top