From: Richard Adams (mkv@fh-biberach.de)
Date: Mon Sep 18 2000 - 02:42:36 EEST
On Sun, 17 Sep 2000, Riley Williams wrote about , Re: error in 'make' with ax25-utils-2.1.42a:
> Hi Richard.
Hello Riley.
>
> > 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.
Yep, i just did not want to convert to normal numbers, as i always seem to
get it wrong.
>
> > 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.
Yup.
>
> > 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.
Its not kernel headers i think as, 'make config' checks not only for them
but also for;
/usr/include symlinks
ncurses
existence of X11
existence of XForms libraries
existence of /etc/axports
location for serial lock files
location of your sendmail
Even if a kernel has not been configured 'make config' will still fail.
Of course if make config failed and Charles ignored the error/warning
message then funny things WILL happen.
>
> > 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.
No i belive simply commenting out, or beter deleting the 9 lines containing
hdlcdrv will do, at least thats what i used to do in 2.0.x kernels with
ax25-utils-2.1.42 because i had no xforms.
>
> Best wishes from Riley.
Thank you for the input.
I do belive however that Charles found another answer, precompiled stuff.
-- Regards Richard exc@editions-lariviere.fr http://people.zeelandnet.nl/pa3gcu/- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to cdod.etdhuigje@richmond.edu
This archive was generated by hypermail 2b29 : Mon Sep 18 2000 - 03:58:08 EEST