Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129247 - sys-apps/apmd-3.2.2_p5 compile error `BITS_PER_LONG' undeclared
Summary: sys-apps/apmd-3.2.2_p5 compile error `BITS_PER_LONG' undeclared
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-08 08:09 UTC by Neil Nelson
Modified: 2006-04-08 08:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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