1

Possible Duplicate:
GCC: Use OpenSSL’s SHA256 Functions

I keep getting these linker errors although I specified boost.

~/cli$ make
g++ -pthread -lboost_system-mt -lboost_program_options-mt -lboost_thread-mt
-lboost_filesystem-mt ./main.o -o cli
./main.o: In function `main':
/home/mistapink/cli/main.cpp:123: undefined reference to
`boost::program_options::options_description::m_default_line_length'

The system is Ubuntu with 32 Bits. The boost libraries are installed in /usr/lib/ with aptitude.

Can anyone tell me what I have done wrong? I am a bit lost on this.

Community
  • 1
  • 1
mistapink
  • 1,926
  • 1
  • 26
  • 37

0 Answers0