delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/01/25/11:16:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Steve W." <swatts AT globalserve DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: strange error from compiling
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <HfuJd.630$E45.206@fe51.usenetserver.com>
X-Complaints-To: abuse AT usenetserver DOT com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Tue, 25 Jan 2005 11:14:31 EST
Date: Tue, 25 Jan 2005 11:16:42 -0500
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am very new to this compiler.
After comiling a program I try to get a executable.  I get an message as
follows:

I compile ok:
C:\djgpp>gcc -c JanTesta.cpp

I type the following to get an executable from the source I just compiled:
C:\djgpp>gcc JanTesta.cpp -o Jtest.exe

I get this message.
c:/djgpp/tmp/cciOl7Fv.o(.eh_frame+0x11):JanTesta.cpp: undefined reference to
`__
_gxx_personality_v0'
collect2: ld returned 1 exit status

Any help would be appreciated.



- Raw text -


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