[Bug 53543] New: Unable to compile xine_artsplugin with current xine release
dubious at 2xtreme.net
dubious at 2xtreme.net
Tue Jan 28 21:34:04 GMT 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=53543
Summary: Unable to compile xine_artsplugin with current xine
release
Product: arts
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: xine_artsplugin
AssignedTo: kde-multimedia at kde.org
ReportedBy: dubious at 2xtreme.net
Version: (using KDE KDE 3.1)
Installed from: Compiled From Sources
Compiler: gcc 2.95.3
OS: Linux
Tried both current CVS and the official 3.1 release of kdemultimedia...
Attempting to compile xine_artsplugin dies with syntax errors regarding header files from xine (don't know if this is actually a bug in xine's files or not, but...)
I'm using the most current released xine-libs and xine-ui as of today (xine-lib 1-beta2 and xine-ui 0.9.17).
kdemultimedia 3.1 gives me the following series of errors at xine_artsplugin (using just a plain "./configure"):
/opt/kde/bin/mcopidl -I/opt/kde/include/arts -I/opt/kde/include -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/include ./xinePlayObject.idl
source='xinePlayObject.cc' object='xinePlayObject.lo' libtool=yes \
depfile='.deps/xinePlayObject.Plo' tmpdepfile='.deps/xinePlayObject.TPlo' \
depmode=gcc /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include/arts -I/opt/kde/include -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/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 -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o xinePlayObject.lo `test -f 'xinePlayObject.cc' || echo './'`xinePlayObject.cc
source='xinePlayObject_impl.cpp' object='xinePlayObject_impl.lo' libtool=yes \
depfile='.deps/xinePlayObject_impl.Plo' tmpdepfile='.deps/xinePlayObject_impl.TPlo' \
depmode=gcc /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include/arts -I/opt/kde/include -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/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 -O2 -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.h:20,
from xinePlayObject_impl.cpp:24:
/usr/local/include/xine/video_out_x11.h:38: conflicting types for `typedef struct x11_rectangle_t x11_rectangle_t'
/usr/local/include/xine.h:758: previous declaration as `typedef struct x11_rectangle_t x11_rectangle_t'
/usr/local/include/xine/video_out_x11.h:89: conflicting types for `typedef struct x11_visual_t x11_visual_t'
/usr/local/include/xine.h:835: previous declaration as `typedef struct x11_visual_t x11_visual_t'
In file included from xinePlayObject_impl.h:21,
from xinePlayObject_impl.cpp:24:
audio_fifo_out.h:26: syntax error before `*'
audio_fifo_out.h:30: `ao_driver_t' was not declared in this scope
audio_fifo_out.h:30: `this_gen' was not declared in this scope
audio_fifo_out.h:30: parse error before `char'
audio_fifo_out.h:33: `ao_driver_t' was not declared in this scope
audio_fifo_out.h:33: `ao' was not declared in this scope
audio_fifo_out.h:33: parse error before `long'
audio_fifo_out.h:35: `ao_driver_t' was not declared in this scope
audio_fifo_out.h:35: `this_gen' was not declared in this scope
audio_fifo_out.h:35: variable or field `ao_fifo_wait_close' declared void
In file included from xinePlayObject_impl.h:22,
from xinePlayObject_impl.cpp:24:
video_fifo_out.h:35: syntax error before `*'
In file included from xinePlayObject_impl.cpp:24:
xinePlayObject_impl.h:84: syntax error before `*'
xinePlayObject_impl.h:86: syntax error before `*'
xinePlayObject_impl.h:87: syntax error before `*'
xinePlayObject_impl.cpp: In method `xinePlayObject_impl::xinePlayObject_impl()':
xinePlayObject_impl.cpp:60: `config' undeclared (first use this function)
xinePlayObject_impl.cpp:60: (Each undeclared identifier is reported only once
xinePlayObject_impl.cpp:60: for each function it appears in.)
xinePlayObject_impl.cpp:62: `ao_driver' undeclared (first use this function)
xinePlayObject_impl.cpp:63: `vo_driver' undeclared (first use this function)
xinePlayObject_impl.cpp: In method `class Arts::poTime xinePlayObject_impl::currentTime()':
xinePlayObject_impl.cpp:118: `xine_get_current_time' undeclared (first use this function)
xinePlayObject_impl.cpp: In method `class Arts::poTime xinePlayObject_impl::overallTime()':
xinePlayObject_impl.cpp:132: `xine_get_stream_length' undeclared (first use this function)
xinePlayObject_impl.cpp: In method `enum Arts::poState xinePlayObject_impl::state()':
xinePlayObject_impl.cpp:161: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp:161: `XINE_PLAY' undeclared (first use this function)
xinePlayObject_impl.cpp:163: `xine_get_speed' undeclared (first use this function)
xinePlayObject_impl.cpp:163: `SPEED_PAUSE' undeclared (first use this function)
xinePlayObject_impl.cpp: In method `long int xinePlayObject_impl::x11Snapshot()':
xinePlayObject_impl.cpp:179: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp: In method `long int xinePlayObject_impl::x11WindowId()':
xinePlayObject_impl.cpp:221: warning: negative integer implicitly converted to unsigned type
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::play()':
xinePlayObject_impl.cpp:228: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp:232: `SPEED_NORMAL' undeclared (first use this function)
xinePlayObject_impl.cpp:232: `xine_set_speed' undeclared (first use this function)
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::halt()':
xinePlayObject_impl.cpp:258: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp:260: `ao_fifo_wait_close' cannot be used as a function
xinePlayObject_impl.cpp:262: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::seek(const Arts::poTime &)':
xinePlayObject_impl.cpp:277: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp:283: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::pause()':
xinePlayObject_impl.cpp:297: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::calculateBlock(long unsigned int)':
xinePlayObject_impl.cpp:314: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::playEvent()':
xinePlayObject_impl.cpp:358: `init_video_out_plugin' undeclared (first use this function)
xinePlayObject_impl.cpp:362: `init_audio_out_plugin' undeclared (first use this function)
xinePlayObject_impl.cpp:366: `xine_register_event_listener' undeclared (first use this function)
xinePlayObject_impl.cpp:367: `xine_select_audio_channel' undeclared (first use this function)
xinePlayObject_impl.cpp:368: `xine_select_spu_channel' undeclared (first use this function)
xinePlayObject_impl.cpp:370: type `xine_stream_t' is not a base type for type `xine_t'
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::stopEvent()':
xinePlayObject_impl.cpp:390: `ao_fifo_wait_close' cannot be used as a function
xinePlayObject_impl.cpp:392: `xine_remove_event_listener' undeclared (first use this function)
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::xineEvent(xine_event_t *)':
xinePlayObject_impl.cpp:407: `XINE_EVENT_PLAYBACK_FINISHED' undeclared (first use this function)
xinePlayObject_impl.cpp: In method `void xinePlayObject_impl::eventLoop()':
xinePlayObject_impl.cpp:456: `xine_config_file_init' undeclared (first use this function)
make[1]: *** [xinePlayObject_impl.lo] Error 1
If I configure with "--enable-final", I get a slightly different set of errors:
source='audio_fifo_out.c' object='audio_fifo_out.lo' libtool=yes \
depfile='.deps/audio_fifo_out.Plo' tmpdepfile='.deps/audio_fifo_out.TPlo' \
depmode=gcc /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include/arts -I/opt/kde/include -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/include -DQT_THREAD_SUPPORT -D_REENTRANT -U__STRICT_ANSI__ -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -march=k6 -c -o audio_fifo_out.lo `test -f 'audio_fifo_out.c' || echo './'`audio_fifo_out.c
In file included from /usr/include/string.h:360,
from audio_fifo_out.c:17:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:428: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:436: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:441: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:446: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:448: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:453: warning: pointer of type `void *' used in arithmetic
In file included from /usr/local/include/xine/xineutils.h:38,
from /usr/local/include/xine/audio_out.h:38,
from /usr/local/include/xine/xine_internal.h:57,
from audio_fifo_out.c:21:
/usr/local/include/xine/xine_buffer.h: At top level:
/usr/local/include/xine/xine_buffer.h:82: warning: declaration of `index' shadows global declaration
/usr/local/include/xine/xine_buffer.h:89: warning: declaration of `index' shadows global declaration
/usr/local/include/xine/xine_buffer.h:96: warning: declaration of `index' shadows global declaration
/usr/local/include/xine/xine_buffer.h:111: warning: declaration of `index' shadows global declaration
In file included from /usr/local/include/xine/audio_out.h:38,
from /usr/local/include/xine/xine_internal.h:57,
from audio_fifo_out.c:21:
/usr/local/include/xine/xineutils.h:631: syntax error before `char'
/usr/local/include/xine/xineutils.h:631: warning: no previous prototype for `_x_strpbrk'
/usr/local/include/xine/xineutils.h:649: syntax error before `char'
/usr/local/include/xine/xineutils.h:649: warning: no previous prototype for `_x_strsep'
/usr/local/include/xine/xineutils.h:689: syntax error before `void'
/usr/local/include/xine/xineutils.h:690: warning: no previous prototype for `_x_setenv'
/usr/local/include/xine/xineutils.h: In function `_x_setenv':
/usr/local/include/xine/xineutils.h:689: warning: unused parameter `_xx'
audio_fifo_out.c: In function `ao_fifo_get_gap_tolerance':
audio_fifo_out.c:98: warning: unused parameter `this_gen'
audio_fifo_out.c: In function `ao_fifo_get_property':
audio_fifo_out.c:227: warning: unused parameter `this_gen'
audio_fifo_out.c:227: warning: unused parameter `property'
audio_fifo_out.c: In function `ao_fifo_set_property':
audio_fifo_out.c:232: warning: unused parameter `this_gen'
audio_fifo_out.c:232: warning: unused parameter `property'
audio_fifo_out.c: In function `ao_fifo_control':
audio_fifo_out.c:237: warning: unused parameter `this_gen'
audio_fifo_out.c:237: warning: unused parameter `cmd'
audio_fifo_out.c: In function `init_audio_out_plugin':
audio_fifo_out.c:242: warning: unused parameter `config'
make[1]: *** [audio_fifo_out.lo] Error 1
More information about the kde-multimedia
mailing list