on FC4 kernel compilation failed -- Where does the 'BITS_PER_BYTE" defined?

Robinson Tiemuqinke hahaha_30k at yahoo.com
Sun Mar 5 11:09:27 UTC 2006


Hi,

 I googled the patch and would like to sharethe link
with newbies.

http://www.gossamer-threads.com/lists/linux/kernel/624861?nohighlight=1#624861

Thanks.



--- Robinson Tiemuqinke <hahaha_30k at yahoo.com> wrote:

> Hi,
> 
>  I'm still compiling vanilla 2.6.15.5 kernel on FC4
> now, I selected all my options and begin compile but
> it fails with error messages attached -- It could
> not
> find 'BITS_PER_BYTE' defined in any header files. I
> searched the kernel tree and /usr/include/ tree on
> my
> FC4 box but could not find the constant definition
> neither.
> 
>  I;m using glibc 2.3.5-10.3, gcc 4.0.2-8.fc4.
> running
> kernel is FC4 stock kernel 2.6.15-1.1831_FC4smp.
> 
>  Please help. Thanks.
> 
> CC      mm/mempolicy.o
> /0/linux-2.6.15.5/mm/mempolicy.c: In function
> get_nodes:
> /0/linux-2.6.15.5/mm/mempolicy.c:527: error:
> BITS_PER_BYTE undeclared (first use in this
> function)
> /0/linux-2.6.15.5/mm/mempolicy.c:527: error: (Each
> undeclared identifier is reported only once
> /0/linux-2.6.15.5/mm/mempolicy.c:527: error: for
> each
> function it appears in.)
> make[2]: *** [mm/mempolicy.o] Error 1
> make[1]: *** [mm] Error 2
> make: *** [_all] Error 2
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the fedora-list mailing list