Amarok 1.2 Beta 1
I'm trying to compile Amarok 1.2 beta 1 for Fedora Core 3. There's no RPM (or is there?) and I'm getting the following compile error. I would think the problem is with the xine libraries and not with Amarok but I have trouble figuring this one out (which probably means it's something simple).
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/usr/include/kde -I/usr/lib/qt-3.3/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: syntax error before '*' token
xine-scope.h:32: error: syntax 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: syntax 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: syntax 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: syntax error before '}' token
xine-scope.c:32: error: syntax 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: syntax error before ')' token
xine-scope.c:37: error: `post_audio_port_t' undeclared (first use in this function)
xine-scope.c:37: error: syntax error before ')' token
xine-scope.c:38: warning: implicit declaration of function `_x_post_inc_usage'
xine-scope.c:38: error: syntax error before ')' token
xine-scope.c:40: error: syntax error before ')' token
xine-scope.c:40: error: `stream' undeclared (first use in this function)
xine-scope.c:41: error: syntax error before ')' token
xine-scope.c:41: error: `bits' undeclared (first use in this function)
xine-scope.c:42: error: syntax error before ')' token
xine-scope.c:42: error: `rate' undeclared (first use in this function)
xine-scope.c:43: error: syntax error before ')' token
xine-scope.c:43: error: `mode' undeclared (first use in this function)
xine-scope.c:45: error: syntax error before ')' token
xine-scope.c:45: warning: implicit declaration of function `_x_ao_mode2channels'
xine-scope.c:47: error: syntax error before ')' token
xine-scope.c:47: error: syntax error before ')' token
xine-scope.c: At top level:
xine-scope.c:51: error: syntax 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: syntax error before ')' token
xine-scope.c:56: error: syntax error before ')' token
xine-scope.c:59: error: syntax error before ')' token
xine-scope.c:59: error: `NULL' undeclared (first use in this function)
xine-scope.c:60: error: syntax error before ')' token
xine-scope.c:60: error: syntax 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: syntax error before ')' token
xine-scope.c: At top level:
xine-scope.c:66: error: syntax 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: syntax 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: syntax error before ')' token
xine-scope.c:72: error: syntax error before ')' token
xine-scope.c:73: warning: implicit declaration of function `printf'
xine-scope.c:75: error: syntax error before ')' token
xine-scope.c:75: error: syntax error before ')' token
xine-scope.c:75: error: `stream' undeclared (first use in this function)
xine-scope.c:79: warning: implicit declaration of function `memcpy'
xine-scope.c:79: error: syntax error before ')' token
xine-scope.c:81: warning: implicit declaration of function `malloc'
xine-scope.c:97: error: syntax error before ')' token
xine-scope.c:97: error: syntax error before ')' token
xine-scope.c:101: error: syntax error before ')' token
xine-scope.c:102: error: syntax error before ')' token
xine-scope.c: At top level:
xine-scope.c:109: error: syntax error before '*' token
xine-scope.c: In function `scope_dispose':
xine-scope.c:111: warning: declaration of 'list' shadows a global declaration
xine-scope.c:24: warning: shadowed declaration is here
xine-scope.c:111: error: `this' undeclared (first use in this function)
xine-scope.c:117: warning: implicit declaration of function `free'
xine-scope.c: At top level:
xine-scope.c:129: error: syntax error before '*' token
xine-scope.c:130: error: syntax error before '*' token
xine-scope.c:131: warning: return type defaults to `int'
xine-scope.c:131: warning: no previous prototype for 'scope_plugin_new'
xine-scope.c: In function `scope_plugin_new':
xine-scope.c:132: warning: implicit declaration of function `xine_xmalloc'
xine-scope.c:132: error: invalid application of `sizeof' to incomplete type `xine-scope.c'
xine-scope.c:132: warning: initialization makes pointer from integer without a cast
xine-scope.c:133: error: `post_plugin_t' undeclared (first use in this function)
xine-scope.c:133: error: `post_plugin' undeclared (first use in this function)
xine-scope.c:133: error: syntax error before ')' token
xine-scope.c:136: error: `post_in_t' undeclared (first use in this function)
xine-scope.c:136: error: `input' undeclared (first use in this function)
xine-scope.c:137: error: `post_out_t' undeclared (first use in this function)
xine-scope.c:137: error: `output' undeclared (first use in this function)
xine-scope.c:138: error: `post_audio_port_t' undeclared (first use in this function)
xine-scope.c:138: error: `port' undeclared (first use in this function)
xine-scope.c:140: warning: implicit declaration of function `_x_post_init'
xine-scope.c:142: warning: implicit declaration of function `_x_post_intercept_audio_port'
xine-scope.c:142: error: `audio_target' undeclared (first use in this function)
xine-scope.c:148: error: `PLUGIN_POST' undeclared (first use in this function)
xine-scope.c:157: error: `xine' undeclared (first use in this function)
xine-scope.c:161: error: dereferencing pointer to incomplete type
xine-scope.c:162: error: dereferencing pointer to incomplete type
xine-scope.c:162: error: dereferencing pointer to incomplete type
xine-scope.c: In function `scope_plugin_list':
xine-scope.c:170: error: dereferencing pointer to incomplete type
xine-scope.c: In function `scope_plugin_channels':
xine-scope.c:176: error: dereferencing pointer to incomplete type
xine-scope.c: At top level:
xine-scope.c:179: error: syntax error before '*' token
xine-scope.c:181: warning: return type defaults to `int'
xine-scope.c: In function `scope_plugin_metronom':
xine-scope.c:182: error: dereferencing pointer to incomplete type
make[5]: *** [xine-scope.lo] Error 1
make[5]: Leaving directory `/home/*****/Downloads/amarok-1.2-beta2/amarok/src/engine/xine'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/*****/Downloads/amarok-1.2-beta2/amarok/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/*****/Downloads/amarok-1.2-beta2/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/*****/Downloads/amarok-1.2-beta2/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/*****/Downloads/amarok-1.2-beta2'
make: *** [all] Error 2
|