|
Hi,
I have problem with compiling 1.2-beta4 with xine support. configure detects all beautifully and says it\'ll make arts, xine and konqueror plugin. But make outputs: [code:1]Making all in xine make[5]: Entering directory `/home/ljubomir/downloads/amarok-1.2-beta4/amarok/src/engine/xine\' source=\'xine-scope.c\' object=\'xine-scope.lo\' libtool=yes \\ depfile=\'.deps/xine-scope.Plo\' tmpdepfile=\'.deps/xine-scope.TPlo\' \\ depmode=gcc3 /bin/sh ../../../../admin/depcomp \\ /bin/sh ../../../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src -I/usr/include -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute -c -o xine-scope.lo `test -f \'xine-scope.c\' || echo \'./\'`xine-scope.c In file included from xine-scope.c:12: xine-scope.h:14:27: xine/metronom.h: No such file or directory In file included from xine-scope.c:12: xine-scope.h:31: error: parse error before \'*\' token xine-scope.h:32: error: parse error before \'*\' token xine-scope.h:32: warning: type defaults to `int\' in declaration of `scope_plugin_new\' xine-scope.h:32: warning: data definition has no type or storage class xine-scope.h:44: error: parse error before \'*\' token xine-scope.h:45: warning: type defaults to `int\' in declaration of `scope_plugin_metronom\' xine-scope.h:45: warning: data definition has no type or storage class xine-scope.c:13:23: xine/post.h: No such file or directory xine-scope.c:14:32: xine/xine_internal.h: No such file or directory xine-scope.c:20: error: parse error before \"post_plugin_t\" xine-scope.c:20: warning: no semicolon at end of struct or union xine-scope.c:22: warning: type defaults to `int\' in declaration of `metronom\' xine-scope.c:22: warning: data definition has no type or storage class xine-scope.c:25: error: parse error before \'}\' token xine-scope.c:32: error: parse error before \'*\' token xine-scope.c: In function `scope_port_open\': xine-scope.c:37: warning: implicit declaration of function `_x_post_rewire\' xine-scope.c:37: error: `post_plugin_t\' undeclared (first use in this function) xine-scope.c:37: error: (Each undeclared identifier is reported only once xine-scope.c:37: error: for each function it appears in.) xine-scope.c:37: error: parse error before \')\' token xine-scope.c:37: error: `post_audio_port_t\' undeclared (first use in this function) xine-scope.c:37: error: parse error before \')\' token xine-scope.c:38: warning: implicit declaration of function `_x_post_inc_usage\' xine-scope.c:38: error: parse error before \')\' token xine-scope.c:40: error: parse error before \')\' token xine-scope.c:40: error: `stream\' undeclared (first use in this function) xine-scope.c:41: error: parse error before \')\' token xine-scope.c:41: error: `bits\' undeclared (first use in this function) xine-scope.c:42: error: parse error before \')\' token xine-scope.c:42: error: `rate\' undeclared (first use in this function) xine-scope.c:43: error: parse error before \')\' token xine-scope.c:43: error: `mode\' undeclared (first use in this function) xine-scope.c:45: error: parse error before \')\' token xine-scope.c:45: warning: implicit declaration of function `_x_ao_mode2channels\' xine-scope.c:47: error: parse error before \')\' token xine-scope.c:47: error: parse error before \')\' token xine-scope.c: At top level: xine-scope.c:51: error: parse error before \'*\' token xine-scope.c: In function `scope_port_close\': xine-scope.c:56: error: `post_audio_port_t\' undeclared (first use in this function) xine-scope.c:56: error: parse error before \')\' token xine-scope.c:56: error: parse error before \')\' token xine-scope.c:59: error: parse error before \')\' token xine-scope.c:59: error: `NULL\' undeclared (first use in this function) xine-scope.c:60: error: parse error before \')\' token xine-scope.c:60: error: parse error before \')\' token xine-scope.c:60: error: `stream\' undeclared (first use in this function) xine-scope.c:62: warning: implicit declaration of function `_x_post_dec_usage\' xine-scope.c:62: error: parse error before \')\' token xine-scope.c: At top level: xine-scope.c:66: error: parse error before \'*\' token xine-scope.c: In function `scope_port_put_buffer\': xine-scope.c:68: error: `buf\' undeclared (first use in this function) xine-scope.c:68: error: `post_audio_port_t\' undeclared (first use in this function) xine-scope.c:68: error: parse error before \')\' token xine-scope.c:69: error: `metronom_t\' undeclared (first use in this function) xine-scope.c:69: error: `myMetronom\' undeclared (first use in this function) xine-scope.c:69: error: parse error before \')\' token xine-scope.c:72: error: parse error before \')\' token xine-scope.c:73: warning: implicit declaration of function `printf\' xine-scope.c:76: warning: implicit declaration of function `memcpy\' xine-scope.c:76: error: parse error before \')\' token xine-scope.c:76: error: `stream\' undeclared (first use in this function) xine-scope.c:78: warning: implicit declaration of function `malloc\' xine-scope.c:78: warning: assignment makes pointer from integer without a cast xine-scope.c:81: warning: assignment makes pointer from integer without a cast xine-scope.c:94: error: parse error before \')\' token xine-scope.c:94: error: parse error before \')\' token xine-scope.c:98: error: parse error before \')\' token xine-scope.c:99: error: parse error before \')\' token xine-scope.c: At top level: xine-scope.c:106: error: parse error before \'*\' token xine-scope.c: In function `scope_dispose\': xine-scope.c:108: warning: declaration of `list\' shadows a global declaration xine-scope.c:24: warning: shadowed declaration is here xine-scope.c:108: error: `this\' undeclared (first use in this function) xine-scope.c:114: warning: implicit declaration of function `free\' xine-scope.c: At top level: xine-scope.c:126: error: parse error before \'*\' token xine-scope.c:127: error: parse error before \'*\' token xine-scope.c:128: warning: return type defaults to `int\' xine-scope.c:128: warning: no previous prototype for `scope_plugin_new\' xine-scope.c: In function `scope_plugin_new\': xine-scope.c:129: warning: implicit declaration of function `xine_xmalloc\' xine-scope.c:129: error: invalid application of `sizeof\' to an incomplete type xine-scope.c:129: warning: initialization makes pointer from integer without a cast xine-scope.c:130: error: `post_plugin_t\' undeclared (first use in this function) xine-scope.c:130: error: `post_plugin\' undeclared (first use in this function) xine-scope.c:130: error: parse error before \')\' token xine-scope.c:133: error: `post_in_t\' undeclared (first use in this function) xine-scope.c:133: error: `input\' undeclared (first use in this function) xine-scope.c:134: error: `post_out_t\' undeclared (first use in this function) xine-scope.c:134: error: `output\' undeclared (first use in this function) xine-scope.c:135: error: `post_audio_port_t\' undeclared (first use in this function) xine-scope.c:135: error: `port\' undeclared (first use in this function) xine-scope.c:137: warning: implicit declaration of function `_x_post_init\' xine-scope.c:139: warning: implicit declaration of function `_x_post_intercept_audio_port\' xine-scope.c:139: error: `audio_target\' undeclared (first use in this function) xine-scope.c:145: error: `PLUGIN_POST\' undeclared (first use in this function) xine-scope.c:154: error: `xine\' undeclared (first use in this function) xine-scope.c:158: error: dereferencing pointer to incomplete type xine-scope.c:159: error: dereferencing pointer to incomplete type xine-scope.c:159: error: dereferencing pointer to incomplete type xine-scope.c: In function `scope_plugin_list\': xine-scope.c:167: error: dereferencing pointer to incomplete type xine-scope.c: In function `scope_plugin_channels\': xine-scope.c:173: error: dereferencing pointer to incomplete type xine-scope.c: At top level: xine-scope.c:176: error: parse error before \'*\' token xine-scope.c:178: warning: return type defaults to `int\' xine-scope.c: In function `scope_plugin_metronom\': xine-scope.c:179: error: dereferencing pointer to incomplete type [/code:1] So I have to use --without-xine flag. Whats wrong? I use suse 9.2 with updated libxine (1_rc6a-0.pm.0) |
Registered Member
|
Install the xine-devel package (this is NOT the right name of the package, but it\'s similar named, maybe libxine-dev, libxine-devel, libxine-headers).
|
Registered Member
|
Just a little tip to make your life a whole lot easier. SuSE xine packages should NEVER be used. SuSE is extremely paranoid about copyright envringement. So their xine packages are without win32 format support and DVD support. The best thing to do is download the lastest xine tar packages and compile from source. Don\'t forget to download the wine32 dll packages from mplayer. Just read the xine compile how-to. Oh, and don\'t forget to go into yast and tell it to never install xine-lib. A lot of packages depend on it and yast won\'t know you compiled it from source. Hope this helps.
|
|
Sure, thats a silly question. I\'ve jus forgot. But, anyway, configure script sholud detect the lack of such important things like development packages. Just my 2 cents.
And for Marcel: Thanks for information, but I know all the stuff about Suse\'s patents&dvd strategy. I have no problem with this becouse I\'m using pre-built xine from packman. That\'s why i\'ve said i have updated packages But thanks anyway! |
Alumni
|
We do detect the presence of the xine-devel stuff. If it\'s broken it\'s prolly SuSE shipping badly split up packages.
We use the xine-config package that should only be part of xine-devel, and we also look for xine.h. If the rest of xine-devel is not there then we have tried as hard as we can be expected to. It is then up to the user. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]