Cytuj:
a jakie dostajesz błędy (wróżki na wakacjach)?
Np.
Chcialem skompilowac program sms-2.0.3
po wydaniu polecenia make ( tak jest w README napisane)
Wywala mi ponizszy blad, a mam wszystkie wymagane pakiety zainstalowane, czyli:
Curl
Pcre
Pcre++
gdbm
Po bledach widze ze cos jest nie tak z Curl
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 main.cc -o main.o
In file included from main.cc:4:
lib/mr_curl/mr_curl.h:31:23: warning: curl/curl.h: Nie ma takiego pliku ani katalogu
In file included from main.cc:4:
lib/mr_curl/mr_curl.h:112: error: syntax error before `*' token
lib/mr_curl/mr_curl.h:113: error: 'CURLcode' is used as a type, but is not
defined as a type.
lib/mr_curl/mr_curl.h:122: error: `CURLoption' was not declared in this scope
lib/mr_curl/mr_curl.h:122: error: parse error before `,' token
lib/mr_curl/mr_curl.h:123: error: parse error before `*' token
lib/mr_curl/mr_curl.h:124: error: parse error before `::' token
lib/mr_curl/mr_curl.h:125: error: parse error before `::' token
lib/mr_curl/mr_curl.h:126: error: parse error before `::' token
lib/mr_curl/mr_curl.h:127: error: parse error before `::' token
lib/mr_curl/mr_curl.h:128: error: parse error before `)' token
lib/mr_curl/mr_curl.h:135: error: parse error before `)' token
lib/mr_curl/mr_curl.h:144: error: `CURLAUTH_BASIC' was not declared in this
scope
lib/mr_curl/mr_curl.h:148: error: `CURLAUTH_BASIC' was not declared in this
scope
lib/mr_curl/mr_curl.h: In function `void Curl_Init()':
lib/mr_curl/mr_curl.h:152: error: `CURL_GLOBAL_ALL' undeclared (first use this
function)
lib/mr_curl/mr_curl.h:152: error: (Each undeclared identifier is reported only
once for each function it appears in.)
lib/mr_curl/mr_curl.h:152: error: `curl_global_init' undeclared (first use this
function)
lib/mr_curl/mr_curl.h: In function `void Curl_Done()':
lib/mr_curl/mr_curl.h:155: error: `curl_global_cleanup' undeclared (first use
this function)
lib/mr_curl/mr_curl.h: At global scope:
lib/mr_curl/mr_curl.h:159: error: friend declaration not in class definition
lib/mr_curl/mr_curl.h:161: error: friend declaration not in class definition
lib/mr_curl/mr_curl.h:162: error: parse error before `}' token
lib/mr_curl/mr_curl.h: In constructor `CurlGlobal::CurlGlobal()':
lib/mr_curl/mr_curl.h:167: error: `curl_global_init' undeclared (first use this
function)
/usr/include/c++/3.3.3/bits/stl_map.h: At top level:
lib/mr_curl/mr_curl.h:151: warning: `void Curl_Init()' defined but not used
lib/mr_curl/mr_curl.h:154: warning: `void Curl_Done()' defined but not used
make: *** [main.o] Błąd 1