[fpc-pascal] FPC 3.0.0-rc1 release

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 31 09:59:47 CEST 2015


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



More information about the fpc-pascal mailing list