Re: [Boost-bugs] [Boost C++ Libraries] #4265: Symbols not found while linking with program_options (mingw32, gcc 4.5)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4265: Symbols not found while linking with program_options (mingw32, gcc 4.5)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-07-30 09:17:13


#4265: Symbols not found while linking with program_options (mingw32, gcc 4.5)
-----------------------------------------+-----------------------------
  Reporter: Danil Ilinykh <woodroof@…> | Owner: Vladimir Prus
      Type: Bugs | Status: closed
 Milestone: Boost 1.43.0 | Component: program_options
   Version: Boost 1.44.0 | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------------+-----------------------------

Comment (by anonymous):

 Replying to [ticket:4265 Danil Ilinykh <woodroof@…>]:
> Link command:
> g++ -o my_application.exe object_script.my_application
 -lboost_program_options[...]
> Errors:
> undefined reference to
 `boost::program_options::options_description::m_default_line_length'
> undefined reference to
 `boost::program_options::options_description::options_description(std::string
 const&, unsigned int, unsigned int)'
> undefined reference to
 `boost::program_options::options_description::add_options()'
> undefined reference to
 `boost::program_options::options_description_easy_init::operator()(char
 const*, char const*)'
> undefined reference to
 `boost::program_options::options_description::options_description(unsigned
 int, unsigned int)'
> undefined reference to
 `boost::program_options::options_description::add(boost::program_options::options_description
 const&)'
> ...
> Some more follows

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/4265#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-07-30 09:22:17 UTC