Linking endless...

18 Feb 2012

I migrated to off-line compiling with a project (thank you Monti !). This is compiling and linking with code sourcery. Now I want to import this project to the online compiler, because this is where other users can get it. I created a new Program RCCL20120218, imported the .cpp and .h files, deleted the main.cpp to avoid 2 main() functions. The compilation is normal (no error line) but the linking is a loop without end and without error message.

The environment is Ubuntu 10.04 + Firefox ; Google Chrome has the same problem .

Do you have some tip or log file to find why the linker fails ?

Robert

18 Feb 2012

Sorry...I found the error:

- the make clean should delete all the .o files, but there remains a old .o file , no more defined in the makefile -> the make clean did not delete this .o !

- this makes that some variables havec a double definition

-this kill the ARM linker (should not happen !) but does not disturb the codesourcery makefile .

Robert