xfs
[Top] [All Lists]

Re: Problem compliling kernel

To: "Russell Cattelan" <cattelan@xxxxxxxxxxx>
Subject: Re: Problem compliling kernel
From: "linux" <dahouet@xxxxxxx>
Date: Sun, 06 May 2001 01:49:26 +0200
Cc: Andriy.Bilous@xxxxxxxxx, "Chmouel Boudjnah" <chmouel@xxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <3AF49931.EA6E1939@thebarn.com>
References: <Pine.LNX.4.21.0105052343370.1042-100000@bellapc.satama> <200105060100330924.019315D3@mail.gmx.de> <3AF49931.EA6E1939@thebarn.com>
Sender: owner-linux-xfs@xxxxxxxxxxx

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


<Prev in Thread] Current Thread [Next in Thread>