[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] Can't link with libaspell.a
From: |
Stéphane Pinel |
Subject: |
Re: [aspell-devel] Can't link with libaspell.a |
Date: |
Fri, 16 Jan 2004 18:40:13 +0100 |
Le 16 janv. 04, à 15:49, joe dumoulin a écrit :
which errors are you seeing?
I got 2 multiply-defined errors :
Link Error : multiply-defined:
'acommon::ClonePtr<aspeller::Soundslike>::Parms::assign(aspeller::
Soundslike*&, const aspeller::Soundslike*)const ' (code)
Defined in speller_impl.o
Defined in libaspell.a
Link Error : multiply-defined:
'acommon::CopyPtr<aspeller::Language>::Parms::del(aspeller::Language*)'
(code)
Defined in speller_impl.o
Defined in libaspell.a
and 39 undefined errors like these :
Link Error : undefined: 'std::string::append(const std::string&,
unsigned long, unsigned long)' (code)
Referenced from 'acommon::Config::Config[base](acommon::ParmString,
const acommon::KeyInfo*, const acommon::KeyInfo*)' in libaspell.a
Link Error : undefined: 'std::string::string[base](const char*,
unsigned long, const std::allocator<char>&)' (code)
Referenced from 'acommon::Config::Config[base](acommon::ParmString,
const acommon::KeyInfo*, const acommon::KeyInfo*)' in libaspell.a
Referenced from 'acommon::free_lt_handle(void*)' in libaspell.a
Link Error : undefined:
'_ZNSt24__default_alloc_templateILb1ELi0EE5_LockC4Ev' (code)
Referenced from 'acommon::ToUniLookup::reset()' in libaspell.a
Referenced from 'aspeller::Primes::resize(unsigned long)' in libaspell.a
Link Error : undefined:
'_ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev' (code)
Referenced from 'aspeller_default_suggest::Working::try_sound(const
char*, int)' in libaspell.a
Referenced from 'acommon::ToUniLookup::reset()' in libaspell.a
Referenced from 'aspeller::Primes::resize(unsigned long)' in libaspell.a
Referenced from
'aspeller_default_readonly_ws::ReadOnlyWS::detailed_elements()const '
in libaspell.a
Link Error : undefined: 'std::string::replace(unsigned long, unsigned
long, const char*, unsigned long)' (code)
Referenced from 'acommon::getdata_pair(acommon::IStream&,
acommon::String&, acommon::String&)' in libaspell.a
Link Error : undefined: '_ZNSaIcED4Ev' (code)
Referenced from 'acommon::SgmlFilter::setup(acommon::Config*)' in
libaspell.a
Referenced from 'acommon::ModuleInfoList::clear()' in libaspell.a
Referenced from 'aspeller::to_bool(const acommon::String&)' in
libaspell.a
Referenced from 'aspeller::PhonetParmsImpl::clone()const ' in
libaspell.a
...
...
...
Again, linking against the .dylib makes my project working fine.
Thanks
Stéphane