[Lazarus] Can't compile fpc 2.5 with ubuntu lucid lynx
Flávio Etrusco
flavio.etrusco at gmail.com
Sat May 8 22:25:20 CEST 2010
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
More information about the Lazarus
mailing list