ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/27/16:02:03

From: fwarren574 AT aol DOT com (FWarren574)
Newsgroups: comp.os.msdos.djgpp
Subject: Need Help - undefined ref using stream i/o
Lines: 24
Message-ID: <1998052719051800.PAA10745@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Date: 27 May 1998 19:05:18 GMT
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have the compiler installed on my DOS laptop and have been working my way
through a book on C++.  I got to the chapter that talked about stream I/O and
tried to compile and link the book examples.  All of them bomb with undefined
references.  The types I'm getting are:

error: undefined reference to 'ostream::seekp(long, ios::seek_dir)'

and 

error: c:/djgpp/lib/libstdcx.a(strstream.o)(.txt+0xfa):strstream.cc:
     undefined reference to '__eh_pc'
and also to 
    '__throw'
    'terminate(void)'
    '_rtti_class'

I figure I have the compiler configuration wrong, but I don't know where I
messed up.  Can anyone help?

Please respond via email as I'm not a regular on this group.

Thanks!

Fred

- Raw text -


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