Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2021-12-04 14:22:44



Reply to topic  [ 5 posts ] 
building 1.28.2.18 from source fails at the linker stage 
Author Message

Joined: 2009-03-18 09:32:02
Posts: 245
Reply with quote
Hi,

I'm trying to build from source (rpm packages for openSUSE and Fedora) and 1.29.2.18 fails to build - it dies at the linker stage:

Code:
[  851s] [100%] Linking CXX executable CoolVLViewer
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/../lib/release/libfmod.so: .dynsym local symbol at index 2 (>= sh_info of 2)
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/../lib/release/libfmod.so: .dynsym local symbol at index 3 (>= sh_info of 2)
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/../lib/release/libfmod.so: .dynsym local symbol at index 4 (>= sh_info of 2)
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/../lib/release/libcollada14dom.a(daeUtils.o): in function `cdom::getRandomFileName[abi:cxx11]()':
[ 1354s] /root/cvlv-colladadom/colladadom/src/dae/daeUtils.cpp:171: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/../lib/release/libfmod.so: .dynsym local symbol at index 2 (>= sh_info of 2)
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/../lib/release/libfmod.so: .dynsym local symbol at index 3 (>= sh_info of 2)
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/../lib/release/libfmod.so: .dynsym local symbol at index 4 (>= sh_info of 2)
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/ccrmHMDl.ltrans6.ltrans.o: in function `LLSettingsDay::getSettingsNearKeyframe(float, int, float) const':
[ 1354s] /home/abuild/rpmbuild/BUILD/linden/indra/llinventory/llsettingsdaycycle.cpp:904: undefined reference to `LLSettingsBase::INVALID_TRACKPOS'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/llinventory/llsettingsdaycycle.cpp:911: undefined reference to `LLSettingsBase::INVALID_TRACKPOS'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/llinventory/llsettingsdaycycle.cpp:937: undefined reference to `LLSettingsBase::INVALID_TRACKPOS'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/ccrmHMDl.ltrans16.ltrans.o: in function `encodeAlteredFields':
[ 1354s] /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:173: undefined reference to `LLPathfindingLinkset::MAX_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:173: undefined reference to `LLPathfindingLinkset::MIN_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:179: undefined reference to `LLPathfindingLinkset::MAX_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:179: undefined reference to `LLPathfindingLinkset::MIN_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:185: undefined reference to `LLPathfindingLinkset::MAX_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:185: undefined reference to `LLPathfindingLinkset::MIN_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:191: undefined reference to `LLPathfindingLinkset::MAX_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llpathfindinglinkset.cpp:191: undefined reference to `LLPathfindingLinkset::MIN_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/ccrmHMDl.ltrans21.ltrans.o: in function `onWalkabilityCoefficientEntered':
[ 1354s] /home/abuild/rpmbuild/BUILD/linden/indra/newview/llfloaterpathfindinglinksets.cpp:577: undefined reference to `LLPathfindingLinkset::MAX_WALKABILITY_VALUE'
[ 1354s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/linden/indra/newview/llfloaterpathfindinglinksets.cpp:577: undefined reference to `LLPathfindingLinkset::MIN_WALKABILITY_VALUE'
[ 1354s] collect2: error: ld returned 1 exit status


any ideas?


2021-04-10 11:57:05
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 4776
Reply with quote
It looks like a 'ld' bug... What is its type ("gold" ld or not) and version on your system ?


2021-04-10 12:24:32
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 245
Reply with quote
Code:
lemmy@kumiko:~> ld --version
GNU ld (GNU Binutils; openSUSE Leap 15.2) 2.35.1.20201123-lp152.4.6
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.


the interesting part is that it happens on fedora builds too...


2021-04-10 13:44:05
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 4776
Reply with quote
I have no issue with "GNU ld (GNU Binutils) 2.34"...

Anyway, I changed the three occurrences of constexpr in v1.28.2.19, which should work around this issue (hoping it will not get other issues elsewhere)...


2021-04-10 13:47:21
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 245
Reply with quote
I just noticed 1.28.2.19 :)


2021-04-10 13:48:40
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.