...
Makefile:2425: Using system default libgdb file located in /usr/lib/libgdb.a
...
[ 47%] Compiled package fv
Start compiling package gdbint for target x86_64-linux.
File libgdb.a not found
Compiling gdbint/src/gdbint.pp
Compiling gdbint/src/gdbcon.pp
[ 47%] Compiled package gdbint
...
Installation package fv for target x86_64-linux succeeded
Start compiling package gdbint for target x86_64-linux.
File libgdb.a not found
Compiled package gdbint
Installing package gdbint
Installation package gdbint for target x86_64-linux succeeded
...
Complete log is at https://pastebin.com/54vReYnkINPUT(
-lncurses
-lm
-ldl
-lgcc
-lz
-lpython3
)
pcbuild-3.0.4/fpcsrc/packages/gdbint/units/x86_64-linux/ -Ficompiler -Fl/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0 -Cg -Ur -dNOCATCH -dBrowserCol -dGDB -dx86_64 -Fu../compiler -Fu../compiler/x86_64 -Fu../compiler/targets -Fu../compiler/systems -Fi../compiler/x86_64 -Fi../compiler -Fu../compiler/x86 -dNOOPT -Sg -Fl/usr/lib/ -Xd -viq fp.pas" failed with exit code 256. Console output:
Free Pascal Compiler version 3.0.4 [2018/04/14] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling fp.pas
Writing Resource String Table file: fp.rsj
Linking bin/x86_64-linux/fp
/usr/bin/ld: warning: bin/x86_64-linux/link.res contains output sections; did you forget -T?
fp.pas(581,1) Error: Error while linking
fp.pas(581,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
/usr/lib/libgdb.a(main.o): Mehrfachdefinition von »interpreter_p«
/home/lfs/fpcbuild-3.0.4/fpcsrc/packages/gdbint/units/x86_64-linux/gdbint.o: hier zuerst definiert
/usr/lib/libgdb.a(main.o): Mehrfachdefinition von »gdb_stdtarg«
/home/lfs/fpcbuild-3.0.4/fpcsrc/packages/gdbint/units/x86_64-linux/gdbint.o: hier zuerst definiert
/usr/lib/libgdb.a(top.o): Mehrfachdefinition von »deprecated_query_hook«
/home/lfs/fpcbuild-3.0.4/fpcsrc/packages/gdbint/units/x86_64-linux/gdbint.o: hier zuerst definiert
/usr/bin/ld: /usr/lib/libgdb.a(varobj.o): undefined reference to symbol 'PyImport_AddModule'
/usr/lib64/libpython3.6m.so.1.0: error adding symbols: DSO missing from command line
make: *** [Makefile:2224: all] Fehler 1
svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc
cd fpc
make clean
make all
make install
I also got a 'no debugger support available' message so I tried following the above steps. Unfortunately I got an error at the 'make all' step. Any suggestions what I could try next? Actually I don't want trunk, but 3.2.
Error: ppcx64 can't be executed, error message: Failed to execute "ppcx64", error code: 127