[fpc-pascal] Issue with Linking

Tony Caduto tony.caduto at gmail.com
Fri Aug 21 21:39:13 CEST 2015


Msmw.amaal
On Aug 19, 2015 4:02 PM, "Chris Moody" <inquiry at greensnakedesign.com> wrote:

> Hi all,
>
> So I reset up my Pi and I was able to get the current version of FPC to
> get as far as the linking stage, at which point it shows this:
>
> /usr/bin/ld: warning: link.res contains output sections; did you forget -T?
> /home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In function
> `_haltproc_eabi':
> (.text+0x88): undefined reference to `_fini'
> /home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In function
> `_haltproc_eabi':
> (.text+0x90): undefined reference to `_init'
> Dentist.pas(106) Error: Error while linking
> Dentist.pas(106) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> Error: /home/pi/fpc-2.6.4/bin/ppcarm returned an error exitcode (normal if
> you did not specify a source file to be compiled)
>
> I'm not sure how to fix this. If anyone can assist, it would be greatly
> appreciated.
>
> Thanks once again,
>
> Chris
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150821/3513731e/attachment.html>


More information about the fpc-pascal mailing list