On 11.02.2018 23:36, Tom Lisjac via Lazarus wrote:

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

eg. my current Fedora 26 have
/usr/lib/gcc/x86_64-redhat-linux/7
/usr/lib/gcc/x86_64-redhat-linux/7/32
so just change fpc.cfg according to your gcc dir.
In any case warning about crtbeginS.o and crtendS.o won't break linking stage, something else is missing.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to