Hi!

I suspect that this is a bug in the kernel-headers on i386.  
On i386, compiling linux/kernel.h gives:

| [EMAIL PROTECTED]:/tmp/hwtools-0.8/irqtune# gcc -D__KERNEL__ 
/usr/include/linux/kernel.h  -o bla
| In file included from /usr/include/asm-generic/bitops/fls64.h:5,
|                  from /usr/include/asm-i486/bitops.h:408,
|                  from /usr/include/asm/bitops.h:8,
|                  from /usr/include/linux/bitops.h:9,
|                  from /usr/include/linux/kernel.h:15:
| /usr/include/asm-generic/bitops/fls.h:13: error: redefinition of 'fls'
| /usr/include/asm-i486/bitops.h:394: error: previous definition of 'fls' was 
here
| /usr/include/linux/kernel.h:114: error: expected declaration specifiers or 
'...' before 'size_t'
| /usr/include/linux/kernel.h:115: error: format string argument not a string 
type
| /usr/include/linux/kernel.h:115: warning: conflicting types for built-in 
function 'snprintf'
| /usr/include/linux/kernel.h:116: error: expected declaration specifiers or 
'...' before 'size_t'
| /usr/include/linux/kernel.h:117: warning: conflicting types for built-in 
function 'vsnprintf'
| /usr/include/linux/kernel.h:118: error: expected declaration specifiers or 
'...' before 'size_t'
| /usr/include/linux/kernel.h:119: error: format string argument not a string 
type
| /usr/include/linux/kernel.h:120: error: expected declaration specifiers or 
'...' before 'size_t'

which is exactly the bug encountered here.  On amd64, compiling the same
headers works perfectly.

This might also be related to #393039.

-- 
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED]             |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to