This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
inflateInit?
- From: DJ Delorie <dj at redhat dot com>
- To: gdb at sourceware dot org
- Date: Thu, 10 Jul 2008 11:18:01 -0400
- Subject: inflateInit?
Two of my simulators (so far) are failing thusly:
gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -DWITH_DEFAULT_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 -DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DDEFAULT_INLINE=0 -DWITH_RESERVED_BITS=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -DDEBUG -I/sata/dj/gnu/gdb/src/sim/v850/../../newlib/libc/sys/sysnecv850 -I. -I/sata/dj/gnu/gdb/src/sim/v850 -I../common -I/sata/dj/gnu/gdb/src/sim/v850/../common -I../../include -I/sata/dj/gnu/gdb/src/sim/v850/../../include -I../../bfd -I/sata/dj/gnu/gdb/src/sim/v850/../../bfd -I../../opcodes -I/sata/dj/gnu/gdb/src/sim/v850/../../opcodes -g -O2 -o run \
nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lnsl
../../bfd/libbfd.a(compress.o): In function `bfd_uncompress_section_contents':
/sata/dj/gnu/gdb/src/bfd/compress.c:96: undefined reference to `inflateInit_'
/sata/dj/gnu/gdb/src/bfd/compress.c:103: undefined reference to `inflate'
/sata/dj/gnu/gdb/src/bfd/compress.c:106: undefined reference to `inflateReset'
/sata/dj/gnu/gdb/src/bfd/compress.c:108: undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
make[3]: *** [run] Error 1
make[3]: Leaving directory `/sata/dj/gnu/gdb/v850-elf/sim/v850'
Are we partway through adding -lz to everything?