From: Riley Williams (bxnosume@contral.fi)
Date: Sun Sep 17 2000 - 23:26:19 EEST
Hi Richard.
>> In make config I answered Y to AX25 & NETROM and N to ROSE.
>> make Returns these errors:
>> //usr/include/linux/hdlcdrv.h:13 parse error
>> In file included from hdrvcomm.h:40,
>> from sethdlc.c:45:
>> /usr/incluce/linux/hdlcdrv.h:46: parse error
>> make[1]: *** sethdlc.o Error 1
>> make[1]: Leaving directory ...
>> make: [all[ Error 2
>> What is wrong?
> Both of the above errors concern the same definition, if you look at
> /usr/src/linux/include/linux/hdlcdrv.h
> line 13 is;
> #if LINUX_VERSION_CODE < 0x20119
That basically says "If the current kernel is prior to 2.1.25".
> line 46 is;
> #if LINUX_VERSION_CODE < 0x20100
That basically says "If the current kernel is prior to 2.1.0".
Note that in both cases, any 2.0 series kernel will qualify.
> as well, I presume the 2 different numbers to be correct, as to
> why they are different i dont know, i only have the source for
> 2.0.37 here to look at not to compile.
Basically, they refer to stuff that changed in the stated kernels.
Don't ask me what changed, I don't know.
> The choices you made in the ax25-utils should not have any
> effect on this error, (or thats what i conclude).
Basically, the error indicates that some development tool or library
is either not installed or incorrectly installed. I would guess that
whatever defines LINUX_VERSION_CODE is missing - probably something
daft like kernel-headers-*.rpm or its equivalent in your distribution.
> If you dont plan on using a baycom modem or soundmodem then you
> can edit the Makefile and remove all instancies of "hdlcdrv".
> make a copy of the Makefile first.
> Of course if you need hdlcdrv then you will have to wait for
> some other advice.
Personally, I would doubt that the above would help, as lines like
that are scattered right through the kernel sources.
Best wishes from Riley.
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to bwk.ymnuq@sublet.com
This archive was generated by hypermail 2b29 : Mon Sep 18 2000 - 04:57:00 EEST