Did you do a "make mrproper" before starting the whole compilation? 
I've gotten similar errors in the past and that has solved them.  (Note:
I believe this will wipe out any existing /usr/src/linux/.config you
have.  But as you're loading a file from elsewhere, this shouldn't be a
concern.)

- Kathy

On Wed, 2002-04-10 at 15:25, Calin Culianu wrote:
> 
> 
> I am having problems compiling the mandrake 8.2 kernel on a mandrake 8.2 
> system I just installed.
> 
> 
> I am testing out some mods to the kernel.  I haven't modified the 
> 2.4.18-mdk6 sources yet.. as a first step I am just trying to compile the 
> mandrake kernel sources as a test, using the gcc 2.96.76 compiler that comes 
> with mandrake 8.2
> 
> Using the default config that the installer installed in my /boot directory, 
> i did make oldconfig, then make dep.  make bzImage works fine, but as soon 
> as i do make modules, I get the following errors:
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-6mdk-rtl/include  -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-common -fomit-frame-pointer 
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS 
> -include /usr/src/linux-2.4.18-6mdk-rtl/include/linux/modversions.h  
> -DKBUILD_BASENAME=loop  -DEXPORT_SYMTAB -c loop.c
> In file included from 
> /usr/src/linux-2.4.18-6mdk-rtl/include/linux/prefetch.h:13,
>                  from /usr/src/linux-2.4.18-6mdk-rtl/include/linux/list.h:6,
>                  from 
> /usr/src/linux-2.4.18-6mdk-rtl/include/linux/module.h:12,                  
> <etc...>


-- 
Unix fun:

$ cat "food in can"
cat: cannot open food in can



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

Reply via email to