go to bug id or search bugs for
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.
Compilation goes without problems.
Add a Patch
Add a Pull Request
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
Thank you for the report, and for helping us make PHP better.