Message: previous - next
Month: April 2016

Re: [trinity-users] THANKS! (and an error compiling amarok)

From: "Diego M. Vadell" <dvadell@...>
Date: Wed, 6 Apr 2016 13:26:46 -0300
On Sunday 03 April 2016 07:46:11 Michele Calgaro wrote:

> You may also find useful info here
> Jerry has built trinity on Slackware some time ago, I think you can also
> find some build scripts ;-) Cheers
>   Michele

Thanks Michele. Everything is compiled for the last stable slackware release, 
but I'm using the -current (bleeding edge) branch. Some apps can't be 
compiled, like kuickshow, that relies on imlib (not imlib2) that was dropped.

Anyhow, I donwloaded it and using it for reference. Thanks!

Returning to amarok, I think I'm close to compile sucessfully. This is what I 

$ tar jxf amarok-R14.0.3.tar.bz2
$ cd amarok
$ bash admin/ dist
$ ./configure

libtool: Version mismatch error.  This is libtool 2.2.6b 
Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.

$ rm libtool
$ ln -s /usr/bin/libtool
$ make

After some minutes it ends with this error:

libtool: link: 
g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -g -O2 
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -
fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt 
-DQT_NO_TRANSLATION -o .libs/amarokapp 
main.o  -L/opt/trinity/lib64 -L/opt/trinity/lib -L/usr/lib64 -L/usr/X11R6/lib 
../../amarok/src/amarokcore/.libs/libamarokcore.a ./.libs/ 
/opt/trinity/lib/ /opt/trinity/lib/ 
/opt/trinity/lib/ /opt/trinity/lib/ 
/opt/trinity/lib/ /opt/trinity/lib/ 
/opt/trinity/lib/ -ltag 
/opt/trinity/lib/ /usr/lib64/ -lz /usr/lib64/
/usr/lib64/ /usr/lib64/ /usr/lib64/ 
/usr/lib64/ -ldl /usr/lib64/ /usr/lib64/ 
/usr/lib64/ /opt/trinity/lib/ -lpthread 
../../amarok/src/metadata/.libs/libmetadata.a /usr/lib64/../lib64/
-lm /opt/trinity/lib/ -Wl,-rpath -Wl,/opt/trinity/lib64 -Wl,-rpath
-Wl,/opt/trinity/lib -Wl,-rpath -Wl,/usr/lib64/../lib64 -Wl,-rpath 

./.libs/ undefined reference to `typeinfo for TQGLWidget'
[more undefined references]
./.libs/ undefined reference to `TQGLWidget::paintOverlayGL()'
./.libs/ undefined reference to `TQGLWidget::resizeOverlayGL(int, 
./.libs/ undefined reference to `TQGLWidget::makeCurrent()'
./.libs/ undefined reference to 
collect2: error: ld returned 1 exit status
Makefile:1176: recipe for target 'amarokapp' failed

TQT is compiled without OpenGL, because I use the nvidia propietary OpenGL 
libraries. Could it be that is looking for those symbols?

This is the configure final output.

= The following extra functionality will NOT be included:
 =   - NMM-engine
 =   - Helix-engine
 =   - yauap-engine
 =   - MySql Support
 =   - Postgresql Support
 =   - MusicBrainz Support
 =   - MP4/AAC Tag Write Support
 =   - iRiver iFP Support
 = The following extra functionality will be included:
 =   + xine-engine
 =   + libvisual Support
 =   + Konqueror Sidebar
 =   + iPod Support
 =   + Creative Nomad Jukebox Support
 =   + MTP Device Support
 =   + Rio Karma Support
 =   + DAAP Music Sharing Support

Cheers, and thanks!
 -- Diego.