[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    compile error in kdemultimedia/mpeglib/lib/input
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2004-05-29 19:35:15
Message-ID: 200405292135.19529.m.koller () surfeu ! at
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

With the current CVS I get the following on Linux Kernel 2.4.22 with 
gcc-3.2.3:

In file included from /usr/include/linux/cdrom.h:14,
                 from cdromAccess_Linux.cpp:17,
                 from cdromAccess.cpp:33:
/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.
/usr/include/asm/byteorder.h:43: syntax error before `}' token

It seems that the check for __u64 does not work correctly.
I don't know the correct solution, but if I use the following
where I commented the LINUX_VERSION... stuff, it works.

  #ifndef __u64
  //#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
  typedef unsigned long long __u64;
  //#endif
  #endif
  #include "cdromAccess_Linux.cpp"

- -- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

       Some operating systems are called 'user friendly',
             Linux however is 'expert friendly'.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAuOX3HmdPoI37D4YRAqySAJ4pXK44krTDVG/yM9xvEPj0oiY9hgCfcTCw
Ifgwd3mnF6+FuRHpOjO6B1U=
=bnPS
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic