Re: No STL linked; was Re: libpanel

From: D. R. Evans (N7DR_at_arrl.net)
Date: 08/08/03 17:00 EDT


From: "D. R. Evans" <N7DR@arrl.net>
Subject: Re: [ardour-dev] No STL linked; was Re: libpanel
Message-ID: <3F33BB23.6922.D21F0@localhost>
Date: Fri, 08 Aug 2003 15:00:51 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK; thanks to all you kind people, ./configure now runs without any errors.

Make seems to compile everything OK, and to build the various libraries.

Nut when it comes to link time, I get 5MB of error output, that begins with 
this:

about.o: In function `About::About[not-in-charge]()':
/home/n7dr/tmp/ardour/ardour-0.9beta2/gtk_ardour/about.cc:206: undefined 
reference to `std::allocator<char>::allocator[in-charge]()'
/home/n7dr/tmp/ardour/ardour-0.9beta2/gtk_ardour/about.cc:206: undefined 
reference to `std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string[in-charge](char const*, 
std::allocator<char> const&)'

Taking random samples at points throughout the 5MB output, it is seems to 
be more-or-less the same, and it all refers to being unable to find STL 
stuff.

Any ideas as to what to do next gratefully received.

As I have mentioned before, I do C++ development on this machine and my 
programs don't produce any STL-related linkage errors.

BTW, and off-topic, I had a "mere" 700 MB of RAM+swap, and discovered that 
that is insufficient to build ardour (ld would crash). I bought another 
512MB of RAM and put it in; ld stopped crashing, but unfortunately it still 
produced all these errors.

I also tried to figure out how to force ld to use the --no-keep-memory 
option, in case that would help (and it would have been cheaper than buying 
512MB of RAM :-) ) but the two obvious things I tried both failed:

1. Execute ./configure LDFLAGS=--no-keep-memory
2. export LDFLAGS=--no-keep-memory before running ./configure

In both cases ./configure very quickly gave an error (something about gcc 
being unable to produce an executable) and exited.

  Doc


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: Key obtainable from servers: ID 0x362912B8

iQA/AwUBPzQPhGnXrLw2KRK4EQJl8ACgxFFDo3WSDXqw4zRdTUrDIjiIB0gAnRKe
7dyp6sBgtiRSzbblFToYnQ+5
=GtCv
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
ardour-dev mailing list
ardour-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ardour-dev

This archive was generated by hypermail 2.1.7 : 08/08/03 17:16 EDT