EmbDev.net

Forum: ARM programming with GCC/GNU tools make: *** [main.o] Error 1


von Vivek K. (Company: Hochschule Karlsruhe) (khedekarvivek)


Rate this post
useful
not useful
Hello All,

I have installed the Olimex OCD Development suite and I am getting the 
following error. I have installed all the GNU ARM Toolchains.

Yagarto, WinARM, devkitARM and Codesourcery G++

I am still getting this error


**** Build of configuration Debug for project TEST_Prog01 ****

make all
Building file: ../main.c
Invoking: ARM Yagarto Windows GCC C Compiler
arm-none-eabi-gcc -O0 -Wall -Wa,-adhlns="main.o.lst" -c 
-fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -mcpu=arm7tdmi-s -g3 
-gdwarf-2 -o"main.o" "../main.c"
make: *** [main.o] Error 1


Kindly advise, what to do. Any help would be appreciated.

von Martin Thomas (Guest)


Rate this post
useful
not useful
If CS G++/Codebench is also installed please try
1
cs-make all
Background: maybe the make utility in the systems search path is too old 
and incompatible with the current operating system. The CS-Package for 
MS-Win hosts comes with a renamed GNU make (cs-make).
If this still does not work please post the output of cs-make --version 
, make --version and arm-none-eabi-gcc --version . Also try to remove 
the option -fmessage-length=0 from the makefile and also try to call 
make with the debug option (cs-make -d all).

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.