Re: Modutils-970118 compile problems

Tristan McCann (trismcc@nh.ultranet.com)
Sun, 19 Jan 1997 22:59:26 -0500 (EST)


On 20-Jan-97 Stuart Stegall wrote:
>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.

Thanks! That fixed it.

Tristan McCann - York, Maine, USA - Surfing the Internet with Linux!
mailto: trismcc@nh.ultranet.com, homepage: http://www.nh.ultranet.com/~trismcc/
Happily running Debian Linux 1.2 ([bo]), K. Ver. 2.1.10, Win NT 4.0, Win 95
"What I want is what I've not got, and what I need is all around me" DMB