[Lazarus] ll 1.8.0 compiles fail with "Error while linking"
Tom Lisjac
zikon770 at gmail.com
Sun Feb 11 23:36:57 CET 2018
Thanks Zeljke, Péter and Mattias.
Plenty of space on all three OS'es and I installed all the dependencies
that the rpm's (from sourceforge) required.
I've upgraded the Fedora 19 install many times without issues. This is the
error after upgrading to 1.8.0 when compiling a blank form or the IDE from
the ide:
Build IDE: Exit code 512, Errors: 1
[lazarus] Error 1
[idepkg] Error 2
make: *** [idepkg] Error 2
lazarus.pp(161,1) Error: Error while linking
It was originally the same on a new Fedora 23, but booted the VM up again
today and now see this with a blank form compile:
Compile Project, Target: /home/user/tmp/project1: Exit code 256, Errors: 1,
Warnings: 2
project1.lpr(20,1) Warning: "crtbeginS.o" not found, this will probably
cause a linking failure
project1.lpr(20,1) Warning: "crtendS.o" not found, this will probably cause
a linking failure
project1.lpr(20,1) Error: Error while linking
A forum search search suggested checking the path in /etc/fpc.cfg:
# path to the gcclib
#ifdef cpui386
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.8.3/32
#endif
#ifdef cpux86_64
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.8.3
#endif
Both are correct on Fedora 19 as I can see crtbeginS.o and crtendS.o in
those directories, but neither of those entries are present in the
/etc/fpc.cfg on Fedora 23, so it's still not clear what the problem is and
how to fix it.
Thanks,
-Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180211/e1a959da/attachment.html>
More information about the Lazarus
mailing list