[kde-solaris] Problem compiling kdemultimedia from cvs

Mats Rojestal mats.rojestal at bredband.net
Tue Oct 26 14:10:12 CEST 2004


Hi,


I get the following error when compiling kdemultimedia package with gcc 
3.4.2.

---------------
gmake[1]: Entering directory 
`/usr/local/src/kde/kdemultimedia/mpeglib_artsplug'if /bin/bash 
../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. 
-I.. -I../mpeglib/lib -I./../mpeglib/lib -I/usr/local/kde/include/artsc 
-D_REENTRANT -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/kde/include/arts 
-I/usr/local/kde/include -I/usr/local/include   -I/usr/local/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT decoderBaseObject_impl.lo -MD 
-MP -MF ".deps/decoderBaseObject_impl.Tpo" \
   -c -o decoderBaseObject_impl.lo `test -f 'decoderBaseObject_impl.cpp' 
|| echo './'`decoderBaseObject_impl.cpp; \
then mv ".deps/decoderBaseObject_impl.Tpo" 
".deps/decoderBaseObject_impl.Plo"; \else rm -f 
".deps/decoderBaseObject_impl.Tpo"; exit 1; \
fi
In file included from decoderBaseObject_impl.cpp:19:
decoderBaseObject_impl.h:67: error: ISO C++ forbids declaration of 
`queue' with no type
decoderBaseObject_impl.h:67: error: expected `;' before '<' token
decoderBaseObject_impl.cpp: In constructor 
`DecoderBaseObject_impl::DecoderBaseObject_impl()':
decoderBaseObject_impl.cpp:49: error: `m_packetQueue' undeclared (first 
use this function)
decoderBaseObject_impl.cpp:49: error: (Each undeclared identifier is 
reported only once for each function it appears in.)
decoderBaseObject_impl.cpp: In destructor `virtual 
DecoderBaseObject_impl::~DecoderBaseObject_impl()':
decoderBaseObject_impl.cpp:70: error: `m_packetQueue' undeclared (first 
use this function)
decoderBaseObject_impl.cpp: In member function `virtual void 
DecoderBaseObject_impl::process_indata(Arts::DataPacket<Arts::mcopbyte>*)':
decoderBaseObject_impl.cpp:177: error: `m_packetQueue' undeclared (first 
use this function)
decoderBaseObject_impl.cpp: In member function `void 
DecoderBaseObject_impl::processQueue()':
decoderBaseObject_impl.cpp:184: error: `m_packetQueue' undeclared (first 
use this function)
gmake[1]: *** [decoderBaseObject_impl.lo] Error 1
gmake[1]: Leaving directory 
`/usr/local/src/kde/kdemultimedia/mpeglib_artsplug'
gmake: *** [all] Error 2
----------


Anyone knows a fix for this or whats wrong?


Regard Mats Röjestål



More information about the kde-solaris mailing list