I’m using Eclipse plugin, but the same error there is using command line (env.bat is just done), I’m not able to complete the build process. I’m using the basic example generated automatically by Eclipse, only choose a diffrent processor, no more.
The CDT under eclipse use the following command line
dld -tPPC555EN:windiss -o PPC_Test.out ../bubble.dld ./bubble.o ./crt0.o ./swap.o
and the error is
15:15:39 **** Incremental Build of configuration Debug for project PPC_Test ****
make all
Building target: PPC_Test.out
Invoking: Diab C Linker
dld -tPPC555EN:windiss -o PPC_Test.out ../bubble.dld ./bubble.o ./crt0.o ./swap.o
dld: warning: Undefined symbol 'exit' in file './bubble.o'
dld: warning: Undefined symbol 'printf' in file './bubble.o'
dld: warning: Undefined symbol '__init_main' in file './crt0.o'
dld: warning: Undefined symbol '__cie' in file './bubble.o'
dld: error: Undefined symbols found - no output written
make: *** [PPC_Test.out] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
15:15:40 Build Failed. 2 errors, 4 warnings. (took 245ms)
Thanks