Re: Modutils-970118 compile problems

Stuart Stegall (keltor@gower.net)
Sun, 19 Jan 1997 21:28:09 -0600


even better:
cd /usr/include
rm asm
rm linux
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/asm asm
or something like that .... it's in /usr/src/linux/Readme the exact steps

----------
> From: Ion Badulescu <ionut@moisil.wal.rhno.columbia.edu>
> To: Tristan McCann <trismcc@nh.ultranet.com>
> Cc: linux-kernel@vger.rutgers.edu
> Subject: Re: Modutils-970118 compile problems
> Date: Sunday, January 19, 1997 9:08 PM
>
> On Sun, 19 Jan 1997, Tristan McCann wrote:
>
> > modutils-970118 compile problems..........
> >
> > make -C util install-bin
> > make[1]: Entering directory `/home/trismcc/modutils-970118/util'
> > gcc -g -O -Wall -I../include -D_GNU_SOURCE -c -o sys_qm.o sys_qm.c
> > sys_qm.c: In function `query_module':
> > sys_qm.c:37: `__NR_query_module' undeclared (first use this function)
> > sys_qm.c:37: (Each undeclared identifier is reported only once
> > sys_qm.c:37: for each function it appears in.)
> > sys_qm.c:37: warning: `__res' might be used uninitialized in this
function
> > make[1]: *** [sys_qm.o] Error 1
> > make[1]: Leaving directory `/home/trismcc/modutils-970118/util'
> > make: *** [install-bin] Error 2
>
> You need linux-2.1.2x header files to compile it. Check your
> /usr/src/linux.
>
>
> Ionut
>
> --
> It is better to keep your mouth shut and be thought a fool,
> than to open it and remove all doubt.