Message-ID: <3770DE3B.57B24320@unn.ac.uk> Date: Wed, 23 Jun 1999 14:16:43 +0100 From: Mark Collinson X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp AT delorie DOT com Subject: Re: _String.h References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Greetings, > See? It doesn't say anything about _String.h, it complains about missing > functions. And that means that you didn't tell the linker to search some > of the libraries, or that you don't have those libraries installed. > > I believe that String is in libgpp.a, so try appending -lgpp to the end > of the compilation command. If that doesn't work, you will need to > install the file lgp2811b.zip. Well, I did what was suggested and appended -lgpp to the end of the compilation command and I still got the same response. Oh and Yes the lgp2811b.zip is installed and libgpp.a does exist in the C:\djgpp\lib directory. C:\mark\code>gxx -Wall -o strtest.exe strtest.cpp -lgpp c:/djgpp/tmp\cccqeuch(.text+0x1b):strtest.cpp: undefined reference to `String::String(void)' c:/djgpp/tmp\cccqeuch(.text+0x29):strtest.cpp: undefined reference to `String::~String(void)' c:/djgpp/tmp\cccqeuch(.text+0x53):strtest.cpp: undefined reference to `String::~String(void)' Does anyone know what is going wrong here? Cheers, Mark