Subject: pkg/37079: audio/arts: undefined references on Slackware Lunix 10.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <zeurkous@nichten.info>
List: pkgsrc-bugs
Date: 10/07/2007 23:55:01
>Number: 37079
>Category: pkg
>Synopsis: audio/arts: undefined references on Slackware Lunix 10.2
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 07 23:55:01 +0000 2007
>Originator: De Zeurkous
>Release: Slackware Lunix 10.2
>Organization:
Korax Productions
>Environment:
Linux zeurcomp 2.4.31 #21 Sun Jun 5 19:19:51 PDT 2005 i686 unknown unknown GNU/Lunix
>Description:
When attempting to build audio/arts on Slackware Lunix 10.2, I get the following errors:
[snip]
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I../artsc -I../mcop -I../mcop -I/usr/local/include -I/usr/local/qt3/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -D_REENTRANT -pthread -I/usr/local/include/glib/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -finline-functions -fomit-frame-pointer -ffast-math -pipe -mfpmath=sse -m3dnow -mmmx -msse -I/usr/local/include -I/usr/local/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -O0 -MT namespace.o -M
D -MP -MF ".deps/namespace.Tpo" -c -o namespace.o namespace.cc; \
then mv -f ".deps/namespace.Tpo" ".deps/namespace.Po"; else rm -f ".deps/namespace.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --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 -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -finline-functions -fomit-frame-pointer -ffast-math -pipe -mfpmath=sse -m3dnow -mmmx -msse -I/usr/local/include -I/usr/local/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -O0 -L/usr/local/qt3/lib -L/usr/local/lib -Wl,-R/usr/local/qt3/lib -Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o mcopidl -L/usr/local/lib -L/usr/local/qt3/lib -L/usr/X11R6/lib -L/usr/local/qt3/lib -L/usr/local/lib -Wl,-R/usr/local/qt3/lib -Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib mcopidl.o yacc.o scanner.o namespace.o ../mcop
/libmcop.la -lpthread -lrt
mcopidl.o: In function `std::list<Arts::EnumDef, std::allocator<Arts::EnumDef> >::_M_insert(std::_List_iterator<Arts::EnumDef>, Arts::EnumDef const&)':
mcopidl.cc:(.gnu.linkonce.t._ZNSt4listIN4Arts7EnumDefESaIS1_EE9_M_insertESt14_List_iteratorIS1_ERKS1_+0x2b): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
mcopidl.o: In function `std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert(std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
mcopidl.cc:(.gnu.linkonce.t._ZNSt4listISsSaISsEE9_M_insertESt14_List_iteratorISsERKSs+0x2b): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
mcopidl.o: In function `std::list<Arts::TypeDef, std::allocator<Arts::TypeDef> >::_M_insert(std::_List_iterator<Arts::TypeDef>, Arts::TypeDef const&)':
mcopidl.cc:(.gnu.linkonce.t._ZNSt4listIN4Arts7TypeDefESaIS1_EE9_M_insertESt14_List_iteratorIS1_ERKS1_+0x2b): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
mcopidl.o: In function `std::list<Arts::InterfaceDef, std::allocator<Arts::InterfaceDef> >::_M_insert(std::_List_iterator<Arts::InterfaceDef>, Arts::InterfaceDef const&)':
mcopidl.cc:(.gnu.linkonce.t._ZNSt4listIN4Arts12InterfaceDefESaIS1_EE9_M_insertESt14_List_iteratorIS1_ERKS1_+0x2b): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
mcopidl.o: In function `std::list<ForwardCode, std::allocator<ForwardCode> >::_M_insert(std::_List_iterator<ForwardCode>, ForwardCode const&)':
mcopidl.cc:(.gnu.linkonce.t._ZNSt4listI11ForwardCodeSaIS0_EE9_M_insertESt14_List_iteratorIS0_ERKS0_+0x2b): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
mcopidl.o: In function `std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, bool>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, bool> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, bool> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, bool> const&)':
mcopidl.cc:(.gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSsbESt10_Select1stIS2_ESt4lessISsESaIS2_EE9_M_insertEPSt18_Rb_tree_node_baseSA_RKS2_+0xa8): undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
mcopidl.o: In function `std::_Rb_tree_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, bool> >::operator--()':
mcopidl.cc:(.gnu.linkonce.t._ZNSt17_Rb_tree_iteratorISt4pairIKSsbEEmmEv+0x12): undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
mcopidl.o: In function `std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&)':
mcopidl.cc:(.gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE9_M_insertEPSt18_Rb_tree_node_baseSA_RKS2_+0xa8): undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
mcopidl.o: In function `std::_Rb_tree_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::operator--()':
mcopidl.cc:(.gnu.linkonce.t._ZNSt17_Rb_tree_iteratorISt4pairIKSsSsEEmmEv+0x12): undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
namespace.o: In function `std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_erase(std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
namespace.cc:(.gnu.linkonce.t._ZNSt4listISsSaISsEE8_M_eraseESt14_List_iteratorISsE+0xb): undefined reference to `std::_List_node_base::unhook()'
../mcop/.libs/libmcop.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
../mcop/.libs/libmcop.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
../mcop/.libs/libmcop.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
collect2: ld returned 1 exit status
gmake[2]: *** [mcopidl] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/audio/arts/work/arts-1.5.7/mcopidl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/audio/arts/work/arts-1.5.7'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/audio/arts
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/audio/arts
This was using branch 2007Q2 updated from CVS a few minutes ago. It probably requires the inclusion of some header file, but since I have no working knowledge of C++ I wouldn't know which.
Complete make output is available at http://xs4all.nl/~maribu/devel/NetBSD/misc/pkgsrc-audio_arts-Sun%20Oct%20%207%2020:25:51%20UTC%202007-make.log.gz (UNIX gzip, 9K).
>How-To-Repeat:
#!/bin/sh
cd audio/arts &&
exec make
>Fix:
No exact fix is currently known.