www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/27/05:30:15

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I'm having a bit of trouble with DJGPP
Date: 27 Mar 2002 08:58:25 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 53
Message-ID: <a7s1jh$812$1@antares.lu.erisoft.se>
References: <a7rh26$h63$1 AT news DOT chatlink DOT com>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Kodachi (kodachi AT bsn1 DOT net) wrote:
: I'm having a bit of trouble with DJGPP and the GCC 3.04.
: my short temporary program of>

: #include <iostream>
: #include <string>

: int main()
: {

:   std::string temp("Good Bye World");
:   std::cout<<"Hello World /n";
:   std::cout<<temp;
:   std::cin>>temp;
:   std::cout<<temp;
:   return (0);
: }

: gives me a long error message like>

...

: undefined reference to `std::locale::locale(std::locale const&)'
: c:/djgpp/tmp\ccC5TsaX.o(.gnu.linkonce.t._ZNSt8ios_base5pwordEi+0x3a):temp.cc
: : un
: defined reference to `std::ios_base::_M_grow_words(int)'
: c:/djgpp/tmp\ccC5TsaX.o(.eh_frame+0x12):temp.cc: undefined reference to
: `__gxx_p
: ersonality_v0'
: collect2: ld returned 1 exit status

: What the <bad word omitted> does that mean.

1. Don't use foul language.

2. Because of 1, that post won't be mailed to the mailing list, which
means your question will reach less people, which means you're only
hurting your chances of a reply.

3. You probably didn't read the instruction when reinstalling
gpp*b.zip.

4. If you did, you'd find out that you should uninstall the old gpp
before installing a newer.

5. How to uninstall is in the FAQ.


Right,

						MartinS


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019