no .print or .println = compile error
Jeremy Cowgar
jeremy at cowgar.com
Tue Aug 25 02:54:51 UTC 2009
If you do not have at least one print or println in the code, then
compilation fails:
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x22b):iup.c: undefined reference to `print_char'
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x262):iup.c: undefined reference to `die_with_code'
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x3a4):iup.c: undefined reference to `print_char'
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x3e4):iup.c: undefined reference to `print_char'
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x3f2):iup.c: undefined reference to `print_char'
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x405):iup.c: undefined reference to `print_char'
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x411):iup.c: undefined reference to `print_char'
C:\Users\Jeremy\AppData\Local\Temp/ccsbcaaa.o(.text+0x497):iup.c: more undefined references to `print_char' follow
collect2: ld returned 1 exit status
FAILURE!
--
Jeremy Cowgar <jeremy at cowgar.com>
More information about the Lisaac-devel
mailing list