Le 05/05/2001 à 19:22 Russell Cattelan a écrit :
>linux wrote:
>
>Mandrake 8.0 has kgcc, you need to use it.
ok, one person says to
Uncomment
CC = $(CROSS_COMPILE)gcc -V egcs-2.91.66
and comment
CC = $(CROSS_COMPILE)kgcc
so i start again :
i have a mandrake 8.0 linux box
and there was no kgcc on it
so i installed egcs 1.1.2-44mdk
and now i have kgcc in /usr/bin
and i started with a fresh kernel 2.4.3 downloaded from kernel.org
i applied the two recommended patches :
linux-2.4-xfs-1.0.patch
linux-2.4.3-core-xfs-1.0.patch
and choose the two kernel option (built in kernel)
i do a make dep
and the make bzImage fails :
[root@bretagne linux-xfs]# make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include
scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
kgcc -D__KERNEL__ -I/usr/src/linux-xfs/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686
-malign-functions=4 -c -o init/main.o init/main.c
<command line>: warning: "cpu" re-asserted
<command line>: warning: "machine" re-asserted
In file included from /usr/src/linux-xfs/include/linux/kernel.h:10,
from /usr/src/linux-xfs/include/linux/wait.h:13,
from /usr/src/linux-xfs/include/linux/fs.h:12,
from /usr/src/linux-xfs/include/linux/capability.h:17,
from /usr/src/linux-xfs/include/linux/binfmts.h:5,
from /usr/src/linux-xfs/include/linux/sched.h:9,
from /usr/src/linux-xfs/include/linux/mm.h:4,
from /usr/src/linux-xfs/include/linux/slab.h:14,
from /usr/src/linux-xfs/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:43: parse error
before `__gnuc_va_list'
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:43: warning: data
definition has no type or storage class
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:110: parse error
before `va_list'
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:110: warning: data
definition has no type or storage class
In file included from /usr/src/linux-xfs/include/linux/wait.h:13,
from /usr/src/linux-xfs/include/linux/fs.h:12,
from /usr/src/linux-xfs/include/linux/capability.h:17,
from /usr/src/linux-xfs/include/linux/binfmts.h:5,
from /usr/src/linux-xfs/include/linux/sched.h:9,
from /usr/src/linux-xfs/include/linux/mm.h:4,
from /usr/src/linux-xfs/include/linux/slab.h:14,
from /usr/src/linux-xfs/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-xfs/include/linux/kernel.h:62: parse error before `va_list'
/usr/src/linux-xfs/include/linux/kernel.h:62: warning: function declaration
isn't a prototype
cpp: -lang-c: linker input file unused since linking not done
make: *** [init/main.o] Erreur 1
so what can i do, i don't understand what's going on
thanks for your help
@++
nico
|