delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/21/13:49:42

From: "Daniel Noorduin" <w DOT noorduin AT chello DOT nl>
Newsgroups: comp.os.msdos.djgpp
References: <qD%Z8.914378$yP6 DOT 29417484 AT Flipper> <3d38af6e$0$32644$9b622d9e AT news DOT freenet DOT de> <ITk_8.953349$yP6 DOT 30654750 AT Flipper> <3d3aa2f2$0$15186$9b622d9e AT news DOT freenet DOT de> <Ggy_8.977643$yP6 DOT 31307954 AT Flipper> <3405-Sun21Jul2002180755+0300-eliz AT is DOT elta DOT co DOT il>
Subject: Re: Installation Problem
Lines: 86
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <poB_8.984023$yP6.31512520@Flipper>
Date: Sun, 21 Jul 2002 16:34:29 GMT
NNTP-Posting-Host: 212.187.58.222
X-Complaints-To: abuse AT chello DOT nl
X-Trace: Flipper 1027269269 212.187.58.222 (Sun, 21 Jul 2002 18:34:29 MET DST)
NNTP-Posting-Date: Sun, 21 Jul 2002 18:34:29 MET DST
Organization: Chello Broadband
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:3405-Sun21Jul2002180755+0300-eliz AT is DOT elta DOT co DOT il...
> > From: "Daniel Noorduin" <w DOT noorduin AT chello DOT nl>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Sun, 21 Jul 2002 13:01:26 GMT
> >
> > SET LIBRARY_PATH=C:\RSXNT\LIB
> > SET C_INCLUDE_PATH=C:\RSXNT\INCLUDE
> > SET CPLUS_INCLUDE_PATH=C:\RSXNT\INCLUDE
>
> These 3 settings are the source of your trouble: they force the
> compiler to try to use incorrect header files and libraries (those
> from the RSXNT package).  Unset these variables, and the problems
> will most probably go away.

I already did. I removed those three lines and deleted rsxnt completely and
it got rid of some of the errors, but for some odd reason I still can't
compile a simple C++ ' Hello World' program (While it does compile C
programs). Here's what i get when i use the -v command:

Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.1/specs
Configured with: ../configure
i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR --disable-nls
Thread model: single
gcc version 3.1

c:/djgpp/lib/gcc-lib/djgpp/3.1/cc1plus.exe -v -D__GNUC__=3 -D__GNUC_MINOR__=
1 -D__GNUC_PATCHLEVEL__=0 -D__MSDOS__ -D__GO32__ -D__DJGPP__=2 -D__unix__ -D
__MSDOS__ -D__GO32__ -D__DJGPP__=2 -D__unix__ -Asystem=msdos -Asystem=unix -
D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386
 -D__i386__ -D__tune_i586__ -D__tune_pentium__ -DMSDOS -DGO32 -DDJGPP=2 -Dun
ix -remap -imacros c:/djgpp/lib/gcc-lib/djgpp/3.1/djgpp.ver
blah.cc -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -
quiet -dumpbase blah.cc -version -o c:/djgpp/tmp/ccxPT2QP.s
GNU CPP version 3.1 (cpplib) (80386, BSD syntax)
GNU C++ version 3.1 (djgpp)
 compiled by GNU C version 3.1.
ignoring nonexistent directory "c:/djgpp/djgpp/include"
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lang/cxx-v31
 c:/djgpp/lang/cxx-v31/djgpp
 c:/djgpp/lang/cxx-v31/backward
 c:/djgpp/lib/gcc-lib/djgpp/3.1/include
 c:/djgpp/include
End of search list.
In file included from c:/djgpp/lang/cxx-v31/backward/iostream.h:31,
                 from blah.cc:1:
c:/djgpp/lang/cxx-v31/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
blah.cc:8:2: warning: no newline at end of file
 c:/djgpp/bin/as.exe --traditional-format -o c:/djgpp/tmp/cc5FwdEU.o
c:/djgpp/tmp/ccxPT2QP.s
 c:/djgpp/lib/gcc-lib/djgpp/3.1/collect2.exe -o blah.exe
c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/3.1 -Lc:/djg
pp/bin -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/3.1/../../..
c:/djgpp/tmp/cc5FwdEU.o -lgcc -lc -lgcc -Tdjgpp-x.djl
c:/djgpp/tmp/cc5FwdEU.o(.text+0x20):blah.cc: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >& std::endl<char,
std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
>&)'
c:/djgpp/tmp/cc5FwdEU.o(.text+0x2d):blah.cc: undefined reference to
`std::cout'
c:/djgpp/tmp/cc5FwdEU.o(.text+0x32):blah.cc: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
>&, char const*)'
c:/djgpp/tmp/cc5FwdEU.o(.text+0x3b):blah.cc: undefined reference to
`std::basic_ostream<char, std::char_traits<char>
>::operator<<(std::basic_ostream<char, std::char_traits<char> >&
(*)(std::basic_ostream<char, std::char_traits<char> >&))'
c:/djgpp/tmp/cc5FwdEU.o(.text+0x68):blah.cc: undefined reference to
`std::ios_base::Init::Init[in-charge]()'
c:/djgpp/tmp/cc5FwdEU.o(.text+0x87):blah.cc: undefined reference to
`std::ios_base::Init::~Init [in-charge]()'
c:/djgpp/tmp/cc5FwdEU.o(.eh_frame+0x11):blah.cc: undefined reference to
`___gxx_personality_v0'
collect2: ld returned 1 exit status



- Raw text -


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