From: rdnews AT dahlsys DOT com (Roger Dahl) Newsgroups: comp.os.msdos.djgpp Subject: DJGPP and the Boost library? Date: 9 Jan 2003 12:49:57 -0800 Organization: http://groups.google.com/ Lines: 44 Message-ID: NNTP-Posting-Host: 160.33.98.117 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1042145397 27699 127.0.0.1 (9 Jan 2003 20:49:57 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 9 Jan 2003 20:49:57 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, Has anyone had any luck using the Boost library with DJGPP? I'm trying to use the Regex++ part of the Boost library. The library compiles without any problems, but I get linker errors when I try to use it. Here's my test app: #include int main() { boost::regex r("test"); return 0; } When I try to link with the library, I get the following errors: >gpp.exe -O2 -Wall -L/djgpp/boost_1_29_0/libs/regex/build/gcc -lboost_regex -I/djgpp/boost_1_29_0 -o mapper.exe mapper.cpp d:/tmp/cc8e650b.o(.text+0x2d):mapper.cpp: undefined reference to `boost::reg_expression, std::allocator >::reg_expression[in-charge](char const*, unsigned, std::allocator const&)' d:/tmp/cc8e650b.o(.text+0x35):mapper.cpp: undefined reference to `boost::reg_expression, std::allocator >::~reg_expression [in-charge]()' Listing the symbols in my test app with nm, I can find undefined symbols like this one: U boost::reg_expression,std::allocator >::~reg_expression() Listing the symbols in the library, I can find the same symbols again, but defined: T boost::reg_expression,std::allocator >::~reg_expression() Thanks for any help and suggestions. Roger Dahl