Re: installed kernel source but still no modversions.h!
On Tue, May 14, 2002 at 07:21:22PM +0100, Alex Hunsley wrote:
> Alex Hunsley wrote:
> > I'm trying to compile the 3c90x netcard driver from 3com.
> > First time I try, I get this:
> > 3c90x.h:22: linux/modversions.h: No such file or directory
> > In file included from /usr/include/linux/sched.h:13,
> > from 3c90x.h:36,
> > from 3c90x.c:1:
> > so I remembered I need to install the kernel source.
> > I've installed it (and made sure it's at /usr/src/linux) and followed the
> > instructions at
> > http://www.tldp.org/HOWTO/mini/PCTel-MicroModem-Config/trouble.html#AEN468 -
> > in other words, I did "make config" followed by "make dep".
> > For "make config" I just answered 'default' to all the qeustions (by holding
> > down return!) After 'make dep', the file include/modversions.h still wasn't
> > there.
> > What am I doing wrong?
> I did a find on modversions.h and it's sitting in /usr/src/linux/include/linux,
> which is the wrong place?
> I assumed that the kernel source tar should be untarred and have it's contents
> put into /usr/src/linux, am I wrong about this?
This occurs because Debian supplies its own versions of the include
files with libc6, instead of symlinking /usr/include/linux to
See /usr/share/doc/libc6/README.Debian.gz. Specifically, "If there is
just one particular program/package that needs different headers,
and your kernel of choice is installed in the usual place, you can use
the -I/usr/src/linux/include option on the gcc command line, when compiling
that specific program."
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com