problem building kdemultimedia-3.1.2

Chris Clayton chris at theclaytons.freeserve.co.uk
Wed May 21 19:47:26 BST 2003


Hi, I hope someone can help me.

I've downloaded kde 3.1.2 and everything has built OK except kdemultimedia 
which fails to build against kernels later than 2.4.21-pre5 (I've tried 
against 2.4.20, 2.4.21-pre5, 2.4.21-pre6 and 2.4.21-rc2 - with the first two 
the build is OK but, with the second two the build fails). The failure is 
while building kaudiocreator & the error message I get is:

Making all in kaudiocreator
make[2]: Entering directory 
`/home/chris/src/kde/kdemultimedia-3.1.2/kaudiocreator'
Making all in icons
make[3]: Entering directory 
`/home/chris/src/kde/kdemultimedia-3.1.2/kaudiocreator/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/home/chris/src/kde/kdemultimedia-3.1.2/kaudiocreator/icons'
make[3]: Entering directory 
`/home/chris/src/kde/kdemultimedia-3.1.2/kaudiocreator'
source='kaudiocreator.all_cpp.cpp' object='kaudiocreator.all_cpp.o' libtool=no 
\
depfile='.deps/kaudiocreator.all_cpp.Po' 
tmpdepfile='.deps/kaudiocreator.all_cpp.TPo' \
depmode=gcc /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/kde3.1/include 
-I/usr/lib/qt3.1/include -I/usr/X11R6/include  -I/usr/include
-static -Wall -DDATADIR=\"/opt/kde3.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 -O2 -mcpu=i386 -fno-strength-reduce
-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 cdconfigimp.cpp:67,
                 from kaudiocreator.all_cpp.cpp:6:
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
/usr/include/cdda_interface.h:172: warning: deprecated conversion from string 
constant to `char *'
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 `('
/usr/include/asm/byteorder.h:42: syntax error before `;'
/usr/include/asm/byteorder.h:44: syntax error before `.'
/usr/include/asm/byteorder.h:50: syntax error before `.'
/usr/include/asm/byteorder.h:51: syntax error before `.'
/usr/include/asm/byteorder.h:52: parse error before `:'
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 cdconfigimp.cpp:78,
                 from kaudiocreator.all_cpp.cpp:6:
/usr/include/linux/byteorder/swab.h: In function `const __u32 
__fswab24(unsigned int)':
/usr/include/linux/byteorder/swab.h:174: warning: ANSI C++ forbids 
braced-groups within expressions
/usr/include/linux/byteorder/swab.h:174: warning: ANSI C++ forbids 
braced-groups within expressions
/usr/include/linux/byteorder/swab.h: In function `__u32 __swab24p(__u32 *)':
/usr/include/linux/byteorder/swab.h:178: warning: ANSI C++ forbids 
braced-groups within expressions
/usr/include/linux/byteorder/swab.h:178: warning: ANSI C++ forbids 
braced-groups within expressions
/usr/include/linux/byteorder/swab.h: In function `void __swab24s(__u32 *)':
/usr/include/linux/byteorder/swab.h:182: warning: ANSI C++ forbids 
braced-groups within expressions
/usr/include/linux/byteorder/swab.h:182: warning: ANSI C++ forbids 
braced-groups within expressions
/usr/include/linux/byteorder/swab.h: At top level:
/usr/include/linux/byteorder/swab.h:199: syntax error before `('
/usr/include/linux/byteorder/swab.h:209: syntax error before `('
/usr/include/linux/byteorder/swab.h:213: `__u64' was not declared in this 
scope
/usr/include/linux/byteorder/swab.h:213: `addr' was not declared in this scope
/usr/include/linux/byteorder/swab.h:214: variable or field `__swab64s' 
declared void
/usr/include/linux/byteorder/swab.h:214: `__swab64s' declared as an `inline' 
variable
/usr/include/linux/byteorder/swab.h:214: syntax error before `{'
In file included from kaudiocreator.all_cpp.cpp:6:
cdconfigimp.cpp:81: parse error before `}'
In file included from kaudiocreator.all_cpp.cpp:9:
queconfigimp.cpp: In method `void QueConfigImp::addJob(Job *, QString)':
queconfigimp.cpp:59: warning: unused variable `class QueListViewItem * 
newItem'
In file included from kaudiocreator.all_cpp.cpp:11:
tracksconfigimp.cpp: In method `void TracksConfigImp::newSong(int, QString, 
int)':
tracksconfigimp.cpp:390: warning: unused variable `class QListViewItem * 
newItem'
make[3]: *** [kaudiocreator.all_cpp.o] Error 1
make[3]: Leaving directory 
`/home/chris/src/kde/kdemultimedia-3.1.2/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/chris/src/kde/kdemultimedia-3.1.2/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/src/kde/kdemultimedia-3.1.2'
make: *** [all] Error 2

This looks very similar to bugs 52669 in the KDE bug tracking system. That is 
marked as resolved but there doesn't seem to be a real answer as to how to 
get the application to build. 2.4.21 should be out soon, so "don't have the 
XFS patch in your kernel" doesn't seem to be an option. 

If there is unlikely to be a fix soon, I would be grateful for advice on how I 
can get the build system to ignore kaudiocreator, so that I can at least 
build the rest of kdemultimedia. I've had a hack at the various config.* and 
subdirs files but I'm way off understanding the build system so I've had no 
success.

I am using GCC 2.95.3, automake 1.4, autoconf 2.57 and kernel 2.4.21-rc2. I'm 
more than happy to provide any additional diagnostics, try fixes etc.

Thanks

Chris



More information about the kde-multimedia mailing list