Problem z kompilacją sms 2.x

Rafał Rusin dangerox w interia.pl
Wto, 2 Lis 2004, 13:47:38 CET


Mam problem ze skompilowaniem sms 2.x
Używam dystrybucji Slackware 10.0

Próba kompilacji wygląda u mnie tak:
root w falcon:/home/danger/sms-2.0.2# make
Makefile:30: ostrzeżenie: polecenia zakrywające dla obiektu `cgdbm.o'
Makefile:24: ostrzeżenie: ignoruję stare polecenia dla obiektu `cgdbm.o'
g++ -c -MMD -Wall -pipe -Ilib -I/usr/local/include config.cc -o config.o
In file included from config.cc:10:
lib/mr_pcre/mr_pcre.h:4:20: warning: pcre++.h: Nie ma takiego pliku ani katalogu
In file included from config.cc:10:
lib/mr_pcre/mr_pcre.h: In static member function `static bool
   PcreWrap::pcre_match_all(const std::string&, const std::string&, const
   std::string&, std::vector<std::vector<std::string,
   std::allocator<std::string> >, std::allocator<std::vector<std::string,
   std::allocator<std::string> > > >&)':
lib/mr_pcre/mr_pcre.h:33: error: `pcrepp' undeclared (first use this function)
lib/mr_pcre/mr_pcre.h:33: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
lib/mr_pcre/mr_pcre.h:33: error: parse error before `;' token
lib/mr_pcre/mr_pcre.h:39: error: parse error before `;' token
lib/mr_pcre/mr_pcre.h:41: error: parse error before `;' token
lib/mr_pcre/mr_pcre.h:43: error: parse error before `;' token
lib/mr_pcre/mr_pcre.h:35: warning: unused variable `bool found'
lib/mr_pcre/mr_pcre.h:44: warning: no return statement in function returning
   non-void
lib/mr_pcre/mr_pcre.h: At global scope:
lib/mr_pcre/mr_pcre.h:46: error: parse error at end of saved function text
lib/mr_pcre/mr_pcre.h: In static member function `static bool
   PcreWrap::pcre_match(const std::string&, const std::string&, const
   std::string&)':
lib/mr_pcre/mr_pcre.h:54: error: parse error before `;' token
lib/mr_pcre/mr_pcre.h:56: error: parse error before `;' token
lib/mr_pcre/mr_pcre.h:57: warning: no return statement in function returning
   non-void
config.cc: At global scope:
config.cc:14: error: `<type error>' is not a namespace
config.cc: In member function `std::string Config::ParseConfigLine(const
   std::string&)':
config.cc:46: error: parse error before `;' token
config.cc:51: error: parse error before `.' token
config.cc:55: error: parse error before `.' token
config.cc:57: error: parse error before `.' token
config.cc:61: error: parse error before `.' token
config.cc:65: error: parse error before `=' token
config.cc:67: error: parse error before `.' token
config.cc:72: error: parse error before `.' token
config.cc:72: error: parse error before `)' token
config.cc:80: error: parse error before `.' token
config.cc:70: warning: unused variable `int c'
make: *** [config.o] Błąd 1
root w falcon:/home/danger/sms-2.0.2#

Domyślam się, że coś nie tak jest ze ścieżkami do plików. Wyskoczył
błąd, że nie ma pcre++.h. Sprawdziłem w źródłach i okazuje się, że
jest.

-- 
Pozdrowienia,
 Rafał Rusin


----------------------------------------------------------------------
Startuj z INTERIA.PL!!! >>> http://link.interia.pl/f1837



Więcej informacji o liście dyskusyjnej Sms-users