kioslave/media compile error

Thiago Macieira thiago.macieira at kdemail.net
Sat Dec 18 17:16:48 GMT 2004


Kévin Ottens wrote:
>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...

It is.

But maybe asm/types.h isn't being included, or it's inside an #ifdef 
KERNEL.

Fact is, this is not a KDE problem. The problems are in the kernel headers 
being used. Fix them.

-- 
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

2. Tó cennan his weorc gearu, ymbe se circolwyrde, wearð se cægbord and se 
leohtspeccabord, and þa mýs cómon lator. On þone dæg, he hine reste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041218/85eaaf7a/attachment.sig>


More information about the kde-core-devel mailing list