Subject: pkg/37077: archivers/dar: 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:00
>Number:         37077
>Category:       pkg
>Synopsis:       archivers/dar: 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:00 +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 archivers/dar on Slackware Lunix 10.2, I get the following errors:

[snip]
shell_interaction.cpp:(.text+0x20e4): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
shell_interaction.o:shell_interaction.cpp:(.text+0x2134): more undefined references to `__gnu_cxx::__exchange_and_add(int volatile*, int)' follow
../libdar/.libs/libdar.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
../libdar/.libs/libdar.so: undefined reference to `std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)'
../libdar/.libs/libdar.so: 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&)'
../libdar/.libs/libdar.so: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
../libdar/.libs/libdar.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
../libdar/.libs/libdar.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&)'
../libdar/.libs/libdar.so: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)'
collect2: ld returned 1 exit status
gmake[3]: *** [dar] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/archivers/dar/work/dar-2.3.3/src/dar_suite'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/archivers/dar/work/dar-2.3.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/archivers/dar/work/dar-2.3.3'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/archivers/dar
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/archivers/dar

Before the snip, a long list of very similar errors occours. 

This was using branch 2007Q2 updated from CVS a few minutes ago.

Complete make output available at http://xs4all.nl/~maribu/devel/NetBSD/misc/pkgsrc-archivers_dar_Sat%20Oct%20%206%2021:17:54%20UTC%202007-make.1.log.gz (UNIX gzip, 13K)

>How-To-Repeat:
#!/bin/sh
make() ( exec bmake "${@}" );
cd archivers/dar &&
exec make
>Fix:
No fix is currently known.