Linux-Hams archive - May 1997: ax25-utils 2.1.22b compile problems.

ax25-utils 2.1.22b compile problems.

Pete Rossi (dxmauwgy.udohjs@nipne.ro)
Mon, 5 May 1997 23:35:12 -0400


OK.. I decided it was time to upgrade from :

Kernel 2.0.29 and ax25-utils-2.0.12c to

Kernel 2.0.30+module-13 and ax25-utils-2.1.22b

The module-13 patch installed nicely and the new Kernel compiled and booted
with no problems... but...

Trying to compile x25-utils-2.1.22b and ran into syntax errors.

It got a good ways into the 'make' then I got..

gcc -Wall -Wstrict-prototypes -O2 -I/usr/X11R6/include -c sethdlc.c
sethdlc.c: In function `main':
sethdlc.c:628: structure has no member named `stats'
sethdlc.c:629: structure has no member named `stats'
sethdlc.c:630: structure has no member named `stats'
sethdlc.c:631: structure has no member named `stats'
make[1]: *** [sethdlc.o] Error 1
make[1]: Leaving directory `/usr/local/src/ax25-utils-2.1.22b/hdlcutil'
make: *** [all] Error 2

So I thought I would skip over this for now.. I commented out the line
to make hdlcutil in the Makefile and restarted the make... It continued
again for a bit then ran into:

gcc -Wall -Wstrict-prototypes -O2 -I../lib -c nrctl.c
nrctl.c: In function `main':
nrctl.c:22: storage size of `nr_ctl' isn't known
nrctl.c:44: `NETROM_KILL' undeclared (first use this function)
nrctl.c:44: (Each undeclared identifier is reported only once
nrctl.c:44: for each function it appears in.)
nrctl.c:66: `SIOCNRCTLCON' undeclared (first use this function)
nrctl.c:22: warning: unused variable `nr_ctl'
make[1]: *** [nrctl.o] Error 1
make[1]: Leaving directory `/usr/local/src/ax25-utils-2.1.22b/netrom'
make: *** [all] Error 2

By now it was getting too late to go much further so I figured I would
see what the experts on here had to say. Looks to me that something
in my include files is incompatible.

I tried making x25-utils-2.1.22b on two different systems with 2.0.30
Kernels installed. One system has Slackware 3.1 (gcc 2.7.2) and the other
has Slackware 3.2 (gcc 2.7.2.1) I get the same errors on both systems.
Both systems also have XFree86 3.2 installed.

BTW, when I did the 'make config' I specified only AX.25

So, has anyone else run into this problem?

---

Pete Rossi - WA3NNA terhi.victor@logonet.com