[mythtv-users] compiling svn on gentoo failing at _ZL15run_priv_threadPv

MarcT myrdhn at gmail.com
Mon Oct 26 22:28:10 UTC 2009


 

 

From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of mythtv users
Sent: Monday, October 26, 2009 5:59 PM
To: mythtv-users at mythtv.org
Subject: [mythtv-users] compiling svn on gentoo failing at
_ZL15run_priv_threadPv

 

Hey guys,

 

Just recently tried compiling SVN on gentoo via the mt-mythtv layman
overlay.  Here are the issues i'm having and relevant data:

 

system is gentoo

kernel version is 2.6.24-gentoo-r7

gcc is 4.3.4

 

output from the ebuild is as follows:

 

main.o: In function `main':
main.cpp:(.text+0xce4): undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
main.o: In function `_ZL15run_priv_threadPv':
main.cpp:(.text+0x229d): undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
main.cpp:(.text+0x24bc): undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
../../libs/libmythtv/libmythtv-0.22.so: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char,
std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)'
collect2: ld returned 1 exit status
make[2]: *** [mythavtest] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-tv/mythtv-9999/work/mythtv/programs/mythavtest'
make[1]: *** [sub-mythavtest-make_default] Error 2
make[1]: Leaving directory
`/var/tmp/portage/media-tv/mythtv-9999/work/mythtv/programs'
make: *** [sub-programs-make_default-ordered] Error 2
 *
 * ERROR: media-tv/mythtv-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3336:  Called myth-svn_src_compile
 *             environment, line 2792:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" "${@}" || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/media-tv/mythtv-9999/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-tv/mythtv-9999/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/local/portage/layman/mt-mythtv/eclass/myth-svn.eclass
 * This ebuild is from an overlay named 'MythTV-trunk':
'/usr/local/portage/layman/mt-mythtv/'
 *

 

Immediately when i saw the issues above, i thought this was a problem with
my gcc version or my libstdc++,  i checked and libstdc++ is installed
(version 3.3)

 

Can anyone provide any input on this?

 

Jon

 

 

 

 

 

 

 

Jon, 

 

What SVN version are you trying to build?

The last version I built was 22562. If you tell me which version you are
trying right now I can build it myself to test.

I had a similar issue recently with ld when I updated my base system, emerge
-ND system, I then tried a world update and got ld failures. I did a
revdep-rebuild but it didn't help. I ended up having to run an emerge -e
system to resolve.

 

MarcT

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091026/cb04b3e1/attachment.htm>


More information about the mythtv-users mailing list