Hi!
I'm stuck again. I guess I tried more than 20 times to run stage 2
with a current portage snapshot. No luck so far. I tried at least
5 kernel versions, 2 processor types and lots of spec file variants.
Using udev, klibc fails with 2 missing header files:
=================================
* udev: >> Compiling...
COMMAND: make j1 KERNEL_DIR=/usr/src/linux USE_KLIBC=true USE_LOG=false
DEBUG=false udevdir=/dev all etc/udev/udev.conf
In file included from ../linux/include/linux/compiler.h:44,
from ../linux/include/linux/stddef.h:4,
from ../linux/include/linux/posix_types.h:4,
from ../include/sys/types.h:16,
from ../include/unistd.h:11,
from ../include/stdio.h:11,
from vsnprintf.c:13:
../linux/include/linux/compiler-gcc3.h:22:1: warning: "__attribute_pure__"
redefined
In file included from ../include/unistd.h:9,
from ../include/stdio.h:11,
from vsnprintf.c:13:
../include/klibc/compiler.h:77:1: warning: this is the location of the
previous definition
In file included from ../linux/include/linux/compiler.h:44,
from ../linux/include/linux/stddef.h:4,
from ../linux/include/linux/posix_types.h:4,
from ../include/sys/types.h:16,
from ../include/unistd.h:11,
from ../include/stdio.h:11,
from vsnprintf.c:13:
../linux/include/linux/compiler-gcc3.h:23:1: warning: "__attribute_const__"
redefined
In file included from ../include/unistd.h:9,
from ../include/stdio.h:11,
from vsnprintf.c:13:
../include/klibc/compiler.h:60:1: warning: this is the location of the
previous definition
In file included from ../include/sys/types.h:16,
from ../include/unistd.h:11,
from ../include/stdio.h:11,
from vsnprintf.c:13:
../linux/include/linux/posix_types.h:47:29: asm/posix_types.h: No such file
or directory
In file included from ../include/unistd.h:11,
from ../include/stdio.h:11,
from vsnprintf.c:13:
../include/sys/types.h:18:23: asm/types.h: No such file or directory
In file included from ../include/unistd.h:11,
from ../include/stdio.h:11,
from vsnprintf.c:13:
../include/sys/types.h:25: error: parse error before "ino_t"
../include/sys/types.h:25: warning: type defaults to `int' in declaration of
`ino_t'
../include/sys/types.h:25: warning: data definition has no type or storage
class
../include/sys/types.h:26: error: parse error before "mode_t"
../include/sys/types.h:26: warning: type defaults to `int' in declaration of
`mode_t'
../include/sys/types.h:26: warning: data definition has no type or storage
class
../include/sys/types.h:27: error: parse error before "nlink_t"
<snipped many more errors>
=================================
I guess the problem here is, that some directory is missing in the
include directory list, and so the compiler cannot find types.h and
posix_types.h.
I searched google and the gentoo forums with no luck so far.
The other variant would be to use devfs again. Genkernel then fails,
because it could not copy the image for the minimum kernel package
(no clue why yet).
Thanks for any hint,
Andreas
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
--
gentoo-catalyst@g.o mailing list
|