FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-03-2010, 04:54 AM
Frank Steinmetzger
 
Default emerge uclibc fails after upgrade of linux-headers

Hi there

I am trying to build a minimal system for my 128MB USB stick, based on uclibc.
I’m in the process of rebuilding system after upgrading gcc from 4.1 to 4.3.

During the upgrade, linux-headers was updated from 2.6.23-r3 to 2.6.30-r1.
After such an update, the c library needs to be rebuilt against the new
headers, so much I could find out myself. However, it fails here, and I can’t
find anything helpful for the case of using uclibc.

It brings the same errors as many other packages:

make[3]: Entering directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r8/work/uClibc-0.9.28.3/libc/misc/syslog'
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-
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
In file included from ../../../include/asm/posix_types.h:2,
from ../../../include/linux/posix_types.h:47,
from ../../../include/linux/types.h:9,
from ../../../include/asm/sigcontext.h:5,
from ../../../include/bits/sigcontext.h:28,
from ../../../include/signal.h:309,
from ../../../include/sys/signal.h:1,
from syslog.c:67:
../../../include/asm/posix_types_32.h:10: error: redefinition of typedef '__kernel_ino_t'
../../../include/bits/kernel_types.h:15: error: previous declaration of '__kernel_ino_t' was here
../../../include/asm/posix_types_32.h:11: error: redefinition of typedef '__kernel_mode_t'
../../../include/bits/kernel_types.h:16: error: previous declaration of '__kernel_mode_t' was here
../../../include/asm/posix_types_32.h:12: error: redefinition of typedef '__kernel_nlink_t'

and loads more of the same kind.

What is the correct way to handle this? At the moment I’m circumventing that
problem my manually masking >linux-headers-2.6.23-r3.
--
Gruß | Greetings | Qapla'
Light travels faster than sound. This is why some
people appear bright until you hear them speak...
 

Thread Tools




All times are GMT. The time now is 11:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org