[fpc-pascal] FPC for Scratchbox-ARM (compiling with errors)
Daniël Mantione
daniel.mantione at freepascal.org
Wed Feb 21 14:09:57 CET 2007
Op Wed, 21 Feb 2007, schreef Jose Pascual:
> Assembling test1
> Linking test1
> /usr/local/lib/fpc/2.1.1/units/arm-linux/rtl/cprt0.o: In function
> `_haltproc':
> : undefined reference to `_fini'
> /usr/local/lib/fpc/2.1.1/units/arm-linux/rtl/cprt0.o: In function
> `_haltproc':
> : undefined reference to `_init'
> test1.pas(28) Error: Error while linking
> test1.pas(28) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> .
> .
>
> what's wrong?
Libc. Your libc is different than what the cprt0 startup code expects. Try
a pure Pascal program.
Daniël
More information about the fpc-pascal
mailing list