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

beta4 compilation error

Tags: None
(comma "," separated)
sleepkreep
Registered Member
Posts
41
Karma
0

beta4 compilation error

Mon Feb 07, 2005 3:14 am
In compilation of beta4, configure script terminates fine. During make it exits with error. It obviously has to do with libvisual but can\'t get much out of it. I have libvisual 2.0(cvs) compiled and installed, all plugins. Libvisual works fine with xmms. Help would be much appreciated. Here is my output...

Making all in libvisual
make[5]: Entering directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src/vis/libvisual\'
source=\'libvisual.cpp\' object=\'libvisual.o\' libtool=no \\
depfile=\'.deps/libvisual.Po\' tmpdepfile=\'.deps/libvisual.TPo\' \\
depmode=gcc3 /bin/sh ../../../../admin/depcomp \\
g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/include/SDL -D_REENTRANT -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W-Wpointer-arith -Wwrite-strings -O2 -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 -c -o libvisual.o `test -f \'libvisual.cpp\' || echo \'./\'`libvisual.cpp
libvisual.cpp: In function `int main(int, char**)\':
libvisual.cpp:33: warning: suggest parentheses around assignment used as truth
value
libvisual.cpp: In function `bool SDL::event_handler()\':
libvisual.cpp:235: warning: deprecated conversion from string constant to `
char*\'
/bin/sh ../../../../libtool --silent --mode=link --tag=CXX 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 -Wwrite-strings -O2 -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 amarok_libvisual -lpthread -lm -ldl -lvisual -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread libvisual.o
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lslang
collect2: ld returned 1 exit status
make[5]: *** [amarok_libvisual] Error 1
make[5]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src/vis/libvisual\'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src/vis\'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4\'
make: *** [all] Error 2
sleepkreep
Registered Member
Posts
41
Karma
0

Re:beta4 compilation error

Mon Feb 07, 2005 4:54 am
Just as an update. I updated my binutils to the latest version (2.15.91.0.2). I thought it might be a ld thing. If I type in ld -lslang it gives -- cannot find -lslang. HMMM.
sleepkreep
Registered Member
Posts
41
Karma
0

Re:beta4 compilation error

Mon Feb 07, 2005 11:51 am
Ok, some other things now won\'t compile. I compiled the lastest MAS from source. I get a compile error:


Making all in mas
make[5]: Entering directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src/engine/mas\'
/usr/lib/qt3/bin/moc ./masengine.h -o masengine.moc
source=\'masengine.cpp\' object=\'masengine.lo\' libtool=yes \\
depfile=\'.deps/masengine.Plo\' tmpdepfile=\'.deps/masengine.TPlo\' \\
depmode=gcc3 /bin/sh ../../../../admin/depcomp \\
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src/engine -I../../../../amarok/src/plugin -I../../../../amarok/src -I/usr/local/mas/include -DMAS_LITTLE_ENDIAN -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -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 -c -o masengine.lo `test -f \'masengine.cpp\' || echo \'./\'`masengine.cpp
masengine.cpp: In member function `bool MasEngine::masinit()\':
masengine.cpp:440: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:458: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:464: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:468: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:485: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:494: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:497: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:500: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:504: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:510: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:513: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:516: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:521: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:524: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:538: warning: deprecated conversion from string constant to `
char*\'
masengine.cpp:540: warning: deprecated conversion from string constant to `
char*\'
/bin/sh ../../../../libtool --silent --mode=link --tag=CXX 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 -Wwrite-strings -O2 -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_masengine_plugin.la -rpath /opt/kde3/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 /opt/kde3/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 masengine.lo ../../../../amarok/src/engine/libengine.la ../../../../amarok/src/plugin/libplugin.la -lkio -lkdeui -lkdecore -L/usr/local/mas/lib -lrt -lmas -lmasc
.libs/masengine.o(.text+0x219): In function `Debug::debug()\':
: undefined reference to `Debug::indent\'
.libs/masengine.o(.text+0x2ba): In function `MasEngine::masinit()\':
: undefined reference to `Debug::indent\'
.libs/masengine.o(.text+0xaf3): In function `MasEngine::masinit()\':
: undefined reference to `Debug::indent\'
.libs/masengine.o(.text+0xc92): In function `MasEngine::masinit()\':
: undefined reference to `Debug::indent\'
.libs/masengine.o(.text+0x11c1): In function `MasEngine::masinit()\':
: undefined reference to `Debug::indent\'
.libs/masengine.o(.text+0x129d): more undefined references to `Debug::indent\' follow
collect2: ld returned 1 exit status
make[5]: *** [libamarok_masengine_plugin.la] Error 1
make[5]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src/engine/mas\'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src/engine\'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok/src\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4/amarok\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/amarok-1.2-beta4\'
make: *** [all] Error 2

Post edited by: sleepkreep, at: 2005/02/10 10:08
sleepkreep
Registered Member
Posts
41
Karma
0

Re:beta4 compilation error

Sun Feb 13, 2005 3:16 am
Ok, I got it to work through some tricker. It compiles just fine on my laptop so I made a RPM with that machine. Now everything works great. Just two thing that I will probably move to another post. When playing a wma file with xine engine, the song status bar at the bottom of the window doesn\'t move. If I move it than that song stops playing and moves on to the next one on the playlist. Except after that I get no sound. I have to quit amarok and start it again in order to restore sound. One more thing, all of my WMAs appear in the collection tab under unknown. Of course, I can\'t edit them because taglib doesn\'t support them. How do I get around this?


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]