From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ba33,84f2d0bd0dbf818d X-Google-Attributes: gid10ba33,public X-Google-Thread: fee84,84f2d0bd0dbf818d X-Google-Attributes: gidfee84,public X-Google-Thread: f97d0,84f2d0bd0dbf818d X-Google-Attributes: gidf97d0,public From: jochen@uni-duesseldorf.de (Jochen K"upper) Subject: Re: Using vector object of STL Date: 1998/07/09 Message-ID: #1/1 X-Deja-AN: 369806801 Sender: jochen@bacchus.pc1.uni-duesseldorf.de References: <35a3bd57.174072713@news.gov.on.ca> Organization: Heinrich Heine Universitaet Duesseldorf Newsgroups: gnu.g++.help,gnu.g++,comp.unix.osf.osf1 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 > #include > main(){ > vector v; > } > > > g++ -fguiding-decls test.c > collect2: ld returned 1 exit status > /usr/bin/ld: > Unresolved: > __default_alloc_template::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 -----------------------------------------------------------------------