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

List:       kde-linux
Subject:    [kde-linux] kdemultimedia-3.3.0/.../cdromAccess.cpp problem
From:       Bernt Christandl <beb () MPA-Garching ! MPG ! DE>
Date:       2004-09-14 15:25:35
Message-ID: 200409141525.RAA40178 () ibm-4 ! MPA-Garching ! MPG ! DE
[Download RAW message or body]


Hello,

i'm trying to compile kde-3.3 for my linuxbox running kde-3.2.3
( gcc-3.3.2, qt-3.3.2, xfree86-4.4.0, kernel-2.4.26 )

For the "basics" (arts, libs, base, multimedia) anything went well
with one exception:

The compilation of kdemultimedia-3.3.0/mpeglib/lib/input/cdromAccess.cpp
failed with an error (see below). Then, i tried the same compilation
command without the "-ansi" flag and it compiled fine.

eh..., what kind of problem do i have (if any, aside from understanding
c/c++ code :)?

With regards,

Bernt Christandl

------------------------------

Error-Output:

Making install in input
make[3]: Entering directory `.../kdemultimedia-3.3.0/mpeglib/lib/input'
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/appl/kde-3.3/include 
-I/usr/local/appl/qt-x11-free-3.3.2/include -I/usr/local/appl/X11R6-4.4.0/inclu
de   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long 
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -fpermissive -MT cdromAccess.lo -MD -MP -MF 
".deps/cdromAccess.Tpo" -c -o cdromAccess.lo cdromAccess.cpp; \
then mv -f ".deps/cdromAccess.Tpo" ".deps/cdromAccess.Plo"; else rm -f 
".deps/cdromAccess.Tpo"; exit 1; fi
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: 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:
/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
make[3]: *** [cdromAccess.lo] Error 1


___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

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