[klibc] syntax problem with 2.6.3-rc3

Jon Smirl jonsmirl at yahoo.com
Tue Feb 10 18:00:16 PST 2004


The inet stuff is including, asm/byteorder.h

It has some inlines like this:

static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val)

I think I'm choking on the __attribue_const__

Do we need an include of linux/compiler.h somewhere?

../linux/include/asm/byteorder.h:28: error: syntax error before "__u64"compiling
inet_ntoa.c (gcc)../linux/include/asm/byteorder.h:14: error: syntax error before
"__u32"../linux/include/asm/byteorder.h:28: error: syntax error before
"__u64"../linux/include/linux/byteorder/swab.h:133: error: syntax error before
"__u16"../linux/include/linux/byteorder/swab.h:146: error: syntax error before
"__u32"../linux/include/linux/byteorder/swab.h:160: error: syntax error before
"__u64"compiling inet_aton.c (gcc)../linux/include/asm/byteorder.h:14: error:
syntax error before "__u32"../linux/include/asm/byteorder.h:28: error: syntax
error before "__u64"../linux/include/linux/byteorder/swab.h:133: error: syntax
error before "__u16"../linux/include/linux/byteorder/swab.h:146: error: syntax
error before "__u32"../linux/include/linux/byteorder/swab.h:160: error: syntax
error before "__u64"compiling inet_addr.c
(gcc)../linux/include/asm/byteorder.h:14: error: syntax error before
"__u32"../linux/include/asm/byteorder.h:28: error: syntax error before
"__u64"../linux/include/linux/byteorder/swab.h:133: error: syntax error before
"__u16"../linux/include/linux/byteorder/swab.h:146: error: syntax error before
"__u32"../linux/include/linux/byteorder/swab.h:160: error: syntax error before
"__u64"compiling inet_ntop.c (gcc)compiling inet_pton.c
(gcc)../linux/include/asm/byteorder.h:14: error: syntax error before
"__u32"../linux/include/asm/byteorder.h:28: error: syntax error before
"__u64"../linux/include/linux/byteorder/swab.h:133: error: syntax error before
"__u16"../linux/include/linux/byteorder/swab.h:146: error: syntax error before
"__u32"../linux/include/linux/byteorder/swab.h:160: error: syntax error before
"__u64"compiling bindresvport.c (gcc)compiling send.c
(gcc)../linux/include/asm/byteorder.h:14: error: syntax error before
"__u32"../linux/include/asm/byteorder.h:28: error: syntax error before
"__u64"../linux/include/linux/byteorder/swab.h:133: error: syntax error before
"__u16"../linux/include/linux/byteorder/swab.h:146: error: syntax error before
"__u32"../linux/include/linux/byteorder/swab.h:160: error: syntax error before
"__u64"compiling recv.c (gcc)../linux/include/asm/byteorder.h:14: error: syntax
error before "__u32"../linux/include/asm/byteorder.h:28: error: syntax error
before "__u64"../linux/include/linux/byteorder/swab.h:133: error: syntax error
before "__u16"../linux/include/linux/byteorder/swab.h:146: error: syntax error
before "__u32"../linux/include/linux/byteorder/swab.h:160: error: syntax error
before "__u64"compiling exits.S (gcc)

=====
Jon Smirl
jonsmirl at yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



More information about the klibc mailing list