Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with Boost trunk #301

Closed
brycelelbach opened this issue Jul 10, 2012 · 2 comments
Closed

Build error with Boost trunk #301

brycelelbach opened this issue Jul 10, 2012 · 2 comments
Milestone

Comments

@brycelelbach
Copy link
Member

[reported by hkaiser] [Trac time Wed Feb 1 21:03:38 2012] Jeff sent this report:

I updated to the latest boost trunk, and hpx svn, and got the following (some issue with clocks):

[  5%] Building CXX object src/CMakeFiles/hpx.dir/exception.cpp.o
In file included from /u/jcbecker/mylocal/boost/include/boost/thread/pthread/mutex.hpp:20,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/mutex.hpp:16,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/pthread/thread_data.hpp:12,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/thread.hpp:17,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/on_dedicated_thread.hpp:27,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format_ts.hpp:26,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/named_write.hpp:24,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format/named_write.hpp:24,
                 from /u/jcbecker/hpx/hpx/util/logging.hpp:12,
                 from /u/jcbecker/hpx/hpx/exception.hpp:16,
                 from /u/jcbecker/hpx/src/exception.cpp:9:
/u/jcbecker/mylocal/boost/include/boost/chrono/system_clocks.hpp:133: error: 'BOOST_CHRONO_INLINE' does not name a type
/u/jcbecker/mylocal/boost/include/boost/chrono/system_clocks.hpp:135: error: 'BOOST_CHRONO_INLINE' does not name a type
/u/jcbecker/mylocal/boost/include/boost/chrono/system_clocks.hpp:138: error: 'BOOST_CHRONO_INLINE' does not name a type
/u/jcbecker/mylocal/boost/include/boost/chrono/system_clocks.hpp:139: error: 'BOOST_CHRONO_INLINE' does not name a type
In file included from /u/jcbecker/mylocal/boost/include/boost/thread/mutex.hpp:16,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/pthread/thread_data.hpp:12,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/thread.hpp:17,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/on_dedicated_thread.hpp:27,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format_ts.hpp:26,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/named_write.hpp:24,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format/named_write.hpp:24,
                 from /u/jcbecker/hpx/hpx/util/logging.hpp:12,
                 from /u/jcbecker/hpx/hpx/exception.hpp:16,
                 from /u/jcbecker/hpx/src/exception.cpp:9:
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/mutex.hpp:259: error: 'boost::chrono::steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::try_lock_until(const boost::chrono::time_point<Clock, Duration1>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/mutex.hpp:265: error: 'now' is not a member of 'boost::chrono::system_clock'
In file included from /u/jcbecker/mylocal/boost/include/boost/thread/pthread/thread_data.hpp:16,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/thread.hpp:17,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/on_dedicated_thread.hpp:27,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format_ts.hpp:26,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/named_write.hpp:24,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format/named_write.hpp:24,
                 from /u/jcbecker/hpx/hpx/util/logging.hpp:12,
                 from /u/jcbecker/hpx/hpx/exception.hpp:16,
                 from /u/jcbecker/hpx/src/exception.cpp:9:
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_until(boost::unique_lock<boost::mutex>&, const boost::chrono::time_point<boost::chrono::system_clock, Duration>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp:139: error: 'now' is not a member of 'boost::chrono::system_clock'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_until(boost::unique_lock<boost::mutex>&, const boost::chrono::time_point<Clock, Duration1>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp:150: error: 'now' is not a member of 'boost::chrono::system_clock'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp: In member function 'boost::cv_status boost::condition_variable::wait_for(boost::unique_lock<boost::mutex>&, const boost::chrono::duration<Rep, Period>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp:179: error: 'now' is not a member of 'boost::chrono::system_clock'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp:180: error: 'steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp:180: error: expected ';' before 'c_now'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp:182: error: 'steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable_fwd.hpp:182: error: 'c_now' was not declared in this scope
In file included from /u/jcbecker/mylocal/boost/include/boost/thread/thread.hpp:22,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/on_dedicated_thread.hpp:27,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format_ts.hpp:26,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/named_write.hpp:24,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format/named_write.hpp:24,
                 from /u/jcbecker/hpx/hpx/util/logging.hpp:12,
                 from /u/jcbecker/hpx/hpx/exception.hpp:16,
                 from /u/jcbecker/hpx/src/exception.cpp:9:
/u/jcbecker/mylocal/boost/include/boost/thread/detail/thread.hpp: In member function 'bool boost::thread::try_join_for(const boost::chrono::duration<Rep, Period>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/detail/thread.hpp:531: error: 'boost::chrono::steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/detail/thread.hpp: In member function 'bool boost::thread::try_join_until(const boost::chrono::time_point<Clock, Duration1>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/detail/thread.hpp:537: error: 'now' is not a member of 'boost::chrono::system_clock'
In file included from /u/jcbecker/mylocal/boost/include/boost/thread/condition_variable.hpp:16,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/pthread/shared_mutex.hpp:13,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/shared_mutex.hpp:16,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/detail/thread_group.hpp:9,
                 from /u/jcbecker/mylocal/boost/include/boost/thread/thread.hpp:24,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/on_dedicated_thread.hpp:27,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format_ts.hpp:26,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/named_write.hpp:24,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format/named_write.hpp:24,
                 from /u/jcbecker/hpx/hpx/util/logging.hpp:12,
                 from /u/jcbecker/hpx/hpx/exception.hpp:16,
                 from /u/jcbecker/hpx/src/exception.cpp:9:
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_until(lock_type&, const boost::chrono::time_point<boost::chrono::system_clock, Duration>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp:220: error: 'now' is not a member of 'boost::chrono::system_clock'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_until(lock_type&, const boost::chrono::time_point<Clock, Duration>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp:231: error: 'now' is not a member of 'boost::chrono::system_clock'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp: In member function 'boost::cv_status boost::condition_variable_any::wait_for(lock_type&, const boost::chrono::duration<Rep2, Period>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp:260: error: 'now' is not a member of 'boost::chrono::system_clock'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp:261: error: 'steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp:261: error: expected ';' before 'c_now'
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp:263: error: 'steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/condition_variable.hpp:263: error: 'c_now' was not declared in this scope
In file included from /u/jcbecker/mylocal/boost/include/boost/thread/thread.hpp:25,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/on_dedicated_thread.hpp:27,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format_ts.hpp:26,
                 from /u/jcbecker/hpx/external/logging/boost/logging/writer/named_write.hpp:24,
                 from /u/jcbecker/hpx/external/logging/boost/logging/format/named_write.hpp:24,
                 from /u/jcbecker/hpx/hpx/util/logging.hpp:12,
                 from /u/jcbecker/hpx/hpx/exception.hpp:16,
                 from /u/jcbecker/hpx/src/exception.cpp:9:
/u/jcbecker/mylocal/boost/include/boost/thread/v2/thread.hpp: At global scope:
/u/jcbecker/mylocal/boost/include/boost/thread/v2/thread.hpp:45: error: 'steady_clock' is not a member of 'boost::chrono'
/u/jcbecker/mylocal/boost/include/boost/thread/v2/thread.hpp:45: error: 'steady_clock' is not a member of 'boost::chrono'
/u/jcbecker/mylocal/boost/include/boost/thread/v2/thread.hpp:45: error: template argument 1 is invalid
/u/jcbecker/mylocal/boost/include/boost/thread/v2/thread.hpp: In function 'void boost::this_thread::sleep_until(const int&)':
/u/jcbecker/mylocal/boost/include/boost/thread/v2/thread.hpp:48: error: 'steady_clock' has not been declared
In file included from /u/jcbecker/mylocal/boost/include/boost/thread/recursive_mutex.hpp:16,
                 from /u/jcbecker/mylocal/boost/include/boost/thread.hpp:18,
                 from /u/jcbecker/hpx/hpx/util/io_service_pool.hpp:15,
                 from /u/jcbecker/hpx/hpx/runtime.hpp:12,
                 from /u/jcbecker/hpx/src/exception.cpp:11:
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/recursive_mutex.hpp: In member function 'bool boost::recursive_timed_mutex::try_lock_for(const boost::chrono::duration<Rep, Period>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/recursive_mutex.hpp:361: error: 'boost::chrono::steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/recursive_mutex.hpp: In member function 'bool boost::recursive_timed_mutex::try_lock_until(const boost::chrono::time_point<Clock, Duration1>&)':
/u/jcbecker/mylocal/boost/include/boost/thread/pthread/recursive_mutex.hpp:367: error: 'now' is not a member of 'boost::chrono::system_clock'
In file included from /u/jcbecker/mylocal/boost/include/boost/thread.hpp:24,
                 from /u/jcbecker/hpx/hpx/util/io_service_pool.hpp:15,
                 from /u/jcbecker/hpx/hpx/runtime.hpp:12,
                 from /u/jcbecker/hpx/src/exception.cpp:11:
/u/jcbecker/mylocal/boost/include/boost/thread/future.hpp: In member function 'boost::future_status boost::unique_future<R>::wait_for(const boost::chrono::duration<Rep2, Period2>&) const':
/u/jcbecker/mylocal/boost/include/boost/thread/future.hpp:953: error: 'boost::chrono::steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/thread/future.hpp: In member function 'boost::future_status boost::shared_future<R>::wait_for(const boost::chrono::duration<Rep2, Period2>&) const':
/u/jcbecker/mylocal/boost/include/boost/thread/future.hpp:1171: error: 'boost::chrono::steady_clock' has not been declared
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp: At global scope:
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:244: warning: 'boost::asio::error::system_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:246: warning: 'boost::asio::error::netdb_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:248: warning: 'boost::asio::error::addrinfo_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:250: warning: 'boost::asio::error::misc_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/system/error_code.hpp:214: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/system/error_code.hpp:215: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/system/error_code.hpp:216: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
gmake[2]: *** [src/CMakeFiles/hpx.dir/exception.cpp.o] Error 1
gmake[1]: *** [src/CMakeFiles/hpx.dir/all] Error 2
gmake: *** [all] Error 2
@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Thu Feb 2 21:28:12 2012] I just built with Boost [old svn rev76839] and HPX 9cbc453, GCC 4.6.2. I was unable to reproduce this. Jeff, can you please verify this is till a problem? Can you try doing a fresh build? If the problem persists, please email me your CMakeCache.txt

@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Fri Feb 3 19:57:13 2012] Closing, please re-open if this can be reproduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant