delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/16/03:30:26

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Tue, 16 Apr 2002 10:30:14 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
X-Sender: pavenis AT ieva06
To: Steve Manson <steve AT highrez DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Help: SkySound - Build Problem: gxx_personality_v0
In-Reply-To: <ec077a42.0204151402.6b7f5b4e@posting.google.com>
Message-ID: <Pine.A41.4.05.10204161028330.27166-100000@ieva06>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On 15 Apr 2002, Steve Manson wrote:

> Hi, I`m in need of some help. I`m a newby to DJGPP and GNU so this is
> likely to be something kinda trivial but I`m unable to find a solution
> on my own - HELP!
> 
> When I try and compile the "Exemple" application that comes with
> SkySound v0.61 by entering - Make -f makefile.dj I get the following:
> 
> E:\DJGPP\skysound\apps\exemple>make -f makefile.dj
> gcc -s -o exemple.exe exemple.o ../../makelib/skysound.a -lmidas
> -lalleg
> exemple.o(.eh_frame+0x11):exemple.cpp: undefined reference to
> `__gxx_personality
> _v0'
> collect2: ld returned 1 exit status
> make.exe: *** [exemple.exe] Error 1
> 

One needs to link with libstdcxx.a when compiling C++ sources
(add '-lstdcxx -lm'). 


Andris



- Raw text -


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