Не проходит make
Добавлено: Пт мар 20, 2009 17:38
Помогите пожалуйста.
Делаю make и получаю вывод:
sles1:/home/distr/squidclamav-4.0 # make
make all-am
make[1]: Entering directory `/home/distr/squidclamav-4.0'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c:66:23: error: curl/curl.h: No such file or directory
main.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c: In function ‘main’:
main.c:192: error: ‘CURL_ERROR_SIZE’ undeclared (first use in this function)
main.c:192: error: (Each undeclared identifier is reported only once
main.c:192: error: for each function it appears in.)
main.c:276: error: ‘CURL_GLOBAL_ALL’ undeclared (first use in this function)
main.c:278: error: ‘eh’ undeclared (first use in this function)
main.c:288: error: ‘CURLOPT_HEADERFUNCTION’ undeclared (first use in this function)
main.c:290: error: ‘CURLOPT_WRITEFUNCTION’ undeclared (first use in this function)
main.c:292: error: ‘CURLOPT_ERRORBUFFER’ undeclared (first use in this function)
main.c:294: error: ‘CURLOPT_TIMEOUT’ undeclared (first use in this function)
main.c:296: error: ‘CURLOPT_NOSIGNAL’ undeclared (first use in this function)
main.c:298: error: ‘CURL_HTTP_VERSION_1_0’ undeclared (first use in this function)
main.c:303: error: ‘CURLOPT_FAILONERROR’ undeclared (first use in this function)
main.c:308: error: ‘CURLOPT_FOLLOWLOCATION’ undeclared (first use in this function)
main.c:310: error: ‘CURLOPT_MAXREDIRS’ undeclared (first use in this function)
main.c:313: error: ‘CURLOPT_USERAGENT’ undeclared (first use in this function)
main.c:315: warning: assignment makes pointer from integer without a cast
main.c:316: error: ‘CURLOPT_HTTPHEADER’ undeclared (first use in this function)
main.c:508: error: ‘CURLOPT_PROXY’ undeclared (first use in this function)
main.c:511: error: ‘CURLOPT_URL’ undeclared (first use in this function)
main.c:513: error: ‘CURLOPT_NOBODY’ undeclared (first use in this function)
main.c:547: error: ‘CURLINFO_CONTENT_LENGTH_DOWNLOAD’ undeclared (first use in this function)
main.c:548: error: ‘CURLE_OK’ undeclared (first use in this function)
main.c:564: error: ‘CURLINFO_CONTENT_TYPE’ undeclared (first use in this function)
main.c:690: error: ‘CURLOPT_HTTPGET’ undeclared (first use in this function)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/distr/squidclamav-4.0'
make: *** [all] Error 2
Застрял на этом и никак не поборю.
Делаю make и получаю вывод:
sles1:/home/distr/squidclamav-4.0 # make
make all-am
make[1]: Entering directory `/home/distr/squidclamav-4.0'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c:66:23: error: curl/curl.h: No such file or directory
main.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c: In function ‘main’:
main.c:192: error: ‘CURL_ERROR_SIZE’ undeclared (first use in this function)
main.c:192: error: (Each undeclared identifier is reported only once
main.c:192: error: for each function it appears in.)
main.c:276: error: ‘CURL_GLOBAL_ALL’ undeclared (first use in this function)
main.c:278: error: ‘eh’ undeclared (first use in this function)
main.c:288: error: ‘CURLOPT_HEADERFUNCTION’ undeclared (first use in this function)
main.c:290: error: ‘CURLOPT_WRITEFUNCTION’ undeclared (first use in this function)
main.c:292: error: ‘CURLOPT_ERRORBUFFER’ undeclared (first use in this function)
main.c:294: error: ‘CURLOPT_TIMEOUT’ undeclared (first use in this function)
main.c:296: error: ‘CURLOPT_NOSIGNAL’ undeclared (first use in this function)
main.c:298: error: ‘CURL_HTTP_VERSION_1_0’ undeclared (first use in this function)
main.c:303: error: ‘CURLOPT_FAILONERROR’ undeclared (first use in this function)
main.c:308: error: ‘CURLOPT_FOLLOWLOCATION’ undeclared (first use in this function)
main.c:310: error: ‘CURLOPT_MAXREDIRS’ undeclared (first use in this function)
main.c:313: error: ‘CURLOPT_USERAGENT’ undeclared (first use in this function)
main.c:315: warning: assignment makes pointer from integer without a cast
main.c:316: error: ‘CURLOPT_HTTPHEADER’ undeclared (first use in this function)
main.c:508: error: ‘CURLOPT_PROXY’ undeclared (first use in this function)
main.c:511: error: ‘CURLOPT_URL’ undeclared (first use in this function)
main.c:513: error: ‘CURLOPT_NOBODY’ undeclared (first use in this function)
main.c:547: error: ‘CURLINFO_CONTENT_LENGTH_DOWNLOAD’ undeclared (first use in this function)
main.c:548: error: ‘CURLE_OK’ undeclared (first use in this function)
main.c:564: error: ‘CURLINFO_CONTENT_TYPE’ undeclared (first use in this function)
main.c:690: error: ‘CURLOPT_HTTPGET’ undeclared (first use in this function)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/distr/squidclamav-4.0'
make: *** [all] Error 2
Застрял на этом и никак не поборю.