[fpc-devel] Building from source...

Kevin Lyda kevin at ie.suberic.net
Sun May 12 12:51:48 CEST 2019


I note that there's a git mirror hosted at
https://github.com/graemeg/freepascal which is kept up to date (last
commit, 17 minutes ago). I want to use it to do two things - first to
test a proposed patch and second on my own systems to integrate into
my ci/cd systems.

I note there's a Makefile at the base of the repo and a plain "make"
runs the "help" target which points me at "make all". So I run that
and get this error:

/usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix
-Fix86_64 -FE. -FU/home/kevin/src/freepascal/rtl/units/x86_64-linux
-Cg -dx86_64 -dRELEASE ../objpas/fgl.pp
/usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix
-Fix86_64 -FE. -FU/home/kevin/src/freepascal/rtl/units/x86_64-linux
-Cg -dx86_64 -dRELEASE -Fi../objpas/classes ../unix/classes.pp
streams.inc(1865,37) Error: Can't determine which overloaded function to call
classes.pp(57) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Makefile:3989: recipe for target 'classes.ppu' failed
make[7]: *** [classes.ppu] Error 1
make[7]: Leaving directory '/home/kevin/src/freepascal/rtl/linux'
Makefile:2064: recipe for target 'linux_all' failed
make[6]: *** [linux_all] Error 2
make[6]: Leaving directory '/home/kevin/src/freepascal/rtl'
Makefile:4676: recipe for target 'rtl' failed
make[5]: *** [rtl] Error 2
make[5]: Leaving directory '/home/kevin/src/freepascal/compiler'
Makefile:4517: recipe for target 'next' failed
make[4]: *** [next] Error 2
make[4]: Leaving directory '/home/kevin/src/freepascal/compiler'
Makefile:4524: recipe for target 'ppc1' failed
make[3]: *** [ppc1] Error 2
make[3]: Leaving directory '/home/kevin/src/freepascal/compiler'
Makefile:4539: recipe for target 'cycle' failed
make[2]: *** [cycle] Error 2
make[2]: Leaving directory '/home/kevin/src/freepascal/compiler'
Makefile:2845: recipe for target 'compiler_cycle' failed
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory '/home/kevin/src/freepascal'
Makefile:2877: recipe for target 'build-stamp.x86_64-linux' failed
make: *** [build-stamp.x86_64-linux] Error 2

I'm on Ubuntu 18.04 and have fpc 3.0.4 installed via apt.

Kevin

-- 
Kevin Lyda
Galway, Ireland



More information about the fpc-devel mailing list