Boost logo

Boost Users :

From: kurt_zhang (kurt_zhang_at_[hidden])
Date: 2002-12-02 11:54:36


I compiled boost_regex lib on Solaris using the following compiler:
> CC -V
CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15

The version without using -g links fine, however, when I compiled the
lib with -g option using provided makefile sunpro_dbx.mk, the lib was
built OK; then I tried to compile provided test programs using
libs/regex/test/regress/sunpro_dbx.mk, I got the following error:

> make -f sunpro_dbx.mak
mkdir -p r
mkdir -p rm
rm -f *.o
rm -fr SunWS_cache
CC -I../../../../ -I./ -L../../build/sunpro_dbx -g -o r/regress
tests.cpp parse.cpp regress.cpp -lboost_regex
tests.cpp:
parse.cpp:
regress.cpp:
Undefined first referenced
 symbol in file
boost::detail::allocator<unsigned char>::allocator<char>#Nvariant 1
(const
boost::detail::allocator<__type_1>&) /fsys/home/zhangku/re/libs/regex/
test/regress/SunWS_cache/CC_obj_O/OhCenAP7d5aN-_Bfr3wh.o
boost::detail::allocator<unsigned char>::allocator<wchar_t>#Nvariant 1
(const
boost::detail::allocator<__type_1>&) ../../build/sunpro_dbx/libboost_r
egex.so
ld: fatal: Symbol referencing errors. No output written to r/regress
make: *** [r/regress] Error 1

Can anyone help me on this?

Kurt


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net