Date: Thu, 06 Sep 2001 23:53:09 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Radical DOT NetSurfer AT delorie DOT com Message-Id: <2950-Thu06Sep2001235308+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (Radical DOT NetSurfer AT delorie DOT com) Subject: Re: jptui4k won't compile JPDEMO References: 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 Precedence: bulk > From: Radical DOT NetSurfer AT delorie DOT com > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 06 Sep 2001 16:22:47 -0400 > > Fortunately, it comes with pre-compiled "*.a" files; It's UNfortunately, actually; see below. > but > using the supplied MAKEFILE fails to link properly... > whats missing here? > > gcc -MMD -Wall -m486 -O3 -c jpdemo.cpp -o jpdemo.o > gxx -s -o jpdemo.exe jpdemo.o ../lib/debug/libjptui.a > ../lib/debug/libjptui.a(tlist.o)(.text+0x251a):tlist.cpp: undefined > reference to `__eh_pc' You need to rebuild the library: it was compiled with an old version of a C++ compiler, and the compiled code is no longer compatible with the current C++ compiler and libgcc.a which comes with it. See also section 8.11 of the DJGPP FAQ list, which cites this same error message.