Hi!

I use to recompile the kernel source from the mdk.src.rpm ,
What version of gcc are you using??
In Mandrake 8.1 I had to use the version 2.96, I have errors in the modules
when I use the version 3.0 of the kernel. After I remove all the packages 
referring to gcc3.0 all works ok. I don't use rpm --rebuild..... 
First I install the mdk.src.rpm..... and then make a
rpm -ba /usr/src/....SPECS/kernel.spec  (or something like that)
and modified the .spec to compile only the kernel I want( the .spec builds a 
bunch of different kernels, enterprise, secure, up, smp etc - try to check 
the spec - ).
I dont know howto to recompile only one of the kernels.

Excuse my bad english.... 

ALF

  
El Lun 15 Abr 2002 05:54, escribiste:
> I tried  rpm --rebuild /home/dmc/kernel-2.4.18.6mdk-1-1mdk.src.rpm
>
> and after half an hour, got this
>
> /usr/bin/gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include  -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
> -DMODULE -DMODVERSIONS -include
> /usr/src/RPM/BUILD/linux/include/linux/modversions.h
> -DKBUILD_BASENAME=cache  -c -o cache.o cache.c
> /usr/bin/gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include  -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
> -DMODULE -DMODVERSIONS -include
> /usr/src/RPM/BUILD/linux/include/linux/modversions.h
> -DKBUILD_BASENAME=journal  -c -o journal.o journal.c
> In file included from /usr/src/RPM/BUILD/linux/include/asm/semaphore.h:39,
>                  from /usr/src/RPM/BUILD/linux/include/linux/fs.h:215,
>                  from journal.c:11:
> /usr/src/RPM/BUILD/linux/include/asm/system.h:203: parse error before
> `volatime'
> /usr/src/RPM/BUILD/linux/include/asm/system.h:204: warning: function
> declaration isn't a prototype
> /usr/src/RPM/BUILD/linux/include/asm/system.h: In function `__xchg':
> /usr/src/RPM/BUILD/linux/include/asm/system.h:205: `size' undeclared
> (first use in this function)
> /usr/src/RPM/BUILD/linux/include/asm/system.h:205: (Each undeclared
> identifier is reported only once
> ...
> ...
> ...

----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="message.footer"
Content-Transfer-Encoding: 8bit
Content-Description: 
----------------------------------------

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

Reply via email to