[fpc-pascal] Problem compiling new compiler

Marco van de Voort marcov at stack.nl
Fri Sep 30 17:56:49 CEST 2005


> Marco van de Voort wrote:

> /home/koenraad/fpc/fpc/libgdb/linux/i386/libgdb.a(maint.o) is smaller 
> than 16 in 
> /home/koenraad/fpc/fpc/packages/base/gdbint/units/i386-linux/gdbint.o
> /home/koenraad/fpc/fpc/libgdb/linux/i386/libgdb.a(maint.o)(.text+0xeb3): 
> In function `maintenance_set_profile_cmd':
> maint.c: undefined reference to `atexit'
> /home/koenraad/fpc/fpc/libgdb/linux/i386/libgdb.a(tui-interp.o)(.text+0x1e): 
> In function `tui_init':
> tui-interp.c: undefined reference to `atexit'
> fp.pas(494,1) Error: Error while linking
> make[4]: *** [fp] Fout 1
> 
> Can you give more hints ?

Looks like the libgdb.a wasn't build for this system. Manually build libgdb
from gdb sources.



More information about the fpc-pascal mailing list