Subject: Re: Maybe related to the gle failure-to-build?
To: Todd Vierling <tv@duh.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/12/2004 21:28:00
On Thu, 7 Oct 2004, Todd Vierling wrote:

> > > > /usr/pkgsrc/audio/audacity/work.x86_64/.buildlink/lib/libwx_gtk2.so:
> > > > undefined reference to `operator new(unsigned long)'
> > > > /usr/pkgsrc/audio/audacity/work.x86_64/.buildlink/lib/libwx_gtk2.so:
> > > > undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
> > >
> > > This looks similar to errors I get with building audio/arts under Linux.
> > > I have not been able to build audio/arts under Linux for probably over six
> > > months (and others have had problem too). I'll try again today.
> >
> > If you still have problems, post a build log.  It's likely that there's a
> > missing "USE_LANGUAGES=c c++" in arts itself, or one of its dependencies.
>
> Hm, nevermind methinks.  I believe jlam found the problem and is working on
> it.

Well arts failed again. Hopefully, we'll be able to figure this out. (The
work-around before was to build it manually in the work directory then
package it to use on other systems.)

The build log I have is about 2MB of errors. If anyone wants it I can make
it available.

Examples:

/usr/gcc3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined
reference to
`Arts::Type::_staticTypeCount'
.libs/kmedia2.o(.text+0x7b): In function
`Arts::poTime::poTime[in-charge]()':
/usr/gcc3/include/c++/3.3.3/bits/basic_string.h:249: undefined reference
to `Arts::Type::_staticTypeCount'
.libs/kmedia2.o(.text+0xdf): In function
`Arts::poTime::poTime[not-in-charge](lo
ng, long, float, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':
../mcop/type.h:50: undefined reference to `Arts::Type::_staticTypeCount'
.libs/kmedia2.o(.text+0x16b): In function `void
Arts::readObject<Arts::InputStre
am_base>(Arts::Buffer&, Arts::InputStream_base*&)':
/usr/gcc3/include/c++/3.3.3/bits/stl_uninitialized.h:109: undefined
reference to
 `Arts::Type::_staticTypeCount'
.libs/kmedia2.o(.text+0x1f7): In function `void
Arts::readObject<Arts::InputStre
am_base>(Arts::Buffer&, Arts::InputStream_base*&)':
/usr/gcc3/include/c++/3.3.3/i386-pc-linux/bits/atomicity.h:57: undefined
reference to `Arts::Type::_staticTypeCount'

...

/usr/gcc3/include/c++/3.3.3/i386-pc-linux/bits/atomicity.h:50: undefined
reference to `Arts::Object_base::~Object_base [not-in-charge]()'
.libs/kmedia2.o(.gnu.linkonce.t._ZN4Arts20VideoPlayObject_baseD1Ev+0x35):
In function `Arts::VideoPlayObject_base::~VideoPlayObject_base [in-charge]()':
/usr/gcc3/include/c++/3.3.3/i386-pc-linux/bits/atomicity.h:50: undefined
reference to `Arts::Object_base::~Object_base [not-in-charge]()'
.libs/kmedia2.o(.gnu.linkonce.t._ZN4Arts20VideoPlayObject_stubD1Ev+0x4e):
In function `Arts::VideoPlayObject_stub::~VideoPlayObject_stub [in-charge]()':
/usr/gcc3/include/c++/3.3.3/bits/stl_alloc.h:652: undefined reference to
`Arts::Object_stub::~Object_stub [not-in-charge]()'
.libs/kmedia2.o(.gnu.linkonce.t._ZN4Arts20VideoPlayObject_stubD1Ev+0x67):
In function `Arts::VideoPlayObject_stub::~VideoPlayObject_stub [in-charge]()':
/usr/gcc3/include/c++/3.3.3/bits/stl_algobase.h:373: undefined reference
to `Arts::Object_base::~Object_base [not-in-charge]()'

...

.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts24PitchablePlayObject_baseE+0x10):../m
cop/common.h:72: undefined reference to `typeinfo for Arts::Object_base'
.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts24PitchablePlayObject_stubE+0x18):/usr
/gcc3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined reference
to `typeinfo for Arts::Object_stub'
.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts24PitchablePlayObject_skelE+0x18):/usr
/gcc3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined reference
to `typeinfo for Arts::Object_skel'
.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts20VideoPlayObject_baseE+0x10):../mcop/
common.h:72: undefined reference to `typeinfo for Arts::Object_base'
.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts20VideoPlayObject_stubE+0x18):/usr/gcc
3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined reference to
`typeinfo for Arts::Object_stub'
.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts20VideoPlayObject_skelE+0x18):/usr/gcc
3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined reference to
`typeinfo for Arts::Object_skel'

Also, I saw some errors like shlib doesn't know CXX too:

shlibtool: ignoring unknown tag CXX

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/