kioslave/media compile error

Kévin Ottens ervin at ipsquad.net
Sat Dec 18 17:11:16 GMT 2004


Le Samedi 18 Décembre 2004 17:48, Martin Koller a écrit :
> Any ideas here ? (Using gcc (GCC) 3.2.3, kernel 2.4.22)
> [...]
> In file included from /usr/include/linux/cdrom.h:14,
>                  from linuxcdpolling.cpp:32:
> /usr/include/asm/byteorder.h:38: syntax error before `(' token
> /usr/include/asm/byteorder.h:42: '__u64' is used as a type, but is not
> defined as a type.
> [...]

I found this in asm/types.h :

#if defined(__GNUC__)
__extension__ typedef __signed__ long long __s64;
__extension__ typedef unsigned long long __u64;
#endif

Since we're compiling using g++, anybody knows if __GNUC__ is defined?
Maybe that's related...

Using gcc (GCC) 3.3.4 and kernel 2.6.7 it compiles fine...

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."




More information about the kde-core-devel mailing list