18 Feb
2004
18 Feb
'04
11:39 a.m.
Justin Adam Miller
Howdy. As I am only interested in using the regex library right now, I followed the instructions for building that library only, using dmake. Compilation went fine. When I tried using the library in a little test program with the command:
g++ regextest.cxx -I./boost_1_31_0 -L./boost_1_31_0/libs/regex/build/sunpro -lboost_regex -o regextest.cxx
I get many undefined symbol errors. If requested, I can provide the entire error output.
It looks like you are trying to use the wrong library. SunPro refers to the Sun C++ compiler and tools whereas you are using GNU C++. You have to build the library and application with the same compiler.