problem compiling with boost 1.35

6 views
Skip to first unread message

Oleg

unread,
Apr 5, 2008, 3:57:11 PM4/5/08
to Hypertable User
Hello,


just tried hypertable from git on my slackware 12 machine and got
problem with boost 1.35.
Do I need downgrade to 1.34.1 ?


[ 57%] Building CXX object src/cc/Hypertable/RangeServer/CMakeFiles/
Hypertable.RangeServer.dir/AccessGroup.o
In file included from /u/megera/app/hypertable/hypertable/src/cc/
Hypertable/RangeServer/AccessGroup.h:30,
from /u/megera/app/hypertable/hypertable/src/cc/
Hypertable/RangeServer/AccessGroup.cc:28:
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h: In member function 'void Hypertable::CellCache::lock()':
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h:69: error: 'boost::detail::thread' has not been declared
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h:69: error: expected primary-expression before '>' token
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h:69: error: '::lock' has not been declared
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h: In member function 'void
Hypertable::CellCache::unlock()':
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h:70: error: 'boost::detail::thread' has not been declared
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h:70: error: expected primary-expression before '>' token
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
CellCache.h:70: error: '::unlock' has not been declared
In file included from /u/megera/app/hypertable/hypertable/src/cc/
Hypertable/RangeServer/AccessGroup.cc:28:
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h: In member function 'void
Hypertable::AccessGroup::lock()':
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h:61: error: 'boost::detail::thread' has not been declared
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h:61: error: expected primary-expression before '>' token
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h:61: error: '::lock' has not been declared
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h: In member function 'void
Hypertable::AccessGroup::unlock()':
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h:62: error: 'boost::detail::thread' has not been declared
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h:62: error: expected primary-expression before '>' token
/u/megera/app/hypertable/hypertable/src/cc/Hypertable/RangeServer/
AccessGroup.h:62: error: '::unlock' has not been declared
make[2]: *** [src/cc/Hypertable/RangeServer/CMakeFiles/
Hypertable.RangeServer.dir/AccessGroup.o] Error 1
make[1]: *** [src/cc/Hypertable/RangeServer/CMakeFiles/
Hypertable.RangeServer.dir/all] Error 2
make: *** [all] Error 2

kevin

unread,
Apr 12, 2008, 2:45:36 AM4/12/08
to Hypertable User
Hi,

I have ever met the same problem with yours when I complied it with
boost 1.35.
I found there are some differences in the boost::thread between boost
1.34and 1.35.
So I turn to boost 1.34 and then it works.

Kevin

Doug Judd

unread,
Apr 13, 2008, 9:52:02 PM4/13/08
to hyperta...@googlegroups.com
Hi Oleg,

Sorry for taking so long to get back to you.  Hypertable currently uses an undocumented feature of boost 1.34.1.  We're going to have to do some porting to get it up and running on 1.35.  For now, the best thing to do is to roll back to 1.34.1.  We'll upgrade the software to 1.35 soon.

- Doug
Reply all
Reply to author
Forward
0 new messages