From: mimo AT gewi DOT kfunigraz DOT ac DOT at (mimo) Newsgroups: comp.os.msdos.djgpp Subject: linker problem w/ class String Date: Sat, 02 May 1998 17:31:58 GMT Organization: MimoLand Lines: 31 Message-ID: <354c562b.14964878@news.kfunigraz.ac.at> NNTP-Posting-Host: 143.50.169.65 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk hi, when compiling the following : /* #include #include <_string.h> void main() { static String test = "Hallo"; cout << test; } */ i keep getting this output: /* Error: test.o: In function `__tcf_0': Error: test.cc(.text+0x1f): undefined reference to `String::~String(void)' Error: test.o: In function `main': Error: test.cc(.text+0x49): undefined reference to `String::String(char const *)' test.cc(2) Error: undefined reference to `operator<<(ostream &, String const &)' There were some errors */ any ideas? thx in advance mimo e willing to spend some time making the world a slightly better place, IMHO an even better solution would be to write a Tseng driver for the FreeBE/AF project (http://www.talula.demon.co.uk/freebe/). You need a recent Allegro WIP to use this, but if you wrote a suitable driver you could both fix these problems, and perhaps add support for hardware accelerated drawing... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Pigs use it for a tambourine" - Frank Zappa