[Lazarus] Can't compile fpc 2.5 with ubuntu lucid lynx
Flávio Etrusco
flavio.etrusco at gmail.com
Sun May 9 03:27:12 CEST 2010
On Sat, May 8, 2010 at 7:28 PM, Fedorax <fedorax at free.fr> wrote:
> Le 08/05/2010 23:35, Fedorax a écrit :
>>
>> 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
>>>>
>>>> --
>>>
>>> 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 ?
>>>
>>>
>>> --
>>
>> 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.
>>
>> --
>
> Ok. That's was a long way but i find the error. If i remove libgdb-dev fpc
> compile fine but i've no debugger suport.
> I don't know if it's ubuntu or fpc bug ?
>
> --
I didn't notice you posted to lazarus ML, you may have better luck
posting to the fpc-devel list.
This must be related FP IDE...
Best regards,
Flávio
More information about the Lazarus
mailing list