problem z komp.
skrobul
skrobul w batnet.pl
Nie, 18 Wrz 2005, 17:09:48 CEST
Witam
Mam problem z kompilacją sms'a na Debianie. Wyskakuje taki error:
================================================================
[root w batnet.pl][10:37][/usr/src/sms-2.0.3#] make
Makefile:30: warning: overriding commands for target `cgdbm.o'
Makefile:24: warning: ignoring old commands for target `cgdbm.o'
g++ -o sms main.o app.o config.o generic_sms.o era.o eranet.o
miastoplusa.o ideambox.o plusmail.o plus.o lib/mr_curl/mr_curl.o cgdbm.o
o2uk.o -L/usr/local/lib -lcurl -lpcre -lpcre++ -lgdbm
config.o: In function `Config::ParseConfigLine(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
config.cc:(.text+0x73c): undefined reference to
`pcrepp::Pcre::Pcre[in-charge]()'
config.cc:(.text+0x773): undefined reference to
`pcrepp::Pcre::operator=(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
config.cc:(.text+0x7e0): undefined reference to
`pcrepp::Pcre::search(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
config.cc:(.text+0x803): undefined reference to
`pcrepp::Pcre::get_match(int) const'
config.cc:(.text+0x88b): undefined reference to
`pcrepp::Pcre::get_match(int) const'
config.cc:(.text+0x926): undefined reference to
`pcrepp::Pcre::get_match_end(int) const'
config.cc:(.text+0x981): undefined reference to
`pcrepp::Pcre::get_match_start(int) const'
config.cc:(.text+0xafc): undefined reference to
`pcrepp::Pcre::operator=(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
config.cc:(.text+0xb69): undefined reference to
`pcrepp::Pcre::search(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
config.cc:(.text+0xb9f): undefined reference to
`pcrepp::Pcre::get_match(int) const'
config.cc:(.text+0xcff): undefined reference to
`pcrepp::Pcre::get_match_end(int) const'
config.cc:(.text+0xd5a): undefined reference to
`pcrepp::Pcre::get_match_start(int) const'
config.cc:(.text+0xea4): undefined reference to `pcrepp::Pcre::~Pcre
[in-charge]()'
config.cc:(.text+0xec8): undefined reference to `pcrepp::Pcre::~Pcre
[in-charge]()'
era.o: In function `PcreWrap::pcre_match_all(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&,
std::vector<std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >,
std::allocator<std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > >&)':
era.cc:(.gnu.linkonce.t._ZN8PcreWrap14pcre_match_allERKSsS1_S1_RSt6vectorIS2_ISsSaISsEESaIS4_EE+0x1c):
undefined reference to
`pcrepp::Pcre::Pcre[in-charge](std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
era.cc:(.gnu.linkonce.t._ZN8PcreWrap14pcre_match_allERKSsS1_S1_RSt6vectorIS2_ISsSaISsEESaIS4_EE+0x4b):
undefined reference to `pcrepp::Pcre::search(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, int)'
era.cc:(.gnu.linkonce.t._ZN8PcreWrap14pcre_match_allERKSsS1_S1_RSt6vectorIS2_ISsSaISsEESaIS4_EE+0x60):
undefined reference to `pcrepp::Pcre::get_sub_strings() const'
era.cc:(.gnu.linkonce.t._ZN8PcreWrap14pcre_match_allERKSsS1_S1_RSt6vectorIS2_ISsSaISsEESaIS4_EE+0x86):
undefined reference to `pcrepp::Pcre::get_match_end() const'
era.cc:(.gnu.linkonce.t._ZN8PcreWrap14pcre_match_allERKSsS1_S1_RSt6vectorIS2_ISsSaISsEESaIS4_EE+0x9b):
undefined reference to `pcrepp::Pcre::~Pcre [in-charge]()'
era.cc:(.gnu.linkonce.t._ZN8PcreWrap14pcre_match_allERKSsS1_S1_RSt6vectorIS2_ISsSaISsEESaIS4_EE+0xb1):
undefined reference to `pcrepp::Pcre::~Pcre [in-charge]()'
lib/mr_curl/mr_curl.o: In function
`PcreWrap::pcre_match(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)':
mr_curl.cc:(.gnu.linkonce.t._ZN8PcreWrap10pcre_matchERKSsS1_S1_+0x1c):
undefined reference to
`pcrepp::Pcre::Pcre[in-charge](std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
mr_curl.cc:(.gnu.linkonce.t._ZN8PcreWrap10pcre_matchERKSsS1_S1_+0x2e):
undefined reference to `pcrepp::Pcre::search(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
mr_curl.cc:(.gnu.linkonce.t._ZN8PcreWrap10pcre_matchERKSsS1_S1_+0x3c):
undefined reference to `pcrepp::Pcre::~Pcre [in-charge]()'
mr_curl.cc:(.gnu.linkonce.t._ZN8PcreWrap10pcre_matchERKSsS1_S1_+0x52):
undefined reference to `pcrepp::Pcre::~Pcre [in-charge]()'
collect2: ld returned 1 exit status
make: *** [sms] Error 1
================================================================
mam zainstalowane następujące wersje bibliotek:
[root w batnet.pl][10:37][/usr/src/sms-2.0.3#] dpkg -l | grep pcre
ii libpcre3 6.3-1 Perl 5 Compatible Regular Expression Library
ii libpcre3-dev 6.3-1 Perl 5 Compatible Regular Expression Library
ii pcre++-0.9 0.9-1 libpcre++
[root w batnet.pl][10:43][/usr/src/sms-2.0.3#] dpkg -l | grep curl
ii libcurl2 7.10.6-3 Multi-protocol file transfer library
ii libcurl3 7.14.0-5 Multi-protocol file transfer library, now wi
ii libcurl3-dev 7.14.0-5 Development files and documentation for libc
czy ktoś spotkał sie z takim błędem albo wie jak temu zaradzić? Z góry
dzięki za wszelką pomoc.
pozdrawiam,
Marek Skrobacki
Więcej informacji o liście dyskusyjnej Sms-users