Hi all,
Recently i've been compiling HT 0.9.5.5, I run cmake successfully but
failed on make. Attached is the result for the two commands.
Erros looks like:
[ 6%] Building CXX object
src/cc/Common/CMakeFiles/bloom_filter_test.dir/tests/bloom_filter_test.cc.o
Linking CXX executable bloom_filter_test
CMakeFiles/bloom_filter_test.dir/tests/bloom_filter_test.cc.o: In function
`Hypertable::MurmurHash2::operator()(void const*, unsigned int, unsigned
int) const':
/home/me/hypertable-0.9.5.5/src/cc/Common/MurmurHash.h:25: undefined
reference to `Hypertable::murmurhash2(void const*, unsigned int, unsigned
int)'
libHyperCommon.a(Config.cc.o): In function
`Hypertable::Config::DefaultPolicy::init_options()':
/home/me/hypertable-0.9.5.5/src/cc/Common/Config.cc:109: undefined
reference to `boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/Config.cc:112: undefined
reference to `boost::filesystem3::path::operator/=(char const*)'
libHyperCommon.a(Config.cc.o): In function
`boost::filesystem3::current_path()':
/usr/local/include/boost/filesystem/v3/operations.hpp:429: undefined
reference to
`boost::filesystem3::detail::current_path(boost::system::error_code*)'
libHyperCommon.a(System.cc.o): In function
`Hypertable::System::_locate_install_dir(char const*)':
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:34: undefined reference
to `boost::filesystem3::path::filename() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:39: undefined reference
to `boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:39: undefined reference
to `boost::filesystem3::path::filename() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:40: undefined reference
to `boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:40: undefined reference
to `boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:42: undefined reference
to `boost::filesystem3::path::parent_path() const'
libHyperCommon.a(System.cc.o): In function
`Hypertable::System::_init(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:61: undefined reference
to `boost::filesystem3::path::filename() const'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libboost_filesystem-mt.so:
undefined reference to `boost::system::get_system_category()'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libboost_filesystem-mt.so:
undefined reference to `boost::system::get_generic_category()'
collect2: ld returned 1 exit status
make[2]: *** [src/cc/Common/bloom_filter_test] Error 1
make[1]: *** [src/cc/Common/CMakeFiles/bloom_filter_test.dir/all] Error 2
make: *** [all] Error 2
Surely I've installed boost successfully, but how could this happen?
--
You received this message because you are subscribed to the Google Groups
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hypertable-dev?hl=en.
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Use thread library: -lpthread
-- Looking for required boost libraries...
-- GCC version: 4.4.5
-- Boost version: 1_49
-- Boost thread lib: /usr/lib/libboost_thread.so
-- Boost program options lib: /usr/lib/libboost_program_options.so
-- Boost filesystem lib: /usr/lib/libboost_filesystem-mt.so
-- Boost iostreams lib: /usr/lib/libboost_iostreams.so
-- Boost python lib: /usr/lib/libboost_python.so
-- Boost system lib: /usr/lib/libboost_system-mt.so
-- Boost lib dir: /usr/lib
-- Found BerkeleyDB: /usr/local/BerkeleyDB.5.1/lib/libdb_cxx.so
-- Berkeley DB version: 5.1.25
-- Found EXPAT: /usr/lib/libexpat.so
-- Found Log4cpp: /usr/lib/liblog4cpp.so
-- Found Readline libraries: /usr/lib/libreadline.so;/usr/lib/libncurses.so
-- cb=TRUE c= val= foo=Change Dir:
/home/me/hypertable-0.9.5.5/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory
`/home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/me/hypertable-0.9.5.5/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/SystemVersion.cc.o
/usr/bin/c++ -I/usr/local/include -o
CMakeFiles/cmTryCompileExec.dir/SystemVersion.cc.o -c
/home/me/hypertable-0.9.5.5/cmake/SystemVersion.cc
Linking CXX executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt
--verbose=1
/usr/bin/c++ CMakeFiles/cmTryCompileExec.dir/SystemVersion.cc.o -o
cmTryCompileExec -rdynamic -ldl /usr/local/lib/libsigar-x86-linux.so
make[1]: Leaving directory
`/home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
-- Found SIGAR: /usr/local/lib/libsigar-x86-linux.so;dl
-- Operating System: Ubuntu_10.10
-- Found ZLIB: /usr/include (found version "1.2.3.4")
-- Found BZip2: /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- Found RE2: /usr/local/lib/libre2.so
-- version: 0.0.0
-- Not Found Snappy: SNAPPY_LIBRARY-NOTFOUND
-- Found rrdtool in /usr/bin
-- Found cronolog in /usr/local/sbin
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found Tcmalloc: /usr/lib/libtcmalloc.so
version: 1.5
-- Not Found Jemalloc: Jemalloc_LIBRARY-NOTFOUND
-- Not Found Hoard: Hoard_LIBRARY-NOTFOUND
-- Did not find ceph libraries
-- Found Ant: Apache Ant version 1.8.0 compiled on May 9 2010
-- Javac: javac 1.6.0_25
-- Found JNI: /usr/local/lib/jdk1.6.0_25/jre/lib/i386/libjawt.so
-- Found PythonLibs: /usr/lib/libpython2.6.so
-- Found libevent: /usr/lib/libevent.so
-- Thrift compiler/libraries NOT found. Thrift support will be disabled (127,
Thrift_INCLUDE_DIR-NOTFOUND, Thrift_LIB-NOTFOUND, Thrift_NB_LIB-NOTFOUND)
-- Thrift for ruby not found. ThriftBroker support for ruby will be disabled
-- PHPTHRIFT_ROOT not found. ThriftBroker support for php will be disabled
-- Thrift for perl not found. ThriftBroker support for perl will be disabled
-- Thrift for python not found. ThriftBroker support for python will be disabled
-- Java headers found at: /usr/local/lib/jdk1.6.0_25/include
-- Please set HADOOP_INCLUDE_PATH variable for Legacy Hadoop support
-- Please set HADOOP_LIB_PATH variable for Legacy Hadoop support
-- Not building shared libraries. Legacy Hadoop support will be disabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/me/hypertable-0.9.5.5
Scanning dependencies of target HypertableJavaComponents
Buildfile: /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml
clean:
[delete] Deleting directory /home/me/hypertable-0.9.5.5/java
prepare:
[mkdir] Created dir: /home/me/hypertable-0.9.5.5/java/classes
compile:
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:81:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 22 source files to
/home/me/hypertable-0.9.5.5/java/classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:85:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 5 source files to /home/me/hypertable-0.9.5.5/java/classes
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:89:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 70 source files to
/home/me/hypertable-0.9.5.5/java/classes
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:93:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 19 source files to
/home/me/hypertable-0.9.5.5/java/classes
[javac]
/home/me/hypertable-0.9.5.5/src/java/MapReduce/org/hypertable/hadoop/mapreduce/OutputCommitter.java:37:
warning: [deprecation] cleanupJob(org.apache.hadoop.mapreduce.JobContext) in
org.apache.hadoop.mapreduce.OutputCommitter has been deprecated
[javac] public void cleanupJob(JobContext arg0) {
[javac] ^
[javac] 1 warning
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:97:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to /home/me/hypertable-0.9.5.5/java/classes
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:101:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 8 source files to /home/me/hypertable-0.9.5.5/java/classes
[javac] Note:
/home/me/hypertable-0.9.5.5/src/java/Hive/org/hypertable/hadoop/hive/HiveHTInputFormat.java
uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Creating empty
/home/me/hypertable-0.9.5.5/java/classes/org/hypertable/hadoop/hive/package-info.class
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:105:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 22 source files to
/home/me/hypertable-0.9.5.5/java/classes
jar:
[jar] Building jar:
/home/me/hypertable-0.9.5.5/java/hypertable-0.9.5.5.jar
BUILD SUCCESSFUL
Total time: 23 seconds
[ 0%] Built target HypertableJavaComponents
Scanning dependencies of target HypertableJavaExamples
Buildfile: /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml
clean:
[delete] Deleting directory /home/me/hypertable-0.9.5.5/java
prepare:
[mkdir] Created dir: /home/me/hypertable-0.9.5.5/java/classes
compile:
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:81:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 22 source files to
/home/me/hypertable-0.9.5.5/java/classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:85:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 5 source files to /home/me/hypertable-0.9.5.5/java/classes
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:89:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 70 source files to
/home/me/hypertable-0.9.5.5/java/classes
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:93:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 19 source files to
/home/me/hypertable-0.9.5.5/java/classes
[javac]
/home/me/hypertable-0.9.5.5/src/java/MapReduce/org/hypertable/hadoop/mapreduce/OutputCommitter.java:37:
warning: [deprecation] cleanupJob(org.apache.hadoop.mapreduce.JobContext) in
org.apache.hadoop.mapreduce.OutputCommitter has been deprecated
[javac] public void cleanupJob(JobContext arg0) {
[javac] ^
[javac] 1 warning
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:97:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to /home/me/hypertable-0.9.5.5/java/classes
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:101:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 8 source files to /home/me/hypertable-0.9.5.5/java/classes
[javac] Note:
/home/me/hypertable-0.9.5.5/src/java/Hive/org/hypertable/hadoop/hive/HiveHTInputFormat.java
uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Creating empty
/home/me/hypertable-0.9.5.5/java/classes/org/hypertable/hadoop/hive/package-info.class
[javac] /home/me/Dropbox/ubuntu_config/hypertable-0.9.5.5/build.xml:105:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 22 source files to
/home/me/hypertable-0.9.5.5/java/classes
jar:
[jar] Building jar:
/home/me/hypertable-0.9.5.5/java/hypertable-0.9.5.5.jar
examples:
[mkdir] Created dir: /home/me/hypertable-0.9.5.5/java/classes/lib
[copy] Copying 15 files to /home/me/hypertable-0.9.5.5/java/classes/lib
[jar] Building jar:
/home/me/hypertable-0.9.5.5/java/hypertable-0.9.5.5-examples.jar
BUILD SUCCESSFUL
Total time: 23 seconds
[ 0%] Built target HypertableJavaExamples
[ 0%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Abi.cc.o
[ 0%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/Checksum.cc.o
[ 1%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Config.cc.o
[ 1%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/DiscreteRandomGenerator.cc.o
[ 1%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/DiscreteRandomGeneratorFactory.cc.o
[ 1%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/DiscreteRandomGeneratorZipf.cc.o
[ 1%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Error.cc.o
[ 2%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Escaper.cc.o
[ 2%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/FailureInducer.cc.o
[ 2%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/FileUtils.cc.o
[ 2%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/Filesystem.cc.o
[ 2%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/InetAddr.cc.o
[ 3%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/InteractiveCommand.cc.o
[ 3%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Logger.cc.o
[ 3%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Lookup3.cc.o
[ 3%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Math.cc.o
[ 3%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/MurmurHash.cc.o
[ 4%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/Properties.cc.o
[ 4%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Random.cc.o
[ 4%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/String.cc.o
[ 4%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/SuperFastHash.cc.o
[ 5%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/System.cc.o
[ 5%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/SystemInfo.cc.o
[ 5%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/StatsSerializable.cc.o
[ 5%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/StatsSystem.cc.o
[ 5%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/StringCompressorPrefix.cc.o
[ 6%] Building CXX object
src/cc/Common/CMakeFiles/HyperCommon.dir/StringDecompressorPrefix.cc.o
[ 6%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Time.cc.o
[ 6%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Usage.cc.o
[ 6%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/Version.cc.o
[ 6%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/md5.cc.o
Linking CXX static library libHyperCommon.a
[ 6%] Built target HyperCommon
[ 6%] Building CXX object
src/cc/Common/CMakeFiles/bloom_filter_test.dir/tests/bloom_filter_test.cc.o
Linking CXX executable bloom_filter_test
CMakeFiles/bloom_filter_test.dir/tests/bloom_filter_test.cc.o: In function
`Hypertable::MurmurHash2::operator()(void const*, unsigned int, unsigned int)
const':
/home/me/hypertable-0.9.5.5/src/cc/Common/MurmurHash.h:25: undefined reference
to `Hypertable::murmurhash2(void const*, unsigned int, unsigned int)'
libHyperCommon.a(Config.cc.o): In function
`Hypertable::Config::DefaultPolicy::init_options()':
/home/me/hypertable-0.9.5.5/src/cc/Common/Config.cc:109: undefined reference to
`boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/Config.cc:112: undefined reference to
`boost::filesystem3::path::operator/=(char const*)'
libHyperCommon.a(Config.cc.o): In function `boost::filesystem3::current_path()':
/usr/local/include/boost/filesystem/v3/operations.hpp:429: undefined reference
to `boost::filesystem3::detail::current_path(boost::system::error_code*)'
libHyperCommon.a(System.cc.o): In function
`Hypertable::System::_locate_install_dir(char const*)':
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:34: undefined reference to
`boost::filesystem3::path::filename() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:39: undefined reference to
`boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:39: undefined reference to
`boost::filesystem3::path::filename() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:40: undefined reference to
`boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:40: undefined reference to
`boost::filesystem3::path::parent_path() const'
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:42: undefined reference to
`boost::filesystem3::path::parent_path() const'
libHyperCommon.a(System.cc.o): In function
`Hypertable::System::_init(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':
/home/me/hypertable-0.9.5.5/src/cc/Common/System.cc:61: undefined reference to
`boost::filesystem3::path::filename() const'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libboost_filesystem-mt.so:
undefined reference to `boost::system::get_system_category()'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libboost_filesystem-mt.so:
undefined reference to `boost::system::get_generic_category()'
collect2: ld returned 1 exit status
make[2]: *** [src/cc/Common/bloom_filter_test] Error 1
make[1]: *** [src/cc/Common/CMakeFiles/bloom_filter_test.dir/all] Error 2
make: *** [all] Error 2