-
Notifications
You must be signed in to change notification settings - Fork 18
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
Boost error when compiling gossamer #28
Comments
Hi. GCC 4.8 is unsupported by the GCC team, and has been for five years. This is a known problem with older GCCs and Boost. There are several known workarounds, but by far, the easiest would be to upgrade your compiler. If you can't do that, let me know. |
I switched to GCC 6.3.0, but still get an error. Do I need a newer version of BOOST? If so, what version? -- The C compiler identification is GNU 6.3.0 Compilation error: |
I am getting the same error. used gcc/6.1.0,6.3.0. No matter which compiler/boost/cmake I use the error is the same. The output also similar to that of mwaldron104. |
Hi, similar issue on installation, and my OS is CentoOS [ 73%] Building CXX object src/CMakeFiles/gossapp.dir/GossCmdThreadPairs.cc.o |
I am trying to build gossamer on a RHEL 7.7 system, with boost version 1.58, and encountering this error:
Linking CXX executable testGossCmdBuildGraph
libgosslib.a(PhysicalFileFactory.cc.o): In function
boost::filesystem::copy_file(boost::filesystem::path const&, boost::filesystem::path const&)': PhysicalFileFactory.cc:(.text._ZN5boost10filesystem9copy_fileERKNS0_4pathES3_[_ZN5boost10filesystem9copy_fileERKNS0_4pathES3_]+0x24): undefined reference to
boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, boost::system::error_code*)'collect2: error: ld returned 1 exit status
make[2]: *** [src/testGossCmdBuildGraph] Error 1
make[1]: *** [src/CMakeFiles/testGossCmdBuildGraph.dir/all] Error 2
make: *** [all] Error 2
The output of my cmake looks like this:
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- This is a Unix-like platform
-- The compiler is GNU
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- iostreams
-- program_options
-- filesystem
-- regex
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not 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
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Checking for module 'sqlite3'
-- Found sqlite3, version 3.7.17
-- Found Sqlite: /usr/include
-- Looking for pandoc - found
-- Manual pages will be built
-- Configuring done
-- Generating done
The text was updated successfully, but these errors were encountered: