Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Using vector object of STL
@ 1998-07-08  4:00 Frank Schnekenburger
  1998-07-09  4:00 ` Stefan Rupp
  1998-07-09  4:00 ` Jochen K"upper
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Schnekenburger @ 1998-07-08  4:00 UTC (permalink / raw)


Hi, I'm trying to get the vector object of the STL to work using g++
on an Alpha box running Digital UNIX, without much luck.  My test
program and the results of compiling follow.  Any help would be much
appreciated.  Thanks.

Frank

Frank Schnekenburger
schnekf@gov.on.ca


#include <iostream.h>
#include <vector.h>
main(){
  vector<int> v;
}


g++ -fguiding-decls test.c
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
__default_alloc_template<false, 0>::free_list





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

* Re: Using vector object of STL
  1998-07-08  4:00 Using vector object of STL Frank Schnekenburger
  1998-07-09  4:00 ` Stefan Rupp
@ 1998-07-09  4:00 ` Jochen K"upper
  1 sibling, 0 replies; 3+ messages in thread
From: Jochen K"upper @ 1998-07-09  4:00 UTC (permalink / raw)


schnekf@gov.on.ca (Frank Schnekenburger) writes:

> Hi, I'm trying to get the vector object of the STL to work using g++
> on an Alpha box running Digital UNIX, without much luck.  My test
> program and the results of compiling follow.  Any help would be much
> appreciated.  Thanks.
> 
> Frank
> 
> Frank Schnekenburger
> schnekf@gov.on.ca
> 
> 
> #include <iostream.h>
> #include <vector.h>
> main(){
>   vector<int> v;
> }
> 
> 
> g++ -fguiding-decls test.c
> collect2: ld returned 1 exit status
> /usr/bin/ld:
> Unresolved:
> __default_alloc_template<false, 0>::free_list

What version of gcc are you using. You should probably go to egcs !
1.0.3a is the last release, 1.1 to be out soon (weeks).

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------



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

* Re: Using vector object of STL
  1998-07-08  4:00 Using vector object of STL Frank Schnekenburger
@ 1998-07-09  4:00 ` Stefan Rupp
  1998-07-09  4:00 ` Jochen K"upper
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Rupp @ 1998-07-09  4:00 UTC (permalink / raw)


Hi,

schnekf@gov.on.ca (Frank Schnekenburger) writes:
> g++ -fguiding-decls test.c
> collect2: ld returned 1 exit status
> /usr/bin/ld:
> Unresolved:
> __default_alloc_template<false, 0>::free_list

The same program compiles just fine on my Alpha box running DIGITAL
UNIX 3.2 with g++ version 2.8.1. Maybe you haven't installed the
proper libstdc++?

Doei,
     struppi

-- 
Dipl.-Inform. Stefan H. Rupp
Geodaetisches Institut der RWTH Aachen         Email: struppi@acm.org
Templergraben 55, D-52062 Aachen, Germany      Tel.:  +49 241 80-5295



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

end of thread, other threads:[~1998-07-09  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-08  4:00 Using vector object of STL Frank Schnekenburger
1998-07-09  4:00 ` Stefan Rupp
1998-07-09  4:00 ` Jochen K"upper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox