#35908 [NEW]: GCRY_THREAD_OPTIONS_USER in ext/curl/interface.c causes compile failure
| From: | chtekk at gentoo dot org | Date: | Thu, 05 Jan 2006 17:47:48 +0000 |
| Subject: | #35908 [NEW]: GCRY_THREAD_OPTIONS_USER in ext/curl/interface.c causes compile failure | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-91551@lists.php.net to get a copy of this message | ||
From: chtekk at gentoo dot org
Operating system: Gentoo Linux
PHP version: 5.1.1
PHP Bug Type: Compile Failure
Bug description: GCRY_THREAD_OPTIONS_USER in ext/curl/interface.c causes compile failure
Description:
------------
We had a few users having problems to compile PHP 5.1.1 on Gentoo, it
failed during the compilation of interface.c in ext/curl.
http://bugs.gentoo.org/show_bug.cgi?id=117767
has all the details. After
some investigation it turned up that indeed GCRY_THREAD_OPTIONS_USER
(found in interface.c) is not defined anywhere in PHP and in the
system,further search confirmed the solution the user proposed:
GCRY_THREAD_OPTION_USER (without the S after OPTION) seems to be the
correct function, wich gets defined in /usr/include/gcrypt.h (libgcrypt).
To fix, just change GCRY_THREAD_OPTIONS_USER to GCRY_THREAD_OPTION_USER.
Best regards, CHTEKK.
Expected result:
----------------
Compilation goes without problems.
Actual result:
--------------
Compilation fails.
--
Edit bug report at http://bugs.php.net/?id=35908&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35908&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35908&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35908&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35908&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35908&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35908&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35908&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35908&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35908&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35908&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35908&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35908&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35908&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35908&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35908&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35908&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35908&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35908&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35908&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35908&r=mysqlcfg