Date: Tue, 16 Jan 1996 08:17:04 +0200 (IST) From: Eli Zaretskii To: Kenneth Abrahamsson Cc: djgpp AT delorie DOT com Subject: Re: Problems with Genclass On Mon, 15 Jan 1996, Kenneth Abrahamsson wrote: > >> I have problems building the Genclass utility. I've tried using both DJGPP112m4 > >> and V2b4 without success. In the first case it did compile but failed to link, > >> giving a couple of error messages as: > >> "Undeclared reference: '__pure_virtual'". > > > >This means that you need to link in the g++ library; add -lgpp onto the end of > >your command line. > > > > The problem is that I did link with -lgpp... You might benefit from searching the DJGPP mail/newsgroup archives. Problems similar to what you describe have been reported before. The main reason to get these messages was a faulty libgcc.a, so first check if your copy of libgcc.a defines __pure_virtual. If it does (and I guess it does, because you say you have this problem with both v1.12m4 and v2, but *do* check), then point your favorite Web browser to this URL: http://www.delorie.com/djgpp/mail-archives/ and search the archives for ``__pure_virtual''. Most likely, you'll find the reason for your trouble in a matter of seconds.