Lines: 41 X-Admin: news AT aol DOT com From: lkdjiin AT aol DOT com (LKDjiin) Newsgroups: comp.os.msdos.djgpp Date: 18 Aug 2001 15:02:15 GMT Organization: AOL, http://www.aol.fr Subject: some problem with libgpp Message-ID: <20010818110215.19326.00004434@mb-mc.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I used djgpp to code in c for a while. Now i switch to c++. I can compile fine with a command line like: gxx *.cpp -o foo.exe My problem: While reading to the libgpp section in info I see some interesting classes like String and Regex. But I can't compile with. _String.h and _Regex.h are in the lang/cxx directory. Is this normal ? As an example the file foo.cpp: #include #include <_Regex.h> int main ( void ) { Regex r("[a-z]"); return 0; } compiled with: gxx -Wall foo.cpp -o foo.exe give me: undefined reference to `Regex::Regex(char const *, int, int, char const *)' undefined reference to `Regex::~Regex(void)' undefined reference to `Regex::~Regex(void)' I think I've made some mistakes in the install but can't figure out wich ones. Could somebody help me ? TIA -- Xavier Sorry for my bad english