Jedito

Well-Known Member
Aug 16, 2001
46
0
306
I don\'t know why when I ran it gives me this error

make[4]: Entering directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl\'
gcc -I. -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl -I/tmp/selfgz3661/buildapache/php-4.0.6/main -I/tmp/selfgz3661/buildapache/php-4.0.6 -I/tmp/selfgz3661/buildapache/php-4.0.6/Zend -I/usr/include/freetype -I/tmp/selfgz3661/buildapache/gd-1.8.4 -I/tmp/selfgz3661/buildapache/imap-2001.BETA.SNAP-0105220031/c-client -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/mysql/libmysql -I/usr/local/flash/include -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/xml/expat/xmltok -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/selfgz3661/buildapache/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c curl.c && touch curl.lo
curl.c: In function `php_minit_curl\':
curl.c:146: `CURLOPT_HEADERFUNCTION\' undeclared (first use in this function)
curl.c:146: (Each undeclared identifier is reported only once
curl.c:146: for each function it appears in.)
curl.c:229: `CURLE_ALREADY_COMPLETE\' undeclared (first use in this function)
curl.c: In function `php_if_curl_setopt\':
curl.c:646: `CURLOPT_HEADERFUNCTION\' undeclared (first use in this function)
make[4]: *** [curl.lo] Error 1
make[4]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl\'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl\'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext\'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6\'

I sucefully run builapache.sea before, but I can\'t make this work properly. Anybody have any Idea if I\'m doing something wrong?

Thanks in advance
 
B

bdraco

Guest
Do you know what c compiler you are
using?

You can run gcc -v to find out.

[[email protected] bdraco]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: configure --prefix=/usr : (reconfigured) configure --prefix=/usr
Thread model: single
gcc version 3.0



[quote:edce6a6f61]I don\'t know why when I ran it gives me this error

make[4]: Entering directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl\'
gcc -I. -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl -I/tmp/selfgz3661/buildapache/php-4.0.6/main -I/tmp/selfgz3661/buildapache/php-4.0.6 -I/tmp/selfgz3661/buildapache/php-4.0.6/Zend -I/usr/include/freetype -I/tmp/selfgz3661/buildapache/gd-1.8.4 -I/tmp/selfgz3661/buildapache/imap-2001.BETA.SNAP-0105220031/c-client -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/mysql/libmysql -I/usr/local/flash/include -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/xml/expat/xmltok -I/tmp/selfgz3661/buildapache/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/selfgz3661/buildapache/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c curl.c && touch curl.lo
curl.c: In function `php_minit_curl\':
curl.c:146: `CURLOPT_HEADERFUNCTION\' undeclared (first use in this function)
curl.c:146: (Each undeclared identifier is reported only once
curl.c:146: for each function it appears in.)
curl.c:229: `CURLE_ALREADY_COMPLETE\' undeclared (first use in this function)
curl.c: In function `php_if_curl_setopt\':
curl.c:646: `CURLOPT_HEADERFUNCTION\' undeclared (first use in this function)
make[4]: *** [curl.lo] Error 1
make[4]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl\'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext/curl\'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6/ext\'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/selfgz3661/buildapache/php-4.0.6\'

I sucefully run builapache.sea before, but I can\'t make this work properly. Anybody have any Idea if I\'m doing something wrong?

Thanks in advance
[/quote:edce6a6f61]
 

Jedito

Well-Known Member
Aug 16, 2001
46
0
306
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)