On 08/20/2015 07:37 AM, Martin Schreiber wrote:
On Thursday 20 August 2015 16:03:11 Chris Moody wrote:
I've done that. Still can't compile code due to ld:

Assembling dentist
Linking Dentist
/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: /usr/bin/ppcarm returned an error exitcode

I saw that linker error too. A workaround was to add "xlib" to "uses". This
needs an installed xlib-devel package, I don't remember the exact name.

Martin

I'm hoping this is not the solution for me, as this is a console only app. I would assume by the name xlib would make it more for XWindows?

Chris

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

Reply via email to