www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/14/13:45:48

From: Frank Blecha <fb3 AT ksu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: g++ install problem
Date: Sat, 14 Mar 1998 09:11:31 -0600
Organization: Kansas State University
Lines: 76
Message-ID: <350A9E23.52E43E89@ksu.edu>
NNTP-Posting-Host: tt69.slip.ksu.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've been having a weird problem getting g++ to compile.  With the
following program, I get the error msgs listed below.  I don't
understand the referencing error it keeps talking about. Any help would
be appreciated.

#include <iostream.h>

int main()
{
  char* c = "blah";
  cout <<"this is before"<<c <<c <<"this is after"<< c << endl;
}


../gcc/lib/libstdcxx.a(iostream.o)(.text+0x1b91):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x1cd1):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x1f42):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x2559):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x28ad):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(streambuf.o)(.text+0x703):streambuf.cc: undefined
reference to `__rtti_si'
../gcc/lib/libstdcxx.a(streambuf.o)(.text+0xb97):streambuf.cc: undefined
reference to `__rtti_si'
../gcc/lib/libstdcxx.a(streambuf.o)(.text+0xe23):streambuf.cc: undefined
reference to `__rtti_si'
../gcc/lib/libstdcxx.a(streambuf.o)(.text+0xe55):streambuf.cc: undefined
reference to `__rtti_user'
../gcc/lib/libstdcxx.a(streambuf.o)(.text+0xe85):streambuf.cc: undefined
reference to `__rtti_user'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0x46):filebuf.cc: undefined
reference to `__eh_pc'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0x4f):filebuf.cc: undefined
reference to `__throw'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0x55):filebuf.cc: undefined
reference to `terminate(void)'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0xa6):filebuf.cc: undefined
reference to `__eh_pc'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0xaf):filebuf.cc: undefined
reference to `__throw'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0xb5):filebuf.cc: undefined
reference to `terminate(void)'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0x116):filebuf.cc: undefined
reference to `__eh_pc'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0x11f):filebuf.cc: undefined
reference to `__throw'
../gcc/lib/libstdcxx.a(filebuf.o)(.text+0x125):filebuf.cc: undefined
reference to `terminate(void)'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x46):stdiostream.cc:
undefined reference to `__eh_pc'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x4f):stdiostream.cc:
undefined reference to `__throw'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x55):stdiostream.cc:
undefined reference to `terminate(void)'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x4ad):stdiostream.cc:
undefined reference to `__eh_pc'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x4b6):stdiostream.cc:
undefined reference to `__throw'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x4bd):stdiostream.cc:
undefined reference to `terminate(void)'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x509):stdiostream.cc:
undefined reference to `__rtti_class'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x7d1):stdiostream.cc:
undefined reference to `__eh_pc'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x7da):stdiostream.cc:
undefined reference to `__throw'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x7e1):stdiostream.cc:
undefined reference to `terminate(void)'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x82d):stdiostream.cc:
undefined reference to `__rtti_class'
../gcc/lib/libstdcxx.a(stdiostream.o)(.text+0x96f):stdiostream.cc:
undefined reference to `__rtti_si'

- Raw text -


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