Boost logo

Boost :

From: Kevin S. Van Horn (kevin.vanhorn_at_[hidden])
Date: 2002-03-01 14:03:35


Rene Rivera writes:

> Where are you getting errors?

The thread library, python, and (maybe) regex. I say "maybe" for regex
because I see errors in the output, but libboost_regex.{a,so} still gets
built. Let me say that it is *very* hard to determine what did and did
not build successfully.

> If it's the Python stuff, try setting PYTHON_ROOT to where you normally
> have Python installed. I set mine by adding -sPYTHON_ROOT="/usr".

That got rid of the python problems. I now get "failed updating 6
targets" and "skipped 5 targets" if I just do a debug build.
Here are some of the remaining errors.

boost/thread/once.hpp: In function `void boost::call_once(void (*)(),
   once_flag&)':
boost/thread/once.hpp:38: previous declaration of `void
boost::call_once(void
   (*)(), once_flag&)' with C++ linkage
libs/thread/src/once.cpp:77: conflicts with new declaration with C linkage
libs/thread/src/once.cpp: At global scope:
libs/thread/src/once.cpp:138: parse error at end of input

---
status/bin/config_test/gcc/debug/runtime-link-dynamic/config_test.o: In
function `boost_has_pthread_mutexattr_settype::f()    ':
/usr/opt/share/boost_1_27_0/libs/config/test/boost_has_pthread_ma_st.cxx:19:
undefined reference to `pthread_mutexattr_init'
/usr/opt/share/boost_1_27_0/libs/config/test/boost_has_pthread_ma_st.cxx:21:
undefined reference to `pthread_mutexattr_settype'
collect2: ld returned 1 exit status
----
libs/regex/test/regress/wregex_test.cpp:46:2: #error The regex library is
not configured for wide character support
boost/regex.hpp: In instantiation of `boost::regex_traits<char_type>':
boost/regex.hpp:464:   instantiated from `boost::reg_expression<char_type,
boost::regex_traits<char_type>, std::allocator<wchar_t> >'
libs/regex/test/regress/wregex_test.cpp:71:   instantiated from here
boost/regex.hpp:464: base class `boost::c_regex_traits<wchar_t>' has
incomplete    type
boost/regex.hpp: In instantiation of `boost::reg_expression<char_type,
boost::regex_traits<char_type>, std::allocator<wchar_t> >':
libs/regex/test/regress/wregex_test.cpp:71:   instantiated from here
boost/regex.hpp:464: no type named `size_type' in `class
   boost::regex_traits<char_type>'
boost/regex.hpp:465: no type named `uchar_type' in `class
   boost::regex_traits<char_type>'
boost/regex.hpp:466: no type named `string_type' in `class
   boost::regex_traits<char_type>'
boost/regex.hpp:475: no type named `locale_type' in `class
   boost::regex_traits<char_type>'
boost/regex.hpp:601: no type named `locale_type' in `class
   boost::regex_traits<char_type>'
boost/regex.hpp:602: no type named `locale_type' in `class
   boost::regex_traits<char_type>'
boost/regex/detail/regex_compile.hpp:1058: no type named `string_type' in
   `class boost::regex_traits<char_type>'
boost/regex/detail/regex_compile.hpp:979: no type named `string_type' in
`class    boost::regex_traits<char_type>'
[and on and on -- many more regex errors]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk