Link issue

Jan Beich jbeich at FreeBSD.org
Sat Nov 11 15:05:37 UTC 2017


Jason Bacon <bacon4000 at gmail.com> writes:

> On 11/11/17 08:24, Jan Beich wrote:
>
>> Jason Bacon <bacon4000 at gmail.com> writes:
>>
>>> BoltParams.o: In function
>>> `LMM::BoltParams::processCommandLineArgs(int, char**)':
>>> BoltParams.cpp:(.text+0x1a01): undefined reference to
>>> `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char,
>>> std::char_traits<char>, std::allocator<char> > const&, unsigned int,
>>> unsigned int)'
>> Try replacing USE_GCC=yes with USES=compiler:gcc-c++11-lib to make the
>> port use GCC/libc++ rather than GCC/libstdc++.
>
> Hmm, I had tried that before to no avail.  I think maybe I forgot to
> comment out compiler:openmp and hence gcc-c++11-lib was silently
> ignored.

Due to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199603
sometimes one has to be careful about order of USES arguments.

>
> At any rate, it's working now.
>
> Thanks!


More information about the freebsd-office mailing list