Re: 4.0.6RC1 compile dies at curl...

From: Date: Wed, 16 May 2001 04:09:57 +0000
Subject: Re: 4.0.6RC1 compile dies at curl...
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-3265@lists.php.net to get a copy of this message
Did you try the latest version of Curl? I'm cc'ing Sterling who wrote the curl extension. I'm sure it's a matter of the version of libCurl. Andi At 10:02 PM 5/15/2001 -0600, Darron Froese wrote:
Mandrake 7.1 Linux 2.2.17 Configured with: ./configure \ --with-apxs=/usr/local/apache_1.3.19/bin/apxs \ --with-mysql=/usr/local/mysql \ --enable-ftp \ --with-curl \ --with-zlib \ --with-pspell \ --with-ldap \ --with-pdflib \ --with-imap=/usr/local/src/imap-4.5 \ --with-zlib-dir=/usr/lib \ --with-gd \ --with-ttf \ --with-t1lib \ --with-xml \ --with-swf=/usr/local \ --with-java=/usr/local/jdk \ --with-gettext \ --with-mcrypt \ --with-mhash \ --enable-sockets \ --enable-calendar \ --enable-trans-sid \ --enable-track-vars=yes \ --enable-magic-quotes=yes This same configure script worked just fine with 4.0.3, 4.0.4pl1 and 4.0.5. Without "--with-curl" - it compiles just fine. Making all in curl make[2]: Entering directory `/home/darron/php-4.0.6RC1/ext/curl' make[3]: Entering directory `/home/darron/php-4.0.6RC1/ext/curl' /bin/sh /home/darron/php-4.0.6RC1/libtool --silent --mode=compile gcc -I. -I/home/darron/php-4.0.6RC1/ext/curl -I/home/darron/php-4.0.6RC1/main -I/home/darron/php-4.0.6RC1 -I/usr/local/apache_1.3.19/include -I/home/darron/php-4.0.6RC1/Zend -I/usr/include/freetype -I/usr/local/src/imap-4.5/c-client -I/usr/local/include -I/usr/local/mysql/include/mysql -I/usr/local/include/pspell -I/home/darron/php-4.0.6RC1/ext/xml/expat/xmltok -I/home/darron/php-4.0.6RC1/ext/xml/expat/xmlparse -I/home/darron/php-4.0.6RC1/TSRM -DLINUX=22 -DMOD_SSL=208102 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DSHARED_CORE -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c curl.c curl.c: In function `php_minit_curl': curl.c:175: `CURLOPT_FILETIME' undeclared (first use in this function) curl.c:175: (Each undeclared identifier is reported only once curl.c:175: for each function it appears in.) curl.c:178: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) curl.c:179: `CURLOPT_HEADERFUNCTION' undeclared (first use in this function) curl.c:180: `CURLOPT_MAXREDIRS' undeclared (first use in this function) curl.c:181: `CURLOPT_MAXCONNECTS' undeclared (first use in this function) curl.c:182: `CURLOPT_CLOSEPOLICY' undeclared (first use in this function) curl.c:183: `CURLOPT_FRESH_CONNECT' undeclared (first use in this function) curl.c:184: `CURLOPT_FORBID_REUSE' undeclared (first use in this function) curl.c:185: `CURLOPT_RANDOM_FILE' undeclared (first use in this function) curl.c:186: `CURLOPT_EGDSOCKET' undeclared (first use in this function) curl.c:187: `CURLOPT_CONNECTTIMEOUT' undeclared (first use in this function) curl.c:188: `CURLOPT_SSL_VERIFYPEER' undeclared (first use in this function) curl.c:189: `CURLOPT_CAINFO' undeclared (first use in this function) curl.c:192: `CURLCLOSEPOLICY_LEAST_RECENTLY_USED' undeclared (first use in this function) curl.c:193: `CURLCLOSEPOLICY_OLDEST' undeclared (first use in this function) curl.c:196: `CURLINFO_EFFECTIVE_URL' undeclared (first use in this function) curl.c:197: `CURLINFO_HTTP_CODE' undeclared (first use in this function) curl.c:198: `CURLINFO_HEADER_SIZE' undeclared (first use in this function) curl.c:199: `CURLINFO_REQUEST_SIZE' undeclared (first use in this function) curl.c:200: `CURLINFO_TOTAL_TIME' undeclared (first use in this function) curl.c:201: `CURLINFO_NAMELOOKUP_TIME' undeclared (first use in this function) curl.c:202: `CURLINFO_CONNECT_TIME' undeclared (first use in this function) curl.c:203: `CURLINFO_PRETRANSFER_TIME' undeclared (first use in this function) curl.c:204: `CURLINFO_SIZE_UPLOAD' undeclared (first use in this function) curl.c:205: `CURLINFO_SIZE_DOWNLOAD' undeclared (first use in this function) curl.c:206: `CURLINFO_SPEED_DOWNLOAD' undeclared (first use in this function) curl.c:207: `CURLINFO_SPEED_UPLOAD' undeclared (first use in this function) curl.c:208: `CURLINFO_FILETIME' undeclared (first use in this function) curl.c:257: `CURLE_BAD_PASSWORD_ENTERED' undeclared (first use in this function) curl.c:258: `CURLE_TOO_MANY_REDIRECTS' undeclared (first use in this function) curl.c:259: `CURLE_UNKNOWN_TELNET_OPTION' undeclared (first use in this function) curl.c:260: `CURLE_TELNET_OPTION_SYNTAX' undeclared (first use in this function) curl.c:261: `CURLE_ALREADY_COMPLETE' undeclared (first use in this function) curl.c: At top level: curl.c:283: conflicting types for `curl_write' /usr/include/curl/curl.h:549: previous declaration of `curl_write' curl.c:333: conflicting types for `curl_read' /usr/include/curl/curl.h:547: previous declaration of `curl_read' curl.c: In function `php_if_curl_setopt': curl.c:589: `CURLOPT_FILETIME' undeclared (first use in this function) curl.c:590: `CURLOPT_MAXREDIRS' undeclared (first use in this function) curl.c:591: `CURLOPT_MAXCONNECTS' undeclared (first use in this function) curl.c:592: `CURLOPT_CLOSEPOLICY' undeclared (first use in this function) curl.c:593: `CURLOPT_FRESH_CONNECT' undeclared (first use in this function) curl.c:594: `CURLOPT_FORBID_REUSE' undeclared (first use in this function) curl.c:595: `CURLOPT_CONNECTTIMEOUT' undeclared (first use in this function) curl.c:596: `CURLOPT_SSL_VERIFYPEER' undeclared (first use in this function) curl.c:615: `CURLOPT_RANDOM_FILE' undeclared (first use in this function) curl.c:616: `CURLOPT_EGDSOCKET' undeclared (first use in this function) curl.c:617: `CURLOPT_CAINFO' undeclared (first use in this function) curl.c:667: `CURLOPT_HEADERFUNCTION' undeclared (first use in this function) curl.c:673: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) curl.c:677: `CURLOPT_PASSWDDATA' undeclared (first use in this function) curl.c: In function `php_if_curl_getinfo': curl.c:836: `CURLINFO_EFFECTIVE_URL' undeclared (first use in this function) curl.c:838: `CURLINFO_HTTP_CODE' undeclared (first use in this function) curl.c:840: `CURLINFO_HEADER_SIZE' undeclared (first use in this function) curl.c:842: `CURLINFO_REQUEST_SIZE' undeclared (first use in this function) curl.c:844: `CURLINFO_FILETIME' undeclared (first use in this function) curl.c:846: `CURLINFO_TOTAL_TIME' undeclared (first use in this function) curl.c:848: `CURLINFO_NAMELOOKUP_TIME' undeclared (first use in this function) curl.c:850: `CURLINFO_CONNECT_TIME' undeclared (first use in this function) curl.c:852: `CURLINFO_PRETRANSFER_TIME' undeclared (first use in this function) curl.c:854: `CURLINFO_SIZE_UPLOAD' undeclared (first use in this function) curl.c:856: `CURLINFO_SIZE_DOWNLOAD' undeclared (first use in this function) curl.c:858: `CURLINFO_SPEED_DOWNLOAD' undeclared (first use in this function) curl.c:860: `CURLINFO_SPEED_UPLOAD' undeclared (first use in this function) curl.c:868: warning: unreachable code at beginning of switch statement make[3]: *** [curl.lo] Error 1 make[3]: Leaving directory `/home/darron/php-4.0.6RC1/ext/curl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/darron/php-4.0.6RC1/ext/curl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/darron/php-4.0.6RC1/ext' make: *** [all-recursive] Error 1 -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net For additional commands, e-mail: php-qa-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.qa (#3265) next »