All of lore.kernel.org
 help / color / mirror / Atom feed
* Musicbrainz
@ 2009-08-22 10:00 Stuart Gray
  2009-08-23  2:53 ` Musicbrainz Holger Hans Peter Freyther
  0 siblings, 1 reply; 6+ messages in thread
From: Stuart Gray @ 2009-08-22 10:00 UTC (permalink / raw)
  To: General mailing list for gumstix users., openembedded-devel

hi,

Has any one successfully compiled libmusicbrainz_3.0.2.

I have this compiling but it fails at the linking stage as it cannot find
the library libstdc++.so.6.

I have tried various EXTRA_OEMAKE, OECONF, OECMAKE, but none will add the
option to the linking stage. Can anyone give me some pointers.


|
/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
warning: libstdc++.so.6, needed by ../src/libmusicbrainz3.so.6.2.0, not
found (try using -rpath or -rpath-link)
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`__cxa_allocate_exception@CXXABI_1.3'
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`__gnu_cxx::__exchange_and_add(int volatile*, int)@GLIBCXX_3.4'
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::rfind(char, unsigned int) const@GLIBCXX_3.4'
| ../src/libmusicbrainz3.so.6.2.0: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::assign(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)@GLIBCXX_3.4'


I thoungth this should the place where I could add the linrary

oe_soinstall() {
    # Purpose: Install shared library file and
    #          create the necessary links
    # Example:
    #
    # oe_
    #
    #oenote installing shared library $1 to $2
    #
    libname=`basename $1`
    install -m 755 $1 $2/$libname
    sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $1 |grep 'Library
soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
    solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
    ln -sf $libname $2/$sonamelink
    ln -sf $libname $2/$solink

}

Please let me know if this is the correct way to proceed.

Thanks,
Stuart


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-25 13:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22 10:00 Musicbrainz Stuart Gray
2009-08-23  2:53 ` Musicbrainz Holger Hans Peter Freyther
2009-08-24  9:50   ` Musicbrainz Stuart Gray
2009-08-24  9:59     ` Musicbrainz Stuart Gray
2009-08-25 11:07       ` Musicbrainz Holger Hans Peter Freyther
2009-08-25 12:55         ` Musicbrainz Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.