← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Make destructor of NewParameter virtual

 

Looks like you need to remove scons/pkgconfig/boost.pc

See earlier post today on missing link flag for boost that Johannes
added.

-- 
Anders


On Mon, May 11, 2009 at 05:27:44PM -0400, Shawn Walker wrote:
> That worked too, but I get some error with BOOST:
>
> /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
> /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::operator<<(std::basic_ostream<char,  
> std::chr_traits<char> >&, boost::program_options::options_description  
> const&)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::to_internal(std::basic_string<char,  
> std::chr_traits<char>, std::allocator<char> > const&)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::detail::cmdline::run()'
> dolfin/libdolfin.so: undefined reference to `boost::program_options::arg'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::variables_map::variables_map()'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::invalid_option_value::invalid_option_value(td::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::validate(boost::any&,  
> std::vector<std::basi_string<char, std::char_traits<char>,  
> std::allocator<char> >, std::allocator<std::basic_string<char,  
> std::char_taits<char>, std::allocator<char> > > > const&,  
> std::basic_string<char, std::char_traits<char>, std::allocator<chr> >*,  
> int)'
> dolfin/libdolfin.so: undefined reference to `typeinfo for  
> boost::program_options::validation_error'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::notify(boost::program_options::variables_ma&)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::detail::cmdline::set_options_description(bost::program_options::options_description 
> const&)'
> dolfin/libdolfin.so: undefined reference to `typeinfo for  
> boost::program_options::value_semantic_codecvt_helper<har>'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::options_description::add_options()'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::options_description::options_description(st::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::validation_error::what() const'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::detail::cmdline::cmdline(std::vector<std::bsic_string<char, 
> std::char_traits<char>, std::allocator<char> >,  
> std::allocator<std::basic_string<char, std::cha_traits<char>,  
> std::allocator<char> > > > const&)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::value_semantic_codecvt_helper<char>::parse(oost::any&, 
> std::vector<std::basic_string<char, std::char_traits<char>,  
> std::allocator<char> >, std::allocator<sd::basic_string<char,  
> std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::abstract_variables_map::operator[](std::basc_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) const'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::detail::cmdline::set_additional_parser(boos::function1<std::pair<std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> >, std::basic_string<har,  
> std::char_traits<char>, std::allocator<char> > >, std::basic_string<char, 
> std::char_traits<char>, std::alloator<char> > const&,  
> std::allocator<boost::function_base> >)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::validators::check_first_occurrence(boost::ay  
> const&)'
> dolfin/libdolfin.so: undefined reference to `vtable for  
> boost::program_options::variables_map'
> dolfin/libdolfin.so: undefined reference to `vtable for  
> boost::program_options::validation_error'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::store(boost::program_options::basic_parsed_ptions<char> 
> const&, boost::program_options::variables_map&, bool)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::options_description_easy_init::operator()(car  
> const*, char const*)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::options_description_easy_init::operator()(car  
> const*, boost::program_options::value_semantic const*, char const*)'
> dolfin/libdolfin.so: undefined reference to  
> `boost::program_options::detail::cmdline::style(int)'
> 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
>
> On Mon, 11 May 2009, DOLFIN wrote:
>
>> One or more new changesets pushed to the primary dolfin repository.
>> A short summary of the last three changesets is included below.
>>
>> changeset:   6134:077bbd08998fe462cbdf42088a5434188307cfa8
>> tag:         tip
>> user:        Anders Logg <logg@xxxxxxxxx>
>> date:        Mon May 11 23:13:38 2009 +0200
>> files:       dolfin/parameter/NewParameter.h
>> description:
>> Make destructor of NewParameter virtual
>>
>>
>> changeset:   6133:8fc84805993f117117cfd2bfd2f69493930989a8
>> user:        Anders Logg <logg@xxxxxxxxx>
>> date:        Mon May 11 22:47:07 2009 +0200
>> files:       dolfin/log/log.cpp
>> description:
>> Cast to unsigned int in log.cpp to fix compile error on 64 bit (?) systems
>>
>>
>> changeset:   6132:fb11e7f04020aa2c59ab10f7ae09c77dff8a2f2a
>> user:        Anders Logg <logg@xxxxxxxxx>
>> date:        Mon May 11 22:39:28 2009 +0200
>> files:       dolfin/ode/ODE.cpp
>> description:
>> Bug fix in ODE solver
>>
>> ----------------------------------------------------------------------
>> For more details, visit http://www.fenics.org/hg/dolfin
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@xxxxxxxxxx
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>

Attachment: signature.asc
Description: Digital signature


Follow ups

References