kernel headers

Issues related to software problems
Post Reply
IronHide
Posts: 2
Joined: 2009/12/10 12:12:05

kernel headers

Post by IronHide » 2009/12/10 14:06:03

hi all,

i have an issue on Redhat Enterprise Linux 4. the problem seems to be in kernel headers; hence i am posting here...

the project i am trying to build uses the [b]__le32[/b] type. it should be defined in linux/types.h but it isn't. do i need to update my kernel headers?

following is some information which maybe relevant...

[b]rpm -qa 'kerne*'[/b]
kernel-smp-2.6.9-89.EL
kernel-hugemem-devel-2.6.9-89.EL
kernel-smp-devel-2.6.9-89.EL
kernel-2.6.9-89.EL
kernel-devel-2.6.9-89.EL
kernel-xenU-devel-2.6.9-89.EL
kernel-utils-2.4-18.el4

[b]rpm -qf /usr/include/linux/[/b]
glibc-kernheaders-2.4-9.1.103.EL

thanks in advance!

User avatar
toracat
Forum Moderator
Posts: 7386
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

kernel headers

Post by toracat » 2009/12/10 16:35:33

Looks like __le32 is defined in /usr/src/kernels/`uname -r`/include/linux/types.h but not in /usr/include/linux/types.h under CentOS-4. In CentOS-5, however, __le32 is defined in the latter types.h as well. Not sure if you can just add a line to the current linux/types.h in CentOS-4 and get it to work. Maybe worth a try?

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: kernel headers

Post by AlanBartlett » 2009/12/10 16:56:58

[quote]
Not sure if you can just add a line to the current linux/types.h in CentOS-4 and get it to work. Maybe worth a try?
[/quote]
It would certainly be worth the experiment. ;-)

Post Reply

Return to “CentOS 4 - Software Support”