Skip to contentSkip to conversation

Compiling last node version.

DISCUSSION Ruben Navarro Huedo 4 participants 6 messages Mar 3, 2004 – Mar 4, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all:
We have this problem compiling last node version under Debian/Woody with 2.6.3 kernel:

linux:~/node-0.3.2# ./configure
Your machine architecture is ... i686
Checking man directory... /usr/share/man
Checking for the existence of the Zlib headers... not found.
            Without Zlib Node will lack compression support
            See INSTALL for more information.

Include support for the AX.25 protocol ? [Y/n]: y Include support for the NetRom protocol ? [Y/n]: y Include support for the Rose protocol ? [Y/n]: y Creating Makefile.include
Creating config.h
Configuration successful

linux:~/node-0.3.2# make
gcc -Wall -Wstrict-prototypes -O2 -g -c user.c
gcc -Wall -Wstrict-prototypes -O2 -g -c util.c
gcc -Wall -Wstrict-prototypes -O2 -g -c nodeusers.c
gcc  -o nodeusers user.o util.o nodeusers.o -lax25 -lax25io
/usr/lib/libax25io.so: referencia a `deflate' sin definir
/usr/lib/libax25io.so: referencia a `inflate' sin definir
/usr/lib/libax25io.so: referencia a `inflateInit_' sin definir
/usr/lib/libax25io.so: referencia a `deflateInit_' sin definir
/usr/lib/libax25io.so: referencia a `inflateEnd' sin definir
/usr/lib/libax25io.so: referencia a `deflateEnd' sin definir
collect2: ld returned 1 exit status
make: *** [nodeusers] Error 1
linux:~/node-0.3.2# dpkg -l | grep ax25
ii  ax25-apps      0.0.6-1        Applications for AX25
ii  ax25-tools     0.0.8-2        AX-25 Tools
ii  libax25        0.0.10-1       ax25 libraries for hamradio applications
ii  libax25-dev    0.0.10-1       ax25 library development files
linux:~/node-0.3.2#

Any help?

Thank's.

- --
Ruben Navarro Huedo
eb5esx (arroba) eb5esx.ampr.org
http://www.cabodesantapola.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFARmR40S5G8AO3zN8RAifzAKDAmtN84twRP8KKuVWM7RomE6fpCQCeLzj7 DiF3uR4jAteJZCa9uG50EEI=
=30XM
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 3 lines · Ruben Navarro Huedo

Checking for the existence of the Zlib headers... not found.
Without Zlib Node will lack compression support See INSTALL for more information.

This is important. Zlib is not required and this *should* not be fatal as such. However see below.

Quoted 7 lines

gcc -o nodeusers user.o util.o nodeusers.o -lax25 -lax25io /usr/lib/libax25io.so: referencia a deflate' sin definir /usr/lib/libax25io.so: referencia a inflate' sin definir /usr/lib/libax25io.so: referencia a inflateInit_' sin definir /usr/lib/libax25io.so: referencia a deflateInit_' sin definir /usr/lib/libax25io.so: referencia a inflateEnd' sin definir /usr/lib/libax25io.so: referencia a deflateEnd' sin definir

Libax25 seems to be compiled with zlib support. That would suggest that you have zlib installed (because of package dependencies). But apparently zlib-dev is not installed?

The lack of zlib headers (from zlib-dev) makes node's configure script drop the necessary linking option for zlib ('-lz' missing at the end of the gcc command). And libax25io doesn't like that...

Conclusion: install zlib-dev.

Quoted 2 lines
ii  libax25        0.0.10-1       ax25 libraries for hamradio applications
ii  libax25-dev    0.0.10-1       ax25 library development files

This is not directly related but you really should upgrade to libax25-0.0.11. Version 0.0.10 is buggy and can cause strange effects with node-0.3.2.

Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04
#2 lore raw
Quoted 3 lines

Conclusion: install zlib-dev.

Installed now and compiled OK ... A lot of thank's :)

Quoted 8 lines
Quoted 3 lines

ii libax25 0.0.10-1 ax25 libraries for hamradio
applications
ii libax25-dev 0.0.10-1 ax25 library development files

This is not directly related but you really should upgrade to libax25-0.0.11. Version 0.0.10 is buggy and can cause strange effects with node-0.3.2.

Do you know about some Debian repository to download libax25-0.0.11

A lot of thank's.

Signature · 3 lines
Ruben Navarro Huedo
eb5esx (arroba) eb5esx.ampr.org
http://www.cabodesantapola.org
#3 lore raw
Quoted 1 line · Ruben Navarro Huedo

Do you know about some Debian repository to download libax25-0.0.11

No (I don't use debian) but I'm sure someone on the list can help you with this.

Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04
#4 lore raw
Quoted 6 lines · On Thu, 04 Mar 2004 15:36:41 +0200 Tomi Manninen <[email protected]> wrote:
Quoted 1 line · Ruben Navarro Huedo

Do you know about some Debian repository to download libax25-0.0.11

No (I don't use debian) but I'm sure someone on the list can help you with this.

Cannot find a backport debian package for it either. So one can compile the .0.0.11-2 that is found in unstable or testing. Compiling it on your local system makes sure there will be no library mismatch.

1) add deb-src source repository in the /etc/apt/sources.list

deb-src http://ftp.belnet.be/debian unstable main

2) read them

apt-get update

3à) fetch the source and compile

apt-get -b source libax25

4) if all goes well, install the two generated packages

dpkg -i libax25_0.0.11-2_i386.deb
dpkg -i libax25-dev_0.0.11-2_i386.deb

There might be more paths to do it

Good Luck, on1aad
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Ruben Navarro Huedo
Quoted 3 lines · Ruben Navarro Huedo

Do you know about some Debian repository to download libax25-0.0.11

Debian testing and unstable have version 0.0.11-2 of packages libax25 and libax25-dev, which should be available from any official mirror.

// darius