Bug 48049 - xine_artsplugin will not compile
Summary: xine_artsplugin will not compile
Status: RESOLVED WORKSFORME
Alias: None
Product: arts
Classification: Miscellaneous
Component: xine_artsplugin (show other bugs)
Version: CVS
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-19 20:50 UTC by Stephan Richter
Modified: 2002-12-08 13:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Richter 2002-09-19 20:50:23 UTC
Version:           2.1.3 (using KDE 3.0.7 (KDE 3.1 beta2))
Installed from:    compiled sources
Compiler:          gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
OS:          Linux (i686) release 2.4.18-6mdk

It cannot find xinePlayObject.h for the compilation of xine_artsplugin.

Here the full error output:
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3.1/include/arts -I/opt/kde3.1/include -I/usr/lib/qt3/include -I/usr/X11R6/include  -I/usr/include  -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 -march=athlon -mcpu=athlon -w -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o xinePlayObject_impl.lo `test -f xinePlayObject_impl.cpp || echo './'`xinePlayObject_impl.cpp
In file included from xinePlayObject_impl.cpp:25:
xinePlayObject_impl.h:23:28: xinePlayObject.h: No such file or directory
In file included from xinePlayObject_impl.cpp:25:
xinePlayObject_impl.h:27: `poState' not declared
xinePlayObject_impl.h:28: `poTime' not declared
xinePlayObject_impl.h:29: `poCapabilities' not declared
xinePlayObject_impl.h:31: parse error before `,'
xinePlayObject_impl.h:35: destructors must be member functions
xinePlayObject_impl.h:35: virtual outside class declaration
xinePlayObject_impl.h:39: syntax error before `('
xinePlayObject_impl.h:40: syntax error before `('
xinePlayObject_impl.h:41: syntax error before `('
xinePlayObject_impl.h:43: syntax error before `('
xinePlayObject_impl.h:51: new declaration `void pause ()'
/usr/include/unistd.h:389: ambiguates old declaration `int pause ()'
xinePlayObject_impl.h:54: parse error before `protected'
xinePlayObject_impl.h: In function `void *pthread_start_routine (void
*)':
xinePlayObject_impl.h:65: parse error before `)'
xinePlayObject_impl.h: In function `void xine_handle_event (void *,
xine_event_t *)':
xinePlayObject_impl.h:72: parse error before `)'
xinePlayObject_impl.h: At top level:
xinePlayObject_impl.h:75: parse error before `private'
xinePlayObject_impl.h:90: parse error before `}'
xinePlayObject_impl.cpp:40: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method
`xinePlayObject_impl::xinePlayObject_impl ()':
xinePlayObject_impl.cpp:60: `flpos' undeclared (first use this
function)
xinePlayObject_impl.cpp:60: (Each undeclared identifier is reported
only once for each function it appears in.)
xinePlayObject_impl.cpp:67: `SoundServerV2' undeclared in namespace
`Arts'
xinePlayObject_impl.cpp:67: parse error before `='
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:83: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method
`xinePlayObject_impl::~xinePlayObject_impl ()':
xinePlayObject_impl.cpp:96: `sizeof' applied to incomplete type
`xinePlayObject_impl'
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:99: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:109: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:114: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:114: semicolon missing after declaration of
`class poTime'
xinePlayObject_impl.cpp: In method `int
xinePlayObject_impl::currentTime (xinePlayObject_impl *)':
xinePlayObject_impl.cpp:115: aggregate `poTime time' has incomplete
type and cannot be initialized
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:128: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `poTime
xinePlayObject_impl::overallTime ()':
xinePlayObject_impl.cpp:128: return type `class poTime' is incomplete
xinePlayObject_impl.cpp:129: aggregate `poTime time' has incomplete
type and cannot be initialized
xinePlayObject_impl.cpp:128: return type `class poTime' is incomplete
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:146: syntax error before `::'
xinePlayObject_impl.cpp:152: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:156: syntax error before `::'
xinePlayObject_impl.cpp:160: `int pthread_mutex_lock' redeclared as
different kind of symbol
/usr/include/pthread.h:342: previous declaration of `int
pthread_mutex_lock (pthread_mutex_t *)'
xinePlayObject_impl.cpp:160: cannot convert `pthread_mutex_t *' to
`int' in initialization
xinePlayObject_impl.cpp:162: parse error before `if'
xinePlayObject_impl.cpp:169: `int pthread_mutex_unlock' redeclared as
different kind of symbol
/usr/include/pthread.h:352: previous declaration of `int
pthread_mutex_unlock (pthread_mutex_t *)'
xinePlayObject_impl.cpp:169: cannot convert `pthread_mutex_t *' to
`int' in initialization
xinePlayObject_impl.cpp:171: parse error before `return'
xinePlayObject_impl.cpp:175: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `long int
xinePlayObject_impl::x11Snapshot ()':
xinePlayObject_impl.cpp:178: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:184: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:190: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void
xinePlayObject_impl::x11WindowId (long int)':
xinePlayObject_impl.cpp:191: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:217: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:221: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:226: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::play ()':
xinePlayObject_impl.cpp:227: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:250: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:254: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::halt ()':
xinePlayObject_impl.cpp:255: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:271: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:275: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::seek
(const poTime &)':
xinePlayObject_impl.cpp:276: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:284: invalid use of undefined type `class
poTime'
xinePlayObject_impl.h:50: forward declaration of `class poTime'
xinePlayObject_impl.cpp:291: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:295: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::pause
()':
xinePlayObject_impl.cpp:296: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:304: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:308: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void
xinePlayObject_impl::calculateBlock (long unsigned int)':
xinePlayObject_impl.cpp:313: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:320: `samplingRateFloat' undeclared (first use
this function)
xinePlayObject_impl.cpp:332: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp:340: `left' undeclared (first use this
function)
xinePlayObject_impl.cpp:340: `right' undeclared (first use this
function)
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:355: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::playEvent
()':
xinePlayObject_impl.cpp:356: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:382: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:386: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::stopEvent
()':
xinePlayObject_impl.cpp:387: `pthread_mutex_lock' cannot be used as a
function
xinePlayObject_impl.cpp:401: `pthread_mutex_unlock' cannot be used as a
function
xinePlayObject_impl.cpp: At top level:
xinePlayObject_impl.cpp:407: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:415: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:433: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp:453: invalid use of undefined type `class
xinePlayObject_impl'
xinePlayObject_impl.h:31: forward declaration of `class
xinePlayObject_impl'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::eventLoop
()':
xinePlayObject_impl.cpp:506: `playEvent' undeclared (first use this
function)
xinePlayObject_impl.cpp: In method `string
xinePlayObject_impl_Factory::interfaceName ()':
xinePlayObject_impl.cpp:516: no method
`xinePlayObject_impl::_interfaceNameSkel'
xinePlayObject_impl.cpp: In method `Arts::Object_skel
*xinePlayObject_impl_Factory::createInstance ()':
xinePlayObject_impl.cpp:516: parse error before `;'
make[3]: *** [xinePlayObject_impl.lo] Error 1
make[3]: Leaving directory `/home/srichter/kde3.1/kdemultimedia/xine_artsplugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/srichter/kde3.1/kdemultimedia/xine_artsplugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/srichter/kde3.1/kdemultimedia'
make: *** [all] Error 2
Comment 1 Neil Stevens 2002-12-08 12:07:51 UTC
Does this bug still exist in the latest RC? 
Comment 2 Stephan Richter 2002-12-08 13:33:45 UTC
It must work, otherwise you could not compile the multimedia package. Also, the CVS 
certainly works.