makefile
hello,
i have this make file that i want to use to test hello world: Code:
CC= $(shell which ppc_4xx-g++) Code:
#include <iostream.h> Code:
#include <iostream.h> main.o:/opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/build-gcc/gcc/crtsavres.S:283: first defined here collect2: ld returned 1 exit status make: *** [hello] Erreur 1 i don't understand what's the problem can any one help me to solve this problem. thanks an advance |
Quote:
The error message appears to be a linker message, possibly about duplicate defined symbols. Are you able to compile and link without a makefile? |
thank you
i solve the pb |
Quote:
You also need to mark your thread as SOLVED. |
Code:
CC= $(shell which ppc_4xx-g++) for the standard library just keep: #include <iostream> without "h" it works good luck |
Thanks for the update, but you still need to mark as SOLVED.
|
thanks'.
it's solved. thanks |
Yes and if you go to Thread Tools at the top of the page and mark it as such it will advise everyone that it is SOLVED.
|
All times are GMT -5. The time now is 06:35 AM. |