From: bodfish AT austen DOT notis DOT com (John Bodfish) Subject: Re: which lib for gnu string class? To: jmccaski AT CS DOT Trinity DOT Edu (Scott McCaskill) Date: Tue, 21 Feb 95 17:30:39 CST Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Scott: Regarding your message: > > Under dos, using djgpp, I include _string.h and > link in libgpp.a, but I get undefined reference errors (undefined String > class functions, that is). I've got a flex/bison program which uses the GNU String class, and I've had no problem linking it. Here's what's in my bison source (which is copied into the C++ source): #include #include #include #include <_string.h> My link step is: gcc -o asmtos.cof lexyy.o asmtos_t.o -lgpp > I'm using 1.12m2. So'm I. Could you send me a self-contained C++ source file that illustrates the problem, along with your linkage step? I'd be happy to try it here and see what happens. John Bodfish bodfish AT notis DOT com