[Lazarus] Can't compile fpc 2.5 with ubuntu lucid lynx

Fedorax fedorax at free.fr
Sat May 8 23:35:59 CEST 2010


Le 08/05/2010 22:36, Fedorax a écrit :
> Le 08/05/2010 22:25, Flávio Etrusco a écrit :
>> On Sat, May 8, 2010 at 4:22 PM, Fedorax<fedorax at free.fr>  wrote:
>>> Hello,
>>>
>>> When i want compile fpc 2.5.x or 2.4.x sources with the last version of
>>> ubuntu i got this errors:
>>> ------------------------
>>> /usr/lib/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':
>>> (.text+0x2305): undefined reference to `inflateInit_'
>>> /usr/lib/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':
>>> (.text+0x2347): undefined reference to `inflate'
>>> /usr/lib/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':
>>> (.text+0x2358): undefined reference to `inflateReset'
>>> /usr/lib/libgdb.a(dwarf2read.o): In function `dwarf2_read_section':
>>> (.text+0x236d): undefined reference to `inflateEnd'
>>> /usr/lib/libbfd.a(compress.o): In function
>>> `bfd_uncompress_section_contents':
>>> /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:96: 
>>>
>>> undefined reference to `inflateInit_'
>>> /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:106: 
>>>
>>> undefined reference to `inflateReset'
>>> /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:103: 
>>>
>>> undefined reference to `inflate'
>>> /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:108: 
>>>
>>> undefined reference to `inflateEnd'
>>> fp.pas(575,1) Error: Error while linking
>>> ---------------------------
>>> binutils ans zlib with dev packages seem's correctly instaled. Did 
>>> somebody
>>> have solution ?
>> Did you 'make clean' before compiling? I don't have any problem
>> compiling latest 2.5.1 with the fpc provided in Lucid.
>>
>> Best regards,
>> Flávio
>>
>> -- 
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> Yes, i do a make clean, a make distclean and make all give me teh same 
> error.
> Did you have make a new ubuntu installation or upgrade from karmic ? 
> May be my upgrade from karmic have something wrong ?
>
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
I just load the today svn and same thing. Compile with -d option say no 
more about the error. Something is wrong in my ubuntu but i can't see what.




More information about the Lazarus mailing list