trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2016

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

From: "E. Liddell" <ejlddll@...>
Date: Wed, 6 Apr 2016 17:07:28 -0400
On Wed, 6 Apr 2016 13:26:46 -0300
"Diego M. Vadell" <dvadell@...> wrote:

> On Sunday 03 April 2016 07:46:11 Michele Calgaro wrote:
> 
> [...]
> > You may also find useful info here
> > http://www.inpito.org/trinity.php.
> >
> > 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 
> did:
> 
> $ tar jxf amarok-R14.0.3.tar.bz2
> $ cd amarok
> $ bash admin/cvs.sh 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_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
> -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/libamarok.so 
> /opt/trinity/lib/libtdeparts.so /opt/trinity/lib/libDCOP.so 
> /opt/trinity/lib/libtdefx.so /opt/trinity/lib/libtdeio.so 
> /opt/trinity/lib/libtdeui.so /opt/trinity/lib/libtdehtml.so 
> /opt/trinity/lib/libtdenewstuff.so -ltag 
> ../../amarok/src/analyzers/.libs/libanalyzers.a 
> ../../amarok/src/plugin/.libs/libplugin.a 
> ../../amarok/src/statusbar/.libs/libstatusbar.a 
> /opt/trinity/lib/libtqt-mt.so /usr/lib64/libpng16.so -lz /usr/lib64/libXext.so
> /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so 
> /usr/lib64/libXdmcp.so -ldl /usr/lib64/libSM.so /usr/lib64/libuuid.so 
> /usr/lib64/libICE.so /opt/trinity/lib/libtqt.so -lpthread 
> ../../amarok/src/metadata/.libs/libmetadata.a /usr/lib64/../lib64/libstdc++.so
> -lm /opt/trinity/lib/libtdecore.so -Wl,-rpath -Wl,/opt/trinity/lib64 -Wl,-rpath
> -Wl,/opt/trinity/lib -Wl,-rpath -Wl,/usr/lib64/../lib64 -Wl,-rpath 
> -Wl,/usr/lib64
> 
> ./.libs/libamarok.so: undefined reference to `typeinfo for TQGLWidget'
> [more undefined references]
> ./.libs/libamarok.so: undefined reference to `TQGLWidget::paintOverlayGL()'
> ./.libs/libamarok.so: undefined reference to `TQGLWidget::resizeOverlayGL(int, 
> int)'
> ./.libs/libamarok.so: undefined reference to `TQGLWidget::makeCurrent()'
> ./.libs/libamarok.so: undefined reference to 
> `TQGLWidget::paintEvent(TQPaintEvent*)'
> 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

Wild guess, based on a pre-Trinity version of amaroK:  try passing --without-opengl
and/or disabling visualization support ( --without-libvisual , I think).

E. Liddell