2.6.23-rc4-mm1 net bitops compile error

2 messages, 2 authors, 2007-09-04 · open the first message on its own page

2.6.23-rc4-mm1 net bitops compile error

From: Adrian Bunk <bunk@kernel.org>
Date: 2007-09-02 09:14:26

defconfig fails with the following error on parisc:

<--  snip  -->

...
  CC      net/core/gen_estimator.o
In file included from include2/asm/bitops.h:111,
                 from /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/net/core/gen_estimator.c:18:
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/asm-generic/bitops/non-atomic.h: 
In function '__set_bit':
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/asm-generic/bitops/non-atomic.h:17: 
error: implicit declaration of function 'BIT_MASK'
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/asm-generic/bitops/non-atomic.h:18: 
error: implicit declaration of function 'BIT_WORD'
make[3]: *** [net/core/gen_estimator.o] Error 1

<--  snip  -->

Either #include <asm/bitops.h> must become forbidden and #error or the 
move of the #define's to include/linux/bitops.h reverted.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Re: 2.6.23-rc4-mm1 net bitops compile error

From: Jiri Slaby <hidden>
Date: 2007-09-04 17:52:20

Adrian Bunk napsal(a):
defconfig fails with the following error on parisc:

<--  snip  -->

...
  CC      net/core/gen_estimator.o
In file included from include2/asm/bitops.h:111,
                 from /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/net/core/gen_estimator.c:18:
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/asm-generic/bitops/non-atomic.h: 
In function '__set_bit':
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/asm-generic/bitops/non-atomic.h:17: 
error: implicit declaration of function 'BIT_MASK'
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/asm-generic/bitops/non-atomic.h:18: 
error: implicit declaration of function 'BIT_WORD'
make[3]: *** [net/core/gen_estimator.o] Error 1

<--  snip  -->

Either #include <asm/bitops.h> must become forbidden and #error or the 
move of the #define's to include/linux/bitops.h reverted.
Just to let you know, that I'm working on the former.

thanks,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help