KDE Multimedia error

Bri bri at worldhq.force9.co.uk
Sat Oct 30 04:27:20 PDT 2004


Hi Punkie,

I got a similar-looking error with KDE Multimedia 3.3.0 and a 2.4.26  
kernel. I think there's something in the BLFS archives about it - try a  
search using "KDE Multimedia" and "byteorder.h".

The solution - which worked in my case - was to edit  
kdemultimedia-3.3.0/mpeglib/lib/input/cdromAccess_Linux.cpp. Basically,  
near the top of the file you should find this section, but lacking the  
four lines marked here as MISSING. Add those in and you should be okay.  
Please don't ask me why.

Regards,
Brian

#include "cdromToc.h"
#include "cdromRawAccess.h"
#ifndef __GNUC__ 			MISSING
#define __GNUC__ 1			MISSING
#endif					MISSING
#undef __STRICT_ANSI__		MISSING
#include <asm/types.h>
#include <linux/cdrom.h>
#include <sys/ioctl.h>


On Fri, 29 Oct 2004 17:30:20 -0000 (GMT), Punkie  
<Punkie at CyberPunksNation.org> wrote:

> Hello everyone,
>
> I am trying to compile KDE Multimedia 3.3.1 package, following the SVN
> instructions of BLFS. It ends up in an error:
>
>
> In file included from /usr/include/linux/cdrom.h:14,
>                  from cdromAccess_Linux.cpp:17,
>                  from cdromAccess.cpp:33,
>                  from libinput_la.all_cpp.cpp:10:
> /usr/include/asm/byteorder.h:38: error: syntax error before `(' token
> /usr/include/asm/byteorder.h:42: error: '__u64' is used as a type, but  
> is not
>    defined as a type.
> /usr/include/asm/byteorder.h:43: error: parse error before `}' token
> /usr/include/asm/byteorder.h:44: error: syntax error before `.' token
> /usr/include/asm/byteorder.h:50: error: syntax error before `.' token
> /usr/include/asm/byteorder.h:51: error: syntax error before `.' token
> /usr/include/asm/byteorder.h:52: error: parse error before `:' token
> In file included from /usr/include/linux/byteorder/little_endian.h:11,
>                  from /usr/include/asm/byteorder.h:65,
>                  from /usr/include/linux/cdrom.h:14,
>                  from cdromAccess_Linux.cpp:17,
>                  from cdromAccess.cpp:33,
>                  from libinput_la.all_cpp.cpp:10:
> /usr/include/linux/byteorder/swab.h:199: error: syntax error before `('  
> token
> /usr/include/linux/byteorder/swab.h:209: error: syntax error before `('  
> token
> /usr/include/linux/byteorder/swab.h:213: error: `__u64' was not declared  
> in
>    this scope
> /usr/include/linux/byteorder/swab.h:213: error: `addr' was not declared  
> in
> this
>    scope
> /usr/include/linux/byteorder/swab.h:214: error: variable or field  
> `__swab64s'
>    declared void
> /usr/include/linux/byteorder/swab.h:214: error: `__swab64s' declared as  
> an
>    `inline' variable
> /usr/include/linux/byteorder/swab.h:214: error: syntax error before `{'  
> token
> inputDetector.cpp:21: warning: `const char*filestrglobal1' defined but  
> not
> used
> inputDetector.cpp:22: warning: `const char*filestrglobal2' defined but  
> not
> used
> make[4]: *** [libinput_la.all_cpp.lo] Error 1
> make[4]: Leaving directory  
> `/usr/src/kdemultimedia-3.3.1/mpeglib/lib/input'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/src/kdemultimedia-3.3.1/mpeglib/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/kdemultimedia-3.3.1/mpeglib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/kdemultimedia-3.3.1'
> make: *** [all] Error 2
>
> I'm running kernel 2.6.9 now, but i'm not sure if that is the case -
> someone mentioned on IRC that it "seems like asm/types.h isn't being
> included for some reason".
>
> If anyone has an idea, I'm all ears.



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the blfs-support mailing list