Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-01

FPC-trunk does not compile

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joost van der Sluis

Hi all,

I think that this is already known, I think it's related to the dyn.linking, but maybe it's specific for mine setup...

Revision 2331, linux FC3, startcompiler 2.0.2

This is a part of the result of make clean all:

make[3]: Entering directory `/local/svn/fpc-trunk/rtl/linux' make all CREATESHARED=1 LINKSHARED=1 CREATESMART=1 make[4]: Entering directory `/local/svn/fpc-trunk/rtl/linux' as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/prt0.o i386/prt0.as as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/dllprt0.o i386/dllprt0.as
as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/cprt0.o i386/cprt0.as
as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/gprt0.o i386/gprt0.as
as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/cprt21.o i386/cprt21.as
as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/gprt21.o i386/gprt21.as
/local/svn/fpc-trunk/compiler/ppc386 -Ur -CX -Ur -Xs -OG2p3 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/local/svn/fpc- trunk/rtl/units/i386-linux -Cg -Aas -di386 -dRELEASE -Us -Sg system.pp /local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s: Assembler messages:
/local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:43: Error: undefined symbol `.Lj22' in operation
/local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:43: Error: undefined symbol `.Lj20' in operation
/local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:54: Error: undefined symbol `.Lj66' in operation
/local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:54: Error: undefined symbol `.Lj64' in operation

Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken http://www.cnoc.nl

Reply by email

jordi
to Joost van der Sluis

El dt 24 de 01 del 2006 a les 15:33 +0100, en/na Joost van der Sluis va escriure:

Show quoted text 38 lines
Hi all, I think that this is already known, I think it's related to the dyn.linking, but maybe it's specific for mine setup... Revision 2331, linux FC3, startcompiler 2.0.2 This is a part of the result of make clean all: make[3]: Entering directory `/local/svn/fpc-trunk/rtl/linux' make all CREATESHARED=1 LINKSHARED=1 CREATESMART=1 make[4]: Entering directory `/local/svn/fpc-trunk/rtl/linux' as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/prt0.o i386/prt0.as as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/dllprt0.o i386/dllprt0.as as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/cprt0.o i386/cprt0.as as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/gprt0.o i386/gprt0.as as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/cprt21.o i386/cprt21.as as --32 -o /local/svn/fpc-trunk/rtl/units/i386-linux/gprt21.o i386/gprt21.as /local/svn/fpc-trunk/compiler/ppc386 -Ur -CX -Ur -Xs -OG2p3 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/local/svn/fpc- trunk/rtl/units/i386-linux -Cg -Aas -di386 -dRELEASE -Us -Sg system.pp /local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s: Assembler messages: /local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:43: Error: undefined symbol `.Lj22' in operation /local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:43: Error: undefined symbol `.Lj20' in operation /local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:54: Error: undefined symbol `.Lj66' in operation /local/svn/fpc-trunk/rtl/units/i386-linux/system.sl/system0s1475.s:54: Error: undefined symbol `.Lj64' in operation

I have the same problem, have you resolved it? In the last month I've made several changes in my system (update to mandriva 2006) and I've been 3 weeks without internet for other reasons. Before this I compiled fpc succesfully. Perhaps the kernel-source? or I'm missing some package? I hope somebody can help. Thanks.

Jordi.

Reply by email

Daniël Mantione
to jordi

Op Fri, 27 Jan 2006, schreef jordi:

Show quoted text 5 lines
I have the same problem, have you resolved it? In the last month I've made several changes in my system (update to mandriva 2006) and I've been 3 weeks without internet for other reasons. Before this I compiled fpc succesfully. Perhaps the kernel-source? or I'm missing some package? I hope somebody can help. Thanks.

Everyone has this problem; there is bug in the current svn.

Daniël

Reply by email

Daniël Mantione
to Graeme Geldenhuys

Op Sat, 28 Jan 2006, schreef Graeme Geldenhuys:

Do you know from what revision this started?

Not exactly but it has to do with the shared library stuff. I managed to get it compiled by setting SHAREDTARGETS in the toplevel Makefile.FPC empty and then making it by "make opt=-Aelf".

Daniël

Reply by email