Opened 6 years ago

Last modified 6 years ago

#12301 new Bugs

problem building 1.61.0

Reported by: drmhkelley@… Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.61.0 Severity: Showstopper
Keywords: Cc:

Description

Brand new to boost. Downloaded and (apparently successfully) built version 1.61.0. Using recent (I think most recent) version on cygwin64 on Windows 10. First use was to try the tutorial programs for the boost filesystem package. Below is the linker output for tut1.cpp

Any suggestions what I may have done wrong or where to look for solution?

tut1.o:tut1.cpp:(.text+0x11f): undefined reference to `boost::system::generic_category()' tut1.o:tut1.cpp:(.text+0x11f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol ` boost::system::generic_category()' tut1.o:tut1.cpp:(.text+0x12b): undefined reference to `boost::system::generic_category()' tut1.o:tut1.cpp:(.text+0x12b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `

boost::system::generic_category()' tut1.o:tut1.cpp:(.text+0x137): undefined reference to `boost::system::system_category()' tut1.o:tut1.cpp:(.text+0x137): relocation truncated to fit: R_X86_64_PC32 against undefined symbol ` boost::system::system_category()' collect2: error: ld returned 1 exit status make: * [Makefile:20: tut1] Error 1

Change History (1)

comment:1 by anonymous, 6 years ago

Hi, you need to link with boost_system. Frédéric

Note: See TracTickets for help on using tickets.