www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/07/15:27:17

From: "Alessandro Monopoli" <amonopo AT libero DOT it>
Newsgroups: comp.os.msdos.djgpp
References: <plLw4.75833$qv DOT 767916 AT news DOT infostrada DOT it>
Subject: MY linking log
Lines: 122
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <yJax4.5917$i%1.64137@news.infostrada.it>
Date: Tue, 07 Mar 2000 17:09:50 GMT
NNTP-Posting-Host: 151.21.100.246
X-Complaints-To: abuse AT libero DOT it
X-Trace: news.infostrada.it 952448990 151.21.100.246 (Tue, 07 Mar 2000 18:09:50 MET)
NNTP-Posting-Date: Tue, 07 Mar 2000 18:09:50 MET
Organization: [Infostrada]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This  is the log of my linking with:

gcc -v -o prova.exe prova.o -lstdcxx                  :

Reading specs from c:/vecchio/djcpp/lib/specs
gcc version 2.95.2 19991024 (release)
 c:/vecchio/djcpp/bin/ld.exe -o prova.exe
c:/vecchio/djcpp/lib/crt0.o -Lc:/vecchio/djcpp/lib -Lc:/vecchio/djcpp/lib/gc
c-lib/djgpp/2.952 -Lc:/vecchio/djcpp/bin -Lc:/vecchio/djcpp/lib
prova.o -lstdcxx -Tdjgpp.djl -lgcc -lc -lgcc
c:/vecchio/djcpp/lib/libstdcxx.a(iostream.o)(.text+0x1d50):iostream.cc:
undefined reference to `__rtti_class'
c:/vecchio/djcpp/lib/libstdcxx.a(iostream.o)(.text+0x212c):iostream.cc:
undefined reference to `__rtti_class'
c:/vecchio/djcpp/lib/libstdcxx.a(iostream.o)(.text+0x261b):iostream.cc:
undefined reference to `__rtti_class'
c:/vecchio/djcpp/lib/libstdcxx.a(iostream.o)(.text+0x2642):iostream.cc:
undefined reference to `__rtti_class'
c:/vecchio/djcpp/lib/libstdcxx.a(iostream.o)(.text+0x265b):iostream.cc:
undefined reference to `__rtti_class'
c:/vecchio/djcpp/lib/libstdcxx.a(iostream.o)(.text+0x27bb):iostream.cc: more
undefined references to `__rtti_class' follow
c:/vecchio/djcpp/lib/libstdcxx.a(streambuf.o)(.text+0x709):streambuf.cc:
undefined reference to `__rtti_si'
c:/vecchio/djcpp/lib/libstdcxx.a(streambuf.o)(.text+0x9e5):streambuf.cc:
undefined reference to `__rtti_si'
c:/vecchio/djcpp/lib/libstdcxx.a(streambuf.o)(.text+0xf4c):streambuf.cc:
undefined reference to `__rtti_si'
c:/vecchio/djcpp/lib/libstdcxx.a(streambuf.o)(.text+0xf66):streambuf.cc:
undefined reference to `__rtti_si'
c:/vecchio/djcpp/lib/libstdcxx.a(streambuf.o)(.text+0x1137):streambuf.cc:
undefined reference to `__rtti_user'
c:/vecchio/djcpp/lib/libstdcxx.a(streambuf.o)(.text+0x1163):streambuf.cc:
undefined reference to `__rtti_user'
c:/vecchio/djcpp/lib/libstdcxx.a(filebuf.o)(.text+0x43):filebuf.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(filebuf.o)(.text+0x61):filebuf.cc:
undefined reference to `terminate(void)'
c:/vecchio/djcpp/lib/libstdcxx.a(filebuf.o)(.text+0xa4):filebuf.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(filebuf.o)(.text+0xc1):filebuf.cc:
undefined reference to `terminate(void)'
c:/vecchio/djcpp/lib/libstdcxx.a(filebuf.o)(.text+0x118):filebuf.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(filebuf.o)(.text+0x135):filebuf.cc:
undefined reference to `terminate(void)'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x41):stdiostream.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x61):stdiostream.cc:
undefined reference to `terminate(void)'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x575):stdiostream.cc:
undefined reference to `__rtti_si'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x5d0):stdiostream.cc:
undefined reference to `__rtti_class'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x706):stdiostream.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x711):stdiostream.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x781):stdiostream.cc:
undefined reference to `terminate(void)'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x800):stdiostream.cc:
undefined reference to `__rtti_class'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x929):stdiostream.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x931):stdiostream.cc:
undefined reference to `__throw'
c:/vecchio/djcpp/lib/libstdcxx.a(stdiostream.o)(.text+0x9a1):stdiostream.cc:
undefined reference to `terminate(void)'


Bye!!

--
Alessandro Monopoli

----------------------------
"Andiamo donna, andiamo a pregare.
Preghiamo Gesł per le nostre anime
di femmine deboli, viziose e peccatrici"

Stephen King, "Carrie"
----------------------------
Alessandro Monopoli <amonopo AT libero DOT it> wrote in message
plLw4.75833$qv DOT 767916 AT news DOT infostrada DOT it...
>
> Hi!!
>
> I've got a new nice (!) problem with the C++ compiler....
> I've read the Faq, but I wasn't able to find my problem, so this is my
> problem:
>
> I've done a very simple program:
>
> #include<iostream.h>
>
> main()
> { cout<<"ciao!";   /*the italian hello!*/
> }
>
> The compiler compiles it perfectly, but the linker gives me a lot of
> messages like this:
>
> Error:(my path)/libstdcxx.a (iostream.o):iostream.cc: Undefined reference
to
> '__rtti_class"
> And this for a lot of times.
>
> I've got all the newest distributions, (Gcc 2.952, DJdev 2.03, Gpp
2.952,bnu
> 2951, lgpp 295).
>
> Can you help me?
>
> Thank you again!
>
> Alessandro Monopoli
>
>
>
>


- Raw text -


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