Skip to content

Not compiling with g++-4.8.4 on ubuntu 14.04 with boost 1.55.0 #1

@narayanan2004

Description

@narayanan2004

What are the system requirements for ms-bfs to compile? I am getting errors of this form (at the final link stage) --

g++ main.release.o graph.release.o io.release.o log.release.o scheduler.release.o bfs/naive.release.o bfs/sc2012.release.o bfs/parabfs.release.o bfs/noqueue.release.o bfs/batch64.release.o bfs/batch128.release.o bfs/batch256.release.o bfs/sse.release.o worker.release.o query4.release.o /usr/local/lib/boost/libboost_iostreams.a /usr/local/lib/boost/libboost_system.a /usr/local/lib/boost/libboost_thread.a /usr/local/lib/boost/libboost_timer.a /usr/local/lib/boost/libboost_chrono.a -lrt -o runBfs -Wl,-O1 -pthread
.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev' referenced in section.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev]' of /usr/local/lib/boost/libboost_thread.a(thread.o): defined in discarded section .text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED5Ev]' of /usr/local/lib/boost/libboost_thread.a(thread.o) .text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev' referenced in section .text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev]' of /usr/local/lib/boost/libboost_thread.a(thread.o): defined in discarded section.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED5Ev]' of /usr/local/lib/boost/libboost_thread.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED2Ev' referenced in section.text._ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED1Ev]' of /usr/local/lib/boost/libboost_thread.a(thread.o): defined in discarded section `.text._ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED5Ev]' of /usr/local/lib/boost/libboost_thread.a(thread.o)
collect2: error: ld returned 1 exit status
make: *** [runBfs] Error 1

Is there a minimum version of Boost required? I am using version 1.55. Any pointers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions