kdemultimedia 3.1.2

Mihai (Cop) Moldovanu mihaim at tfm.ro
Tue Jul 1 02:14:43 PDT 2003


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

On Friday 27 June 2003 11:06, you wrote:

I've fixed it like this:
there are 2 places where this error ocures :
cdconfigimp.cpp and plat_linux.c

the basic ideea is to include <asm/types.h>
and force _i386_BYTEORDER_H 
before including <linux/cdrom.h>

==========================================================================
diff -u --new-file --recursive 
kdemultimedia-3.1.2/kaudiocreator/cdconfigimp.cpp 
kdemultimedia-3.1.2-tfm/kaudiocreator/cdconfigimp.cpp
- --- kdemultimedia-3.1.2/kaudiocreator/cdconfigimp.cpp   2003-05-07 
14:46:47.000000000 +0300
+++ kdemultimedia-3.1.2-tfm/kaudiocreator/cdconfigimp.cpp       2003-06-24 
12:39:46.000000000 +0300
@@ -75,7 +75,11 @@
 {
 /* This is in support for the Mega Hack, if cdparanoia ever is fixed, or we
    use another ripping library we can remove this.  */
+#include <asm/types.h>
+#define _I386_BYTEORDER_H
 #include <linux/cdrom.h>
+#undef _I386_BYTEORDER_H
+
 #include <sys/ioctl.h>

 }
diff -u --new-file --recursive kdemultimedia-3.1.2/kscd/libwm/plat_linux.c 
kdemultimedia-3.1.2-tfm/kscd/libwm/plat_linux.c
- --- kdemultimedia-3.1.2/kscd/libwm/plat_linux.c 2003-05-07 14:46:52.000000000 
+0300
+++ kdemultimedia-3.1.2-tfm/kscd/libwm/plat_linux.c     2003-06-24 
12:38:40.000000000 +0300
@@ -62,7 +62,10 @@

 #include <sys/time.h>
 #include <sys/ioctl.h>
+#include <asm/types.h>
+#define _I386_BYTEORDER_H
 #include <linux/cdrom.h>
+#undef _I386_BYTEORDER_H

 #include "include/wm_cdda.h"
 #include "include/wm_struct.h"
diff -u --new-file --recursive 
kdemultimedia-3.1.2/mpeglib/lib/input/cdromAccess_Linux.cpp 
kdemultimedia-3.1.2-tfm/mpeglib/lib/input/cdromAccess_Linux.cpp
- --- kdemultimedia-3.1.2/mpeglib/lib/input/cdromAccess_Linux.cpp 2002-11-22 
23:52:54.000000000 +0200
+++ kdemultimedia-3.1.2-tfm/mpeglib/lib/input/cdromAccess_Linux.cpp     
2003-06-24 12:38:40.000000000 +0300
@@ -14,7 +14,10 @@
 #include "cdromToc.h"
 #include "cdromRawAccess.h"
 #include <sys/types.h>
+#include <asm/types.h>
+#define _I386_BYTEORDER_H
 #include <linux/cdrom.h>
+#undef _I386_BYTEORDER_H
 #include <sys/ioctl.h>

 #include <iostream>
========================================================================


> Hi all,
>
> I've got a problem when building kdemultimedia 3.1.2 package, it gave me
> the following error:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/kde-3.1/include -I/opt/qt/include
> -I/usr/X11R6/include  -static -Wall
> -DDATADIR=\"/opt/kde-3.1/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG
> -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST  -c -o kaudiocreator.all_cpp.o `test -f
> 'kaudiocreator.all_cpp.cpp' || echo './'`kaudiocreator.all_cpp.cpp
> In file included from /usr/include/linux/cdrom.h:14,
>                  from cdconfigimp.cpp:78,
>                  from kaudiocreator.all_cpp.cpp:6:
> /usr/include/asm/byteorder.h:38: syntax error before `(' token

 
- --
TFM Group Romania , Linux division
Mihai Moldovanu ( mihaim at tfm.ro). 
PGP ID: 0x3A8B616A on pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/AVEG4LnCdzqLYWoRAlSmAJ0c6dNCTYcpMe5tndN0z3yZrEt8ywCePpVG
T5897jjuhnEBat2JAwytVq8=
=18DH
-----END PGP SIGNATURE-----

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list