Linux-Hams archive - August 1997: Re: Compiling ax25-utils-2.1.42

Re: Compiling ax25-utils-2.1.42

Edward J. Young (sygjslt@tgi.net)
Sun, 31 Aug 1997 12:30:18 -0600 (MDT)


Thank you for the rapid reply.

I issued the command as you said and the patch reported that it went
successfully. Rerunning make on the ax25-utilities results in:

gcc -Wall -Wstrict-prototypes -O2 -I../lib -c kissattach.c
kissattach.c: In function `main':
kissattach.c:186: `N_AX25' undeclared (first use this function)
kissattach.c:186: (Each undeclared identifier is reported only once
kissattach.c:186: for each function it appears in.)
make[1]: *** [kissattach.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.30/ax25-utils-2.1.42/kiss'
make: *** [all] Error 2

It would seem that N_AX25 is not defined. A grep in /usr/include/linux
finds no refs to it. My /usr/include/linux is a link to the kernel source
for 2.0.30. It seems that I still don't have all the correct source in
place.

I tried the patch to my 2.1.42 source tree and got the parser error I
originaly had when I ran make. It also seems that you cannot run the patch
command more than once.

I'm beginning to think I've done something fundamentaly wrong here since
I'm having so many problems, and I hope I haven't broken something. I'll
detail the steps:
have tried
kernel 2.0.30 + the module14c with ax25-utils 2.1.42 and
kernel 2.0.29 with ax25-utils-2.0.12c and
kernel 2.1.42 with ax25 utils 2.1.42

The 2.0.29 and ax25 2.0.12c has been the only one to compile and install,
but is missing kissattach, which I seen is in the 2.1.42 utils.

For 2.0.30, I first tried running make on the utils with out the patch
and got the error I detailed in the previous message. Then I ran the
patch pointing to the /usr/include/linux which links to the correct 2.0.30
source includes and it reported success. I then got the error above when I
ran make again. Make config now reports "nothing to be done for config".

2.1.42 and ax25 utils 2.1.42 will not successfully install because of the
compile errors when running make on the utils. I tried to apply the patch
to this tree and it would not run again as if it could be run only once.
Make config says "nothing to be done" even after a make clean.

I'm afraid I've broken something, but I've been very careful.

Thanx again in advance,

Ed
NL7FU
eydhapf.jebctcnc@canufly.net