PDA

View Full Version : Compile (zlib?) problem



forty-two
07-20-2002, 01:06 PM
Hey all,

I'm running Debian 2.2r6, along with gcc 3.1.1, and casey's qt-gcc3 deb package. However, during the make, I come across this error... I think it has something to do with zlib, but not sure.

decode.o: In function `EQDecode::InflatePacket(unsigned char const*, unsigned, unsigned char*, unsigned*)':
/root/seq/showeq/src/decode.cpp:488: undefined reference to `ssh_z_inflateInit2_'
/root/seq/showeq/src/decode.cpp:495: undefined reference to `ssh_z_inflate'
/root/seq/showeq/src/decode.cpp:509: undefined reference to `ssh_z_inflateEnd'
/root/seq/showeq/src/decode.cpp:499: undefined reference to `ssh_z_inflateEnd'
collect2: ld returned 1 exit status
make[3]: *** [showeq] Error 1
make[3]: Leaving directory `/root/seq/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/seq/showeq'
make: *** [all] Error 2

casey
07-20-2002, 01:13 PM
get the -dev version of zlib, and every other library that showeq needs.


no -dev == runtime libs. good for dynamic link time.

-dev == development libs + header files. required to compile against libs.

forty-two
07-20-2002, 02:02 PM
Okay... a list of packages with dpkg based on the walkthrough's package list

ii zlib1g 1.1.4-2
ii zlib1g-dev 1.1.4-2

ii autoconf 2.53-4

ii automake 1.4-p5-4

ii binutils 2.12.90.0.9-1

ii libgd1 1.8.4-17
ii libgd-dev 1.8.4-17

ii freetype2 1.3.1-1

ii kernel-headers 2.2.19-4potato

ii libpcap-dev 0.6.2-2
ii libpcap0 0.6.2-2

ii gcc-3.1 3.1.1-0pre3
ii gcc-3.1-base 3.1.1-0pre3
ii libgcc1 3.1.1-0pre3

ii libstdc++4 3.1.1-0pre3
ii libstdc++4-dev 3.1.1-0pre3

ii locales 2.2.5-6
ii libc6 2.2.5-6
ii libc6-dev 2.2.5-6

ii libgd1 1.8.4-17
ii libgd-dev 1.8.4-17

ii libjpeg62 6b-6
ii libjpeg62-dev 6b-6

ii libmng1 1.0.3-4
ii libmng-dev 1.0.3-4

ii libpng2 1.0.12-3
ii libpng2-dev 1.0.12-3

ii m4 1.4-10

ii patch 2.5-2.2
ii make 3.79.1-1.potato
ii cvs 1.10.7-9


libtool I couldn't find in dpkgs, so I downloaded it and compiled it. same for gdbm, downloaded and compiled correctly.

I'm thinking the gd libraries do not equal gd itself? Still somewhat confused with that... Should I get gd and compile it?

[edit: I downloaded and installed a more recent zlib, and it seems to be working better... more at 10]

forty-two
07-20-2002, 02:24 PM
success

Seems like the packaged zlib1.1.3 was foobar'd. ;)