[fpc-pascal] Problems to compile FPC 2.3.0

Matthias Klumpp matthias at nlinux.org
Mon Oct 12 17:02:21 CEST 2009


On Mon, 12 Oct 2009 12:49:03 +0200, Jonas Maebe <jonas.maebe at elis.ugent.be>
wrote:
> On 11 Oct 2009, at 18:37, Matthias Klumpp wrote:
>>
>> I decided to use this version of FPC for now. Thank you for your help!
>> But now I have problems to compile the compiler:
>> First I got the error message
>>
>> make[7]: *** No rule to make target `/prt0.as', needed by `prt0.o'.   
>> Stop.
> 
> How did you try to compile it? I don't remember seeing this error  
> message mentioned before.

Okay, maybe this only happens if you remove all Makefiles and run fpcmake
again...
I tried it again and now - like magic - it works! But now I have another
problem:
 FPC 2.3.0 does not link against the new GDB 7 debugger:

(.text+0x38): undefined reference to `decimal32ToNumber'                   
                                                  
/usr/lib64/libgdb.a(dfp.o): In function `decimal_to_number':               
                                                  
(.text+0x48): undefined reference to `decimal128ToNumber'                  
                                                  
/usr/lib64/libgdb.a(dfp.o): In function `decimal_to_number':               
                                                  
(.text+0x58): undefined reference to `decimal64ToNumber'                   
                                                  
/usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':      
                                                  
(.text+0x2230): undefined reference to `inflateInit_'                      
                                                  
/usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':      
                                                  
(.text+0x226e): undefined reference to `inflate'                           
                                                  
/usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':      
                                                  
(.text+0x2282): undefined reference to `inflateReset'
/usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':
(.text+0x2295): undefined reference to `inflateEnd'
/usr/lib64/libbfd.a(compress.o): In function
`bfd_uncompress_section_contents':
/build/buildd/binutils-2.19.91.20091006/builddir-single/bfd/../../bfd/compress.c:96:
undefined reference to `inflateInit_'
/build/buildd/binutils-2.19.91.20091006/builddir-single/bfd/../../bfd/compress.c:103:
undefined reference to `inflate'
/build/buildd/binutils-2.19.91.20091006/builddir-single/bfd/../../bfd/compress.c:106:
undefined reference to `inflateReset'
/build/buildd/binutils-2.19.91.20091006/builddir-single/bfd/../../bfd/compress.c:108:
undefined reference to `inflateEnd'
fp.pas(575,1) Error: Error while linking
fp.pas(575,1) Fatal: There were 1 errors compiling module, stopping

Etc... Should I report a bug about this or does someone already work on
this?
Thank you for your help again!

  Matthias




More information about the fpc-pascal mailing list