Thank you Gregor...
How would you recommend best altering the nkfs file to work with my kernel
2.4.5-5mdk?

Todd

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gregor Maier
Sent: Thursday, August 23, 2001 12:09 AM
To: [EMAIL PROTECTED]
Subject: RE: [expert] FW: What does this error mean?



On 22-Aug-2001 Todd Zashin wrote:
> whoops sorry I think I sent this to the wrong address the first time.
>
> Todd
>
>  -----Original Message-----
> From:         Todd Zashin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 12:32 PM
> To:   Expert-Owner@Linux-Mandrake. Com (E-mail)
> Subject:      What does this error mean?
>
> HI folks.  I am trying to install the nkfs package on my Linux Mandrake
8.0
> system and this is the error I see when I attempted the make command at
the
> konsole prompt:
>
> make[1]:  Entering directory /root/tmp/nkfs/nkfs-4.2.1/src
>
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -DMODULE
>  -DM
> ODVERSIONS -I/usr/include -I. -I../include -DLINUX1_3_x  -c -o
nkfs_drive.0
> nkfs_driver.c
> In file included from nkfs_driver.c:27:
> /usr/include/linux/modversions.h:1:2: #error Modules should never use
> kernel -headers system headers /usr/include/linux/modversions.h:2:2:
#error
> but headers from an appropriate kernel -source
> make [1]: *** [nkfs_driver.o] Error 1
> make [1]: Leaving directory /root/tmp/nkfs/nkfs-4.2.1/src
> make: *** [all] Error 2
>
> What does this mean?  Should I stop and not continue with Make Install?
How
> do I correct these errors and start again if that is the appropriate step
to
> take?
>

Looks like nkfs is configured for kernel 1.3.x (-DLINUX1_3_x) but if you use
a
plain LM8.0 you got kernel 2.4.3
The error itself is that the header files are from kernel 2.4.3 while nkfs
expects 1.3.x.

You should change the configuration of nkfs to match your kernel.

Gregor

----------------------------------
E-Mail: Gregor Maier <[EMAIL PROTECTED]>
Date: 23-Aug-2001
Time: 09:02:50
----------------------------------



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to