On Tuesday 25 November 2003 13:03, gabriel wrote:
> /usr/include/asm/byteorder.h:38: error: syntax error before "__u64"

That's the error. At line 38 in this file, I found:

static inline __u64 ___arch__swab64(__u64 val)

I'm no C expert but I believe that to most compilers inline and __inline and 
__inline__ mean exactly the same thing. What gcc version are you running?

I ran the following to check what package owns this file:

bash-2.05b$ cd /var/db/pkg/
bash-2.05b$ grep /usr/include/asm/byteorder.h `find * | grep CONTENTS`
sys-kernel/linux-headers-2.4.19/CONTENTS:obj /usr/include/asm/byteorder.h 
394f687dddb66b9d0652e1c037723093 1049845989
sys-kernel/linux-headers-2.4.21-r1/CONTENTS:obj /usr/include/asm/byteorder.h 
d949a158827cff68d1a92e227a05eadf 1069041753

It's a bit worrying that two packages (on my system) "own" the same file. 
Which linux-headers are you running? If you find several, try unmerging them 
all and then re-emerging the latest.

That's about all the help I can provide at the moment. Hopefully it is enough.

Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to