yannouch n00b
Joined: 26 Sep 2002 Posts: 32 Location: Lyon, FRANCE
|
Posted: Thu Sep 26, 2002 7:43 am Post subject: Problem compiling the kernel after upgrading to 1.4 |
|
|
Hi
I've just upgraded my gentoo from 1.2 to 1.4 whith update scripts. All worked fine (except the emerge of perl5.6, but that's not the problem). GCC 3.2 works fine.
I've upgraded kernel sources to 2.4.19-gentoo-r9, but I can't compile it.
it says:
make[2]: Entering directory `/usr/src/linux-2.4.19-gentoo-r9/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r9/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.19-gentoo-r9/include/linux/modversions.h -nostdinc -DKBUILD_BASENAME=loop -DEXPORT_SYMTAB -c loop.c
In file included from /usr/src/linux-2.4.19-gentoo-r9/include/linux/wait.h:13,
from /usr/src/linux-2.4.19-gentoo-r9/include/linux/fs.h:12,
from /usr/src/linux-2.4.19-gentoo-r9/include/linux/capability.h:17,
from /usr/src/linux-2.4.19-gentoo-r9/include/linux/binfmts.h:6,
from /usr/src/linux-2.4.19-gentoo-r9/include/linux/sched.h:10,
from loop.c:72:
/usr/src/linux-2.4.19-gentoo-r9/include/linux/kernel.h:10:20: stdarg.h: No such file or directory
**** Error
(these messages are translated from french console output, so they may not be exactly what you could have)
So, stdargs.h is not found. If I `locate stdargs.h`, I get
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdarg.h
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdarg.h
What's wrong? Any idea?
Thanks |
|