Mark Morgan Lloyd wrote:
/usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function
`_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function
`_haltproc_eabi':
(.text+0x90): undefined reference to `_init'
chmcmd.lpr(238,46) Error: Error while linking
chmcmd.lpr(238,46) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

This is also related to the fact that you have an armhf system that uses the directory/file layout of an armel system. Pass -Fl/usr/lib/arm-linux-gnueabi to the compiler, as it is only looking in /usr/lib/arm-linux-gnueabihf for the crt*.o files (which contain those symbols).


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to