
Hi!
I get this error on 1.35.0 aswell and I think I read somewhere that the bug
still exist in 1.36.0.
I solved it by defining m_default_line_length in my application. Not the
prettiest solution though...
Regards,
Arthur
On Sun, Oct 26, 2008 at 20:39, Olaf Peter
Hi,
I've tested boost.program_options, where I get linker error:
$ LANG=en g++ -DBOOST_ALL_NO_LIB -DDRIVER -O -I /usr/local/boost_1_37_0_beta1/include/boost-1_37/ cmdlineopts.cpp -o cmdlineopts -L /usr/local/boost_1_37_0_beta1/lib/ -l boost_program_options ... cmdlineopts.cpp:(.text+0x99): undefined reference to `boost::program_options::options_description::m_default_line_length' ... cmdlineopts.cpp:(.text+0x1ff): undefined reference to `boost::program_options::options_description::m_default_line_length' ... cmdlineopts.cpp:(.text+0x381): undefined reference to `boost::program_options::options_description::m_default_line_length' collect2: ld returned 1 exit status
nevertheless compiled with -DBOOST_ALL_NO_LIB or -DBOOST_ALL_DYN_LINK
Did I miss something?
Regards, Olaf
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users