Page 1 of 1

Linker error is not recognized

Posted: Tue Jan 11, 2011 8:51 pm
by josee
Hello Eran,

the current Ubuntu version (4684) (maybe older versions too) does not recognize
a linker error. I'm using custom building and the build output is the following:

----------Build Started--------
MESSAGE: Entering directory `/jsprojekt/JS/projekte/codelite/../..'
/bin/sh -c 'make -f projekte/makefiles/Makefile.thor Release'
----------Building project:[ thor - Release ]----------
C-kern/os/shared/findfile.c: In function ‘unittest_findfile’:
C-kern/os/shared/findfile.c:693: warning: implicit declaration of function ‘caramba’
bin/Release/C-kern!os!shared!findfile.c.o: In function `unittest_findfile':
findfile.c:(.text+0xc87): undefined reference to `caramba'
collect2: ld returned 1 exit status
make: *** [bin/thor] Fehler 1
----------Build Ended----------
0 errors, 1 warnings

Make is reporting an error but codelite reports in the Errors pane only:

Build ended with 1 warning(s)
- /jsprojekt/JS/C-kern/os/shared/findfile.c
!:693: warning: implicit declaration of function ‘caramba’

Is there anything I can do ?

Jörg