#34007 [NEW]: cURL compilation fails with GCC 4.x
From: mj@php.net
Operating system: GNU/Linux
PHP version: 5CVS-2005-08-05 (dev)
PHP Bug Type: Compile Failure
Bug description: cURL compilation fails with GCC 4.x
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 bug report at http://bugs.php.net/?id=34007&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34007&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34007&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34007&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34007&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34007&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34007&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34007&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34007&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34007&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34007&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34007&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34007&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34007&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34007&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34007&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34007&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34007&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34007&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34007&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34007&r=mysqlcfg
Thread (3 messages)
- mj@php.net