kernel module compile question on Fedora 11/12

m.roth at 5-cent.us m.roth at 5-cent.us
Tue Nov 24 21:21:40 UTC 2009


>
> Using Fedora 11 with all the latest patches,
> I am trying to compile a simple kernel module.
> ( I also get the same error on Fedora 12 )
> This is a 64 bit machine.
>
> # uname -a
> Linux fedora-11a 2.6.30.9-96.fc11.x86_64 #1 SMP Wed Nov 4 00:02:04 EST
> 2009 x86_64 x86_64 x86_64 GNU/Linux
>
> When I compile, I get an error message that asm/bitops.h can not be found.

Does /usr/include/asm/bitops.h exist? If not, some source/header package
isn't installed.
>
> This compile worked fine on RedHat 5.4 and earlier ( but now I am trying
> Fedora... )
<snip>
> Can someone please point me in the right direction to
> determine why this worked on the stable stuff but not the bleeding edge
> stuff ?

Um, that's why it's called ->bleeding<- edge. I don't do bleeding edge at
home, since I do enough during the day that I don't want to have to debug
the o/s.

      mark




More information about the redhat-list mailing list