Re: Linker error tdelibs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 28 Dec 2017 10:44:28 +0100
Kai Peter <kp@xxxxxxxxxxxxxxxxxxx> wrote:

> Hi,
> 
> I want to build trinity core and did follow the order at the website. As 
> it was mentioned as optional I didn't build avahi-tqt and tqca. I have 
> disabled cups too. Now I get a linker error with tdelibs:
> 
> misc/libtdehtmlmisc.a(htmlhashes.cpp.o): In function 
> `tdehtml::getAttrID(char const*, int)':
> htmlhashes.cpp:(.text+0x27b): undefined reference to `findAttr(char 
> const*, unsigned int)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [tdehtml/CMakeFiles/tdehtml-shared.dir/build.make:521: 
> tdehtml/libtdehtml.so.14.0.0] Error 1
> make[2]: Leaving directory 
> '/mnt/NAS/Projects/trinity/core/09-tdelibs/build'
> make[1]: *** [CMakeFiles/Makefile2:9838: 
> tdehtml/CMakeFiles/tdehtml-shared.dir/all] Error 2
> make[1]: Leaving directory 
> '/mnt/NAS/Projects/trinity/core/09-tdelibs/build'
> make: *** [Makefile:130: all] Error 2
> 
> It seems that there is something missing - but what? What have to be 
> linked? Do I have to install some additional package/lib? I couldn't 
> locate `findAttr(char const*, unsigned int)' yet. Any help is 
> appreciated. My OS is an up-to-date Gentoo.

There's a set of TDE live ebuilds (not complete, but all of tde-base is there)
at https://github.com/Fat-Zer/trinity .  It may be easier to work from these than
trying to build by hand.  Deps list for tdelibs there:

MY_DEPEND=">=dev-qt/tqtinterface-${TRINITY_VER}
	>=dev-libs/libxslt-1.1.16
	>=dev-libs/libxml2-2.6.6
	>=dev-libs/libpcre-6.6
	net-dns/libidn
	app-text/ghostscript-gpl
	>=dev-libs/openssl-0.9.7d:=
	media-libs/fontconfig
	media-libs/freetype:2
	media-libs/libart_lgpl
	sys-apps/dbus
	dev-libs/dbus-1-tqt
	x11-libs/libXcursor
	x11-libs/libXrender
	alsa? ( media-libs/alsa-lib )
	avahi? ( net-dns/avahi )
	cups? ( >=net-print/cups-1.1.19 )
	fam? ( virtual/fam )
	jpeg2k? ( media-libs/jasper )
	lua? ( dev-lang/lua:* )
	openexr? ( >=media-libs/openexr-1.2.2-r2 )
	spell? ( >=app-dicts/aspell-en-6.0.0 >=app-text/aspell-0.60.5 )
	sudo? ( app-admin/sudo )
	tiff? ( media-libs/tiff:= )
	utempter? ( sys-libs/libutempter )
	networkmanager? ( net-misc/networkmanager )
	lzma? ( app-arch/xz-utils )
	xrandr? ( >=x11-libs/libXrandr-1.2 )
	xcomposite? ( x11-libs/libXcomposite )"
# NOTE: upstream lacks avahi support, so the use flag is currenly masked
# TODO: add elfres support via libr (not in portage now)
DEPEND+=" ${MY_DEPEND}"
RDEPEND+=" ${MY_DEPEND}
	consolekit? ( sys-auth/consolekit )
	upower? ( sys-power/upower )
	udisks? ( sys-fs/udisks:2 )
	old_udisks? ( sys-fs/udisks:0 )"


E. Liddell

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-devel-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux