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

List:       kde-linux
Subject:    [kde-linux] kdemultimedia-3.2.1
From:       Jan Simonson <nytt () simonson ! se>
Date:       2004-03-23 23:09:38
Message-ID: 200403240009.38954.nytt () simonson ! se
[Download RAW message or body]

Hello,

My system is FC1, but updated to kernel 2.6.4 compiled on the same 
machine. I'm compiling qt and kde from source and now use qt 3.3.1 
and kde 3.2.1. All kde modules compile ok against the includes from 
2.6.4 except kdemultimedia. When starting the ./configure it issues 
the following warning:

checking linux/cdrom.h usability... no
checking linux/cdrom.h presence... yes
configure: WARNING: linux/cdrom.h: present but cannot be compiled
configure: WARNING: linux/cdrom.h: check for missing prerequisite 
headers?
configure: WARNING: linux/cdrom.h: proceeding with the preprocessor's 
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/cdrom.h... yes

However, the ./configure finishes and I can start make but after some 
work it breaks with:

if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/kde-3.2.1/include 
-I/usr/qt/include -I/usr/X11R6/include   -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  -MT cdromAccess.lo 
-MD -MP -MF ".deps/cdromAccess.Tpo" \
  -c -o cdromAccess.lo `test -f 'cdromAccess.cpp' || echo 
'./'`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:21,
                 from cdromAccess.cpp:36:
/usr/include/asm/byteorder.h:14: error: syntax error before 
`___arch__swab32'
/usr/include/asm/byteorder.h:28: error: syntax error before 
`___arch__swab64'
/usr/include/asm/byteorder.h:33: error: syntax error before `}' token
/usr/include/asm/byteorder.h:34: error: syntax error before `.' token
/usr/include/asm/byteorder.h:40: error: syntax error before `.' token
/usr/include/asm/byteorder.h:41: error: syntax error before `.' token
/usr/include/asm/byteorder.h:42: error: syntax error before `:' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
                 from /usr/include/asm/byteorder.h:57,
                 from /usr/include/linux/cdrom.h:14,
                 from cdromAccess_Linux.cpp:21,
                 from cdromAccess.cpp:36:
/usr/include/linux/byteorder/swab.h:133: error: syntax error before 
`__fswab16'
/usr/include/linux/byteorder/swab.h:135: error: syntax error before 
`)' token
/usr/include/linux/byteorder/swab.h:146: error: syntax error before 
`__fswab32'
/usr/include/linux/byteorder/swab.h: In function `__u32 
__swab32p(__u32*)':
/usr/include/linux/byteorder/swab.h:152: error: `___arch__swab32' 
undeclared
   (first use this function)
/usr/include/linux/byteorder/swab.h:152: error: (Each undeclared 
identifier is
   reported only once for each function it appears in.)
/usr/include/linux/byteorder/swab.h: In function `void 
__swab32s(__u32*)':
/usr/include/linux/byteorder/swab.h:156: error: `___arch__swab32' 
undeclared
   (first use this function)
/usr/include/linux/byteorder/swab.h: At global scope:
/usr/include/linux/byteorder/swab.h:160: error: syntax error before 
`__fswab64'
/usr/include/linux/byteorder/swab.h: In function `__u64 
__swab64p(__u64*)':
/usr/include/linux/byteorder/swab.h:172: error: `___arch__swab64' 
undeclared
   (first use this function)
/usr/include/linux/byteorder/swab.h: In function `void 
__swab64s(__u64*)':
/usr/include/linux/byteorder/swab.h:176: error: `___arch__swab64' 
undeclared
   (first use this function)
make[4]: *** [cdromAccess.lo] Error 1
make[4]: Leaving directory 
`/home/kde3/kdemultimedia-3.2.1/mpeglib/lib/input'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/kde3/kdemultimedia-3.2.1/mpeglib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kde3/kdemultimedia-3.2.1/mpeglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kde3/kdemultimedia-3.2.1'
make: *** [all] Error 2
[kde3@oden kdemultimedia-3.2.1]$

If I revert to the includes from 2.4.x all is well and kdemultimedia 
configures and makes OK. The multimedia programs also function ok 
together with the rest of kde compiled against 2.6.4. At least as far 
as I can tell.

Is this a bug or am I doing something wrong?

Best regards,
Jan
-- 
Jan Simonson
___________________________________________________
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