delorie.com/archives/browse.cgi | search |
Newsgroups: | comp.os.msdos.djgpp |
X-Comment-To: | All |
From: | Oleg Ossovitskii <Oleg DOT Ossovitskii AT p20 DOT f44 DOT n478 DOT z2 DOT fidonet DOT org> |
Date: | Sat, 11 Sep 99 22:01:21 +0300 |
Subject: | Troubles with _String.h & _Regex.h |
Message-ID: | <937091118@p20.f44.n478.z2.FidoNet.ftn> |
Organization: | Without C we'd have BASI, PASAL & OBOL ;-) |
X-FTN-AREA: | HURRICANE.COMP.OS.MSDOS.DJGPP |
X-FTN-MSGID: | 2:478/44 DOT 20 AT FidoNet DOT org 37dae02e |
X-FTN-PID: | GED386 3.0.1-asa9 SR1 |
X-FTN-CHRS: | IBMPC 2 |
X-FTN-RealName: | οΜΕΗ οΜΕΗΟΧΙή οΣΟΧΙΓΛΙΚ aka Stryker icq# 28860835 |
X-FTN-Location: | Kalinigrad, West Russia |
X-FTN-GC: | Geek-R 1.3 GCC/IT/M/PR/* a20 d- H- s++:- C++ c3 hw- B- F I cc pn++ D+ |
X-FTN-O: | U W+ M pr+ ln++ sl+@ sw@ PS+ PE? eq+ Y- h+ sx+ b+:+ g m++ R% tv- hu@ |
X-FTN-e: | + E>+:- mt>+ ph+@ UF co+@ ck- ho- n- p r-@ x+@ A+$ he-@ sm- sp- |
X-FTN-TID: | FastEcho 1.46 28860835 |
X-FTN-Tearline: | Microsoft FidoNet Explorer/386 3.0.1-asa9 SR1 -={SCS.METALSPORT $$ }=- |
X-FTN-Origin: | Without C we'd have BASI, PASAL & OBOL ;-) (2:478/44.20) |
X-FTN-SEEN-BY: | 478/44 |
X-FTN-PATH: | 478/44 |
X-FTN-PATH: | 478/44 |
Lines: | 49 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hello, All, how do You do? When I try use `String' class I get error message. It's linker's error. Which libraries I must use with gcc 2.95? I not yet downloaded lgpp295b.zip, may this be reason of trouble? Is there release of gcc 2.95? I had previous installed gcc 2.81 and I'v downloaded gcc295b.zip, gpp295b.zip and objc295b.zip. Where is the trouble? ================== Begin of Windows Clipboard ================= C:\Temp>gpp -s -o rege rege.cc c:/app/djgpp/tmp\cceNm1FG.o(.text+0x22):rege.cc: undefined reference to `String: :String(void)' c:/app/djgpp/tmp\cceNm1FG.o(.text+0x4b):rege.cc: undefined reference to `operato r>>(istream &, String &)' c:/app/djgpp/tmp\cceNm1FG.o(.text+0x5f):rege.cc: undefined reference to `operato r<<(ostream &, String const &)' c:/app/djgpp/tmp\cceNm1FG.o(.text+0x70):rege.cc: undefined reference to `String: :~String(void)' c:/app/djgpp/tmp\cceNm1FG.o(.text+0x9a):rege.cc: undefined reference to `String: :~String(void)' collect2: ld returned 1 exit status =================== End of Windows Clipboard ================== ================== Begin of rege.cc ================= #include <_String.h> int main (void) { String s; cout << "\nInput some characters: "; cin >> s; cout << s; return 0; } =================== End of rege.cc ================== Best regardz, Oleg Ossovitskii mailto: stryker AT kaliningrad DOT ru ... Solve millenuim bug! - y2k.com [ FA EB FE C3 ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |