Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel headers wonky
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cca93014
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2002
Posts: 77
Location: London, UK

PostPosted: Sun Oct 17, 2004 12:34 pm    Post subject: Kernel headers wonky Reply with quote

Hi,

I have updated to kernel 2.6.7 (from 2.6.1), but am having trouble getting anything to compile. I think the headers are broken, but I am not quite sure.

I have the following kernel emerged:
Code:
*  sys-kernel/development-sources
      Latest version available: 2.6.8.1
      Latest version installed: 2.6.7
      Size of downloaded files: 34,793 kB
      Homepage:    http://www.kernel.org/
      Description: Full sources for the vanilla 2.6 kernel tree
      License:     GPL-2

and the following headers:
Code:
*  sys-kernel/linux26-headers
      Latest version available: 2.6.8.1
      Latest version installed: 2.6.7-r4
      Size of downloaded files: 34,793 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Linux 2.6.8.1 headers from kernel.org
      License:     GPL-2

trying to
Code:
emerge glibc

results in
Code:
In file included from /usr/include/linux/bitops.h:4,
                 from /usr/include/asm/cpufeature.h:10,
                 from /usr/include/asm/processor.h:18,
                 from /usr/include/linux/prefetch.h:14,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/sysctl.h:23,
                 from ../sysdeps/unix/sysv/linux/sys/sysctl.h:28,
                 from ../include/sys/sysctl.h:2,
                 from ../sysdeps/unix/sysv/linux/dl-osinfo.h:21,
                 from ../sysdeps/unix/sysv/linux/init-first.c:33:
/usr/include/asm/bitops.h:412: conflicting types for `__ffs'
../include/string.h:43: previous declaration of `__ffs'
make[2]: *** [/var/tmp/portage/glibc-2.2.5-r9/work/glibc-2.2.5/buildhere/csu/init-first.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r9/work/glibc-2.2.5/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r9/work/glibc-2.2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.2.5-r9 failed.
!!! Function src_compile, Line 248, Exitcode 2
!!! (no error message)

I've no idea where to go from here. Any help?
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Sun Oct 17, 2004 4:51 pm    Post subject: Reply with quote

I did once read that your glibc version won't support linux26-headers correctly - not sure about that. Anyway, I have linux26-headers-2.6.8.1-r1 and glibc-2.3.4 installed and it works flawlessly.

Tom
Back to top
View user's profile Send private message
malv
n00b
n00b


Joined: 07 Jul 2004
Posts: 69

PostPosted: Sun Oct 17, 2004 5:43 pm    Post subject: Reply with quote

elektrohirn,

Allow me to break in. I have 2.6.8.r6 installed but I still use the 'linux-headers' which are reputed to redirect to the linux26-headers.
How did you come to the linux26-headers? Do I have to uninstall the linux-headers first and then emerge the linux26-headers or will an emerge-upgrade do the trick?

Thank you,
malv
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Sun Oct 17, 2004 6:01 pm    Post subject: Reply with quote

I think (not sure though) that linux-headers block linux26-headers, so what I did was:

unmerge linux-headers
emerge linux26-headers
remerge glibc as advised by the linux26-headers ebuild

This works fine for me, though I don't see any difference/improvements, but I generally like to be p-to-date :-)

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum