[Bug 70269] New: mpeglib_artsplug does not compile

aaronw at net.com aaronw at net.com
Sat Dec 13 02:03:43 GMT 2003

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: mpeglib_artsplug does not compile
           Product: kdemultimedia
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-multimedia at kde.org
        ReportedBy: aaronw at net.com

Version:            (using KDE KDE 3.1.94)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.2 Sparc Solaris 2.8
OS:          Solaris

make[1]: Entering directory `/var/tmp/kde/archive/3.2beta/kdemultimedia-3.1.94/mpeglib_artsplug'
if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mpeglib/lib -I/opt/kde3/3.2beta/include/artsc -D_REENTRANT -I/opt/kdeshared/include/glib-2.0 -I/opt/kdeshared/lib/glib-2.0/include -I/opt/kde3/3.2beta/include/arts -I/opt/kde3/3.2beta/include -I/opt/qt/qt-3.2.2/include   -I/opt/kdeshared/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 -ftemplate-depth-99 -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT libarts_mpeglib_la.all_cpp.lo -MD -MP -MF ".deps/libarts_mpeglib_la.all_cpp.Tpo" \
  -c -o libarts_mpeglib_la.all_cpp.lo `test -f 'libarts_mpeglib_la.all_cpp.cpp' || echo './'`libarts_mpeglib_la.all_cpp.cpp; \
then mv -f ".deps/libarts_mpeglib_la.all_cpp.Tpo" ".deps/libarts_mpeglib_la.all_cpp.Plo"; \
else rm -f ".deps/libarts_mpeglib_la.all_cpp.Tpo"; exit 1; \
In file included from decoderBaseObject_impl.cpp:19,
                 from libarts_mpeglib_la.all_cpp.cpp:2:
decoderBaseObject_impl.h:67: error: syntax error before `*' token
In file included from libarts_mpeglib_la.all_cpp.cpp:2:
decoderBaseObject_impl.cpp: In constructor `
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.)
In file included from libarts_mpeglib_la.all_cpp.cpp:9:
nullPlayObject_impl.cpp: In member function `virtual bool
   NULLPlayObject_impl::loadMedia(const std::string&)':
nullPlayObject_impl.cpp:26: warning: unused parameter `const
make[1]: *** [libarts_mpeglib_la.all_cpp.lo] Error 1
make[1]: Leaving directory `/var/tmp/kde/archive/3.2beta/kdemultimedia-3.1.94/mpeglib_artsplug'
make: *** [all] Error 2

For some reason, GCC doesn't like the line

  queue<DataPacket<mcopbyte>*> *m_packetQueue;

in decoderBaseObject_impl.cpp line 67.  I'm not a C++ expert so I don't know what's wrong with this.

More information about the kde-multimedia mailing list