On Wednesday 13 May 2009 20:24:10 Shawn Walker wrote: > I am still getting this error. I'm pretty sure boost is being included. > Does anyone have any suggestions?
I see from the output from your pkg-config command that you have a boost installation in /home/walker/src/boost_1_38_0 Do you have several boost installations? The undefined symols you refere to here are all defined in libboost_program_options, so it should work. What does locate libboost_program_options give you? Johan > /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc > /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc > dolfin/libdolfin.so: undefined reference to > `boost::program_options::options_description::m_default_line_length' > dolfin/libdolfin.so: undefined reference to > `boost::program_options::detail::cmdline::set_additional_parser(boost::func >tion1<std::pair<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> > >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&>)' > collect2: ld returned 1 exit status > scons: *** [demo/quadrature/cpp/demo] Error 1 > scons: building terminated because of errors. > demo/quadrature/cpp/demo failed: Error 1 > > - Shawn > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
