www.delorie.com/archives/browse.cgi | search |
From: | Michael Schuster <Schuster AT eev DOT e-technik DOT uni-erlangen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | String class linking problem |
Date: | Tue, 10 Nov 1998 09:43:44 +0100 |
Organization: | Regionales Rechenzentrum Erlangen, Germany |
Lines: | 36 |
Message-ID: | <3647FCBF.B7C400E7@eev.e-technik.uni-erlangen.de> |
NNTP-Posting-Host: | eev6.e-technik.uni-erlangen.de |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.05 [de] (Win95; I) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi! I've made an djgpp installation update from 2.7.xx to 2.8.1. everythings fine but I can't compile: #include <iostream.h> #include <_string.h> String E="W"; int a; int main() { cin>>E; } but compiling leads to: C:\C\TEST>gxx test.cc -lstdcxx -lgpp c:/djgpp/tmp\cccajq0e(.text+0x3b):test.cc: undefined reference to `String::~Stri ng(void)' c:/djgpp/tmp\cccajq0e(.text+0x56):test.cc: undefined reference to `String::Strin g(char const *)' C:\C\TEST>gxx --version 2.81 C:\C\TEST>gcc --version 2.81 What's wrong with my installation? Thanks in advance Michi
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |