Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129247

Summary: sys-apps/apmd-3.2.2_p5 compile error `BITS_PER_LONG' undeclared
Product: Gentoo Linux Reporter: Neil Nelson <xxx>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Neil Nelson 2006-04-08 08:09:38 UTC
Running gcc version 3.4.6, linux-2.6.16-ck1

libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib -version-info 1:0 
In file included from /usr/src/linux/include/linux/interrupt.h:8,
                 from /usr/src/linux/include/linux/rtc.h:14,
                 from apmsleep.c:47:
/usr/src/linux/include/linux/bitops.h: In function `generic_fls64':
/usr/src/linux/include/linux/bitops.h:84: warning: implicit declaration of function `fls'
In file included from /usr/src/linux/include/linux/cpumask.h:86,
                 from /usr/src/linux/include/linux/interrupt.h:10,
                 from /usr/src/linux/include/linux/rtc.h:14,
                 from apmsleep.c:47:
/usr/src/linux/include/linux/bitmap.h: In function `bitmap_zero':
/usr/src/linux/include/linux/bitmap.h:125: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/src/linux/include/linux/bitmap.h:125: error: (Each undeclared identifier is reported only once
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-08 08:13:47 UTC
ck-sources is not a supported kernel. Please reopen if you are able to reproduce the issue with a supported one.

http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2