X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Steve W." 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: 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.