asm/bitops.h not included in linux-libc-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.20 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-source-2.6.20
spotter@
gcc -Wall -O3 -fomit-
tree.c:24:1: warning: "__always_inline" redefined
In file included from /usr/include/
/usr/include/
tree.c:25:24: error: asm/bitops.h: No such file or directory
tree.c: In function ‘die_die_die’:
tree.c:440: warning: implicit declaration of function ‘test_and_set_bit’
tree.c: In function ‘s_db_timer’:
tree.c:471: warning: implicit declaration of function ‘clear_bit’
make: *** [tree.o] Error 1
yet
spotter@
/home/spotter/
/home/spotter/
/home/spotter/
/usr/src/
/usr/src/
so why isnt bitops.h not included in the linux-libc-dev package? (seems like a lot of headers were left out)
It's not included because only the parts needed for libc6-dev are there. Anything else is non-standard, and non-portable, so doesn't belong.
Programs that rely on these non-standard headers really are doing the wrong thing.