This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cannot compile svn 05/20/2005

Tags: None
(comma "," separated)
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Cannot compile svn 05/20/2005

Fri May 20, 2005 8:16 pm
Here is the error log:
then mv -f \".deps/artsengine.Tpo\" \".deps/artsengine.Plo\"; else rm -f \".deps/artsengine.Tpo\"; exit 1; fi
/bin/sh ../../../../libtool --silent --tag=CXX --mode=link g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libamarok_artsengine_plugin.la -rpath /lib/kde3 -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/opt/kde3/lib -L/usr/lib/qt3/lib -L/usr/X11R6/lib artseffects.lo artsengine.lo ../../../../amarok/src/engine/arts/amarokarts/libamarokarts.la ../../../../amarok/src/engine/libengine.la ../../../../amarok/src/plugin/libplugin.la -lkio -lkdeui -lkdecore -lqtmcop -lkmedia2_idl -lartsflow -lsoundserver_idl -lartskde -lartsgui -lartsgui_kde -lartsmodules
/bin/sed: can\'t read svn/multimedia/multimedia/amarok/src/engine/arts/amarokarts/libamarokarts.la: No such file or directory
libtool: link: `svn/multimedia/multimedia/amarok/src/engine/arts/amarokarts/libamarokarts.la\' is not a valid libtool archive
make[6]: *** [libamarok_artsengine_plugin.la] Error 1
make[6]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/multimedia/amarok/src/engine/arts\'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/multimedia/amarok/src/engine/arts\'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/multimedia/amarok/src/engine\'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/multimedia/amarok/src\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/multimedia/amarok\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/multimedia\'
make: *** [all] Error 2
User avatar
sebr
Moderator
Posts
301
Karma
0

Re:Cannot compile svn 05/20/2005

Sat May 21, 2005 10:17 am
perhaps you got a bad download?

if not, maybe a dirty compile, try
[code:1]make clean[/code:1]
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Re:Cannot compile svn 05/20/2005

Sun May 22, 2005 9:38 pm
Ok, I\'ll retry, tnx.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Re:Cannot compile svn 05/20/2005

Sun May 22, 2005 10:05 pm
Still I cannot compile it, now the error is different:
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:76: warning: implicit declaration of function `memcpy\'
xine-scope.c:76: error: syntax 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: syntax error before \')\' token
xine-scope.c:94: error: syntax error before \')\' token
xine-scope.c:98: error: syntax error before \')\' token
xine-scope.c:99: error: syntax error before \')\' token
xine-scope.c: At top level:
xine-scope.c:106: error: syntax 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: syntax error before \'*\' token
xine-scope.c:127: error: syntax 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: syntax 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: syntax 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
make[5]: *** [xine-scope.lo] Error 1
make[5]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok/src/engine/xine\'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok/src/engine\'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok/src\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia\'
make: *** [all] Error 2

I compiled it in this way (it might be wrong):
#cd /Appz/Amarok/Amarok from svn/multimedia
#make -f Makefile.cvs
#./configure --enable-debug=full --prefix=`kde-config --prefix`
#make

Is this ok?
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re:Cannot compile svn 05/20/2005

Tue May 24, 2005 12:57 am
Do you have the devel packages for lib-xine? What version of lib-xine?


Amarok Developer
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Re:Cannot compile svn 05/20/2005

Tue May 24, 2005 5:52 pm
So, I need lib-xine devel. Ok, tnx guys, i\'ll try when I get home (at the end of the weekend).
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Re:Cannot compile svn 05/20/2005

Fri May 27, 2005 6:34 pm
Ok, I installed missing packages, updated to revision 418678, but now I get this error:

rtsgui -lartsgui_kde -lartsmodules
/usr/bin/sed: can\'t read svn/multimedia/amarok/src/engine/arts/amarokarts/libamarokarts.la: No such file or directory
libtool: link: `svn/multimedia/amarok/src/engine/arts/amarokarts/libamarokarts.la\' is not a valid libtool archive
make[6]: *** [libamarok_artsengine_plugin.la] Error 1
make[6]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok/src/engine/arts\'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok/src/engine/arts\'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok/src/engine\'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok/src\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia/amarok\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kriko/Documents/Appz/Amarok/Amarok from svn/multimedia\'
make: *** [all] Error 2
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re:Cannot compile svn 05/20/2005

Sat May 28, 2005 1:44 pm
Well, you didn\'t post the relevant part of the error message I don\'t think. Regardless re-configure amaroK with --without-arts

Post edited by: eean, at: 2005/05/28 09:44


Amarok Developer
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Re:Cannot compile svn 05/20/2005

Sat May 28, 2005 3:51 pm
That helped guys, TNX a lot!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar