#34007 [Opn]: cURL compilation fails with GCC 4.x
ID: 34007
Updated by: sniper@php.net
Reported By: mj@php.net
Status: Open
Bug Type: Compile Failure
Operating System: GNU/Linux
PHP Version: 5CVS-2005-08-05 (dev)
New Comment:
Hint: To not waste our time, always include your configure line in the
report. Now I first tried compile, then when it didn't fail or give any
warnings even, I checked the sources and noticed that this can only
happen when ZTS is enabled..
Previous Comments:
------------------------------------------------------------------------
[2005-08-05 15:03:10] mj@php.net
Description:
------------
Building the latest snapshot of PHP 5.1 with cURL support enabled
fails. This seems to be a problem with GCC 4.x only, because it builds
fine with GCC 3.3.
$ gcc --version
gcc (GCC) 4.0.2 20050725 (prerelease) (Debian 4.0.1-3)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Actual result:
--------------
/home/martin/src/php5-200508051030/ext/curl/interface.c: In function
'zif_curl_init':
/home/martin/src/php5-200508051030/ext/curl/interface.c:829: error:
invalid lvalue in assignment
/home/martin/src/php5-200508051030/ext/curl/interface.c: In function
'zif_curl_copy_handle':
/home/martin/src/php5-200508051030/ext/curl/interface.c:890: error:
invalid lvalue in assignment
make: *** [ext/curl/interface.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34007&edit=1
Thread (3 messages)