#34007 [Opn->Csd]: cURL compilation fails with GCC 4.x
| From: | sniper@php.net | Date: | Fri, 05 Aug 2005 22:28:57 +0000 |
| Subject: | #34007 [Opn->Csd]: cURL compilation fails with GCC 4.x | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83064@lists.php.net to get a copy of this message | ||
ID: 34007
Updated by: sniper@php.net
Reported By: mj@php.net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: GNU/Linux
PHP Version: 5CVS-2005-08-05 (dev)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-08-06 00:12:17] sniper@php.net
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..
------------------------------------------------------------------------
[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