Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Greg Phillips , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Help! Compile errors! Date: Mon, 11 May 1998 20:28:49 -0700 Message-ID: <19980512032838.AAE16211@ppp127.cartsys.com> Precedence: bulk At 05:48 5/11/1998 -0400, Greg Phillips wrote: >When I try to compile a project, I get the following errors: > >test.o(.text+0x7f):test.cpp: undefined reference to `__eh_pc' >test.o(.text+0x88):test.cpp: undefined reference to `__throw' >test.o(.text+0x95):test.cpp: undefined reference to `terminate(void)' > >Any idea what I am doing wrong? Am I using the wrong commands? Here is >what I use... > >gpp -c palette.cpp >gpp -c test.cpp >gpp -o test.exe test.o palette.o This is a guess, but are you sure the versions of your `gpp' and `lgp' packages match? Did you once have 2.7.2.1, then upgrade to 2.8.x? I believe problems like this can be caused by mixing GCC and libstdc++ versions. >The first two produce their object files with no errors or warnings. The >third command gives the warnings above. Am I missing a file or something? >Is something missing from my path statement? For those of you who are >familiar with it, the Allegro library compiled with no problems, so I think >my setup is okay. Here are the three files I am using... Allegro does not use C++, so that doesn't necessarily rule out a problem in your C++ installation. Nate Eldredge nate AT cartsys DOT com