trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] tdegames FTBFS - /usr/bin/ld: cannot find -lartsmodules ??

From: Slávek Banko <slavek.banko@...>
Date: Tue, 21 Jan 2014 18:16:47 +0100
Dne út 21. ledna 2014 David C. Rankin napsal(a):
> All,
>
>   tdegames built with -J4 for a long time producing 400K plus of build
> output only to crash:
>
> /bin/sh ../libtool  --tag=CXX   --mode=link g++  -Wno-long-long -Wundef
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts
> -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64
> -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
> -fpermissive -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  -L/opt/trinity/lib -L/opt/tqt3/lib 
>    -no-undefined -version-info 3:0:2
> -Wl,-O1,--sort-common,--as-needed,-z,relro -o libkolf.la -rpath
> /opt/trinity/lib kolf.lo game.lo canvasitem.lo ball.lo newgame.lo
> config.lo scoreboard.lo editor.lo pluginloader.lo object.lo vector.lo
> printdialogpage.lo kcomboboxdialog.lo kvolumecontrol.lo floater.lo
> slope.lo
> ../libtdegames/libtdegames.la -ltdeprint -ltdeio -lartskde
> -lsoundserver_idl -ltdefx -lartsmodules
> libtool: link: warning:
> `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libtqt.la'
> seems to be moved
> libtool: link: g++  -fPIC -DPIC -shared -nostdlib
> /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o
> /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbeginS.o  .libs/kolf.o
> .libs/game.o .libs/canvasitem.o .libs/ball.o .libs/newgame.o
> .libs/config.o .libs/scoreboard.o .libs/editor.o .libs/pluginloader.o
> .libs/object.o .libs/vector.o .libs/printdialogpage.o
> .libs/kcomboboxdialog.o .libs/kvolumecontrol.o .libs/floater.o
> .libs/slope.o   -Wl,-rpath
> -Wl,/build/tde-tdegames/src/tdegames/libtdegames/.libs
> -L/opt/trinity/lib -L/opt/tqt3/lib ../libtdegames/.libs/libtdegames.so
> -L/usr/lib/mysql -L/usr/X11R6/lib
> -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib
> /opt/trinity/lib/libtdednssd.so /opt/tqt3/lib/libtqt-mt.so -luuid -lpq
> -lmysqlclient -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
> -lfontconfig -ldl -lpng -lz -lXext -lX11 -lSM -lICE /usr/lib/libtqt.so
> -lpthread /opt/trinity/lib/libtdecore.so /opt/trinity/lib/libtdeui.so
> /opt/trinity/lib/libtdeprint.so /opt/trinity/lib/libtdeio.so
> /opt/trinity/lib/libartskde.so /opt/trinity/lib/libsoundserver_idl.so
> /opt/trinity/lib/libtdefx.so -lartsmodules
> -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/lib/../lib
> -L/usr/lib/../lib
> -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. -lstdc++ -lm -lc
> -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtendS.o
> /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o
> -march=x86-64 -mtune=generic -O2 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro   -Wl,-soname -Wl,libkolf.so.1 -o
> .libs/libkolf.so.1.2.0 /usr/bin/ld: cannot find -lartsmodules
> collect2: error: ld returned 1 exit status
> Makefile:750: recipe for target 'libkolf.la' failed
> make[3]: *** [libkolf.la] Error 1
> make[3]: Leaving directory '/build/tde-tdegames/src/tdegames/kolf'
> Makefile:964: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/build/tde-tdegames/src/tdegames/kolf'
> Makefile:587: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/build/tde-tdegames/src/tdegames'
> Makefile:503: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I don't know what this wants.... I don't have a library named
> libartsmodules as part of the arts package.

libartsmodules are not part of arts, but tdemultimedia.
You need to build tdemultimedia prior to tdegames.

Slavek
--