1 |
Hi! |
2 |
|
3 |
I'm stuck again. I guess I tried more than 20 times to run stage 2 |
4 |
with a current portage snapshot. No luck so far. I tried at least |
5 |
5 kernel versions, 2 processor types and lots of spec file variants. |
6 |
|
7 |
Using udev, klibc fails with 2 missing header files: |
8 |
================================= |
9 |
* udev: >> Compiling... |
10 |
COMMAND: make j1 KERNEL_DIR=/usr/src/linux USE_KLIBC=true USE_LOG=false |
11 |
DEBUG=false udevdir=/dev all etc/udev/udev.conf |
12 |
In file included from ../linux/include/linux/compiler.h:44, |
13 |
from ../linux/include/linux/stddef.h:4, |
14 |
from ../linux/include/linux/posix_types.h:4, |
15 |
from ../include/sys/types.h:16, |
16 |
from ../include/unistd.h:11, |
17 |
from ../include/stdio.h:11, |
18 |
from vsnprintf.c:13: |
19 |
../linux/include/linux/compiler-gcc3.h:22:1: warning: "__attribute_pure__" |
20 |
redefined |
21 |
In file included from ../include/unistd.h:9, |
22 |
from ../include/stdio.h:11, |
23 |
from vsnprintf.c:13: |
24 |
../include/klibc/compiler.h:77:1: warning: this is the location of the |
25 |
previous definition |
26 |
In file included from ../linux/include/linux/compiler.h:44, |
27 |
from ../linux/include/linux/stddef.h:4, |
28 |
from ../linux/include/linux/posix_types.h:4, |
29 |
from ../include/sys/types.h:16, |
30 |
from ../include/unistd.h:11, |
31 |
from ../include/stdio.h:11, |
32 |
from vsnprintf.c:13: |
33 |
../linux/include/linux/compiler-gcc3.h:23:1: warning: "__attribute_const__" |
34 |
redefined |
35 |
In file included from ../include/unistd.h:9, |
36 |
from ../include/stdio.h:11, |
37 |
from vsnprintf.c:13: |
38 |
../include/klibc/compiler.h:60:1: warning: this is the location of the |
39 |
previous definition |
40 |
In file included from ../include/sys/types.h:16, |
41 |
from ../include/unistd.h:11, |
42 |
from ../include/stdio.h:11, |
43 |
from vsnprintf.c:13: |
44 |
../linux/include/linux/posix_types.h:47:29: asm/posix_types.h: No such file |
45 |
or directory |
46 |
In file included from ../include/unistd.h:11, |
47 |
from ../include/stdio.h:11, |
48 |
from vsnprintf.c:13: |
49 |
../include/sys/types.h:18:23: asm/types.h: No such file or directory |
50 |
In file included from ../include/unistd.h:11, |
51 |
from ../include/stdio.h:11, |
52 |
from vsnprintf.c:13: |
53 |
../include/sys/types.h:25: error: parse error before "ino_t" |
54 |
../include/sys/types.h:25: warning: type defaults to `int' in declaration of |
55 |
`ino_t' |
56 |
../include/sys/types.h:25: warning: data definition has no type or storage |
57 |
class |
58 |
../include/sys/types.h:26: error: parse error before "mode_t" |
59 |
../include/sys/types.h:26: warning: type defaults to `int' in declaration of |
60 |
`mode_t' |
61 |
../include/sys/types.h:26: warning: data definition has no type or storage |
62 |
class |
63 |
../include/sys/types.h:27: error: parse error before "nlink_t" |
64 |
<snipped many more errors> |
65 |
================================= |
66 |
I guess the problem here is, that some directory is missing in the |
67 |
include directory list, and so the compiler cannot find types.h and |
68 |
posix_types.h. |
69 |
I searched google and the gentoo forums with no luck so far. |
70 |
|
71 |
The other variant would be to use devfs again. Genkernel then fails, |
72 |
because it could not copy the image for the minimum kernel package |
73 |
(no clue why yet). |
74 |
|
75 |
Thanks for any hint, |
76 |
Andreas |
77 |
|
78 |
-- |
79 |
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail |
80 |
+++ GMX - die erste Adresse für Mail, Message, More +++ |
81 |
-- |
82 |
gentoo-catalyst@g.o mailing list |