#35908 [Opn->Csd]: GCRY_THREAD_OPTIONS_USER in ext/curl/interface.c causes compile failure
ID: 35908
Updated by: iliaa@php.net
Reported By: chtekk at gentoo dot org
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Gentoo Linux
PHP Version: 5.1.1
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:
------------------------------------------------------------------------
[2006-01-05 18:47:47] chtekk at gentoo dot org
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 this bug report at http://bugs.php.net/?id=35908&edit=1
Thread (2 messages)