1 |
Hi there |
2 |
|
3 |
I am trying to build a minimal system for my 128MB USB stick, based on uclibc. |
4 |
I’m in the process of rebuilding system after upgrading gcc from 4.1 to 4.3. |
5 |
|
6 |
During the upgrade, linux-headers was updated from 2.6.23-r3 to 2.6.30-r1. |
7 |
After such an update, the c library needs to be rebuilt against the new |
8 |
headers, so much I could find out myself. However, it fails here, and I can’t |
9 |
find anything helpful for the case of using uclibc. |
10 |
|
11 |
It brings the same errors as many other packages: |
12 |
|
13 |
make[3]: Entering directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r8/work/uClibc-0.9.28.3/libc/misc/syslog' |
14 |
i386-gentoo-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../include -I. -mpreferred-stack- |
15 |
boundary=2 -falign-jumps=0 -falign-loops=0 -Os -funit-at-a-time -iwithprefix include-fixed -iwithprefix include -DNDEBUG -fPIC -c syslog.c -o syslog.o |
16 |
In file included from ../../../include/asm/posix_types.h:2, |
17 |
from ../../../include/linux/posix_types.h:47, |
18 |
from ../../../include/linux/types.h:9, |
19 |
from ../../../include/asm/sigcontext.h:5, |
20 |
from ../../../include/bits/sigcontext.h:28, |
21 |
from ../../../include/signal.h:309, |
22 |
from ../../../include/sys/signal.h:1, |
23 |
from syslog.c:67: |
24 |
../../../include/asm/posix_types_32.h:10: error: redefinition of typedef '__kernel_ino_t' |
25 |
../../../include/bits/kernel_types.h:15: error: previous declaration of '__kernel_ino_t' was here |
26 |
../../../include/asm/posix_types_32.h:11: error: redefinition of typedef '__kernel_mode_t' |
27 |
../../../include/bits/kernel_types.h:16: error: previous declaration of '__kernel_mode_t' was here |
28 |
../../../include/asm/posix_types_32.h:12: error: redefinition of typedef '__kernel_nlink_t' |
29 |
|
30 |
and loads more of the same kind. |
31 |
|
32 |
What is the correct way to handle this? At the moment I’m circumventing that |
33 |
problem my manually masking >linux-headers-2.6.23-r3. |
34 |
-- |
35 |
Gruß | Greetings | Qapla' |
36 |
Light travels faster than sound. This is why some |
37 |
people appear bright until you hear them speak... |