From: [EMAIL PROTECTED] Operating system: Windows PHP version: 4.3.0 PHP Bug Type: *Compile Issues Bug description: php_mcrypt requires libmcrypt.dll with export by ordinal
I have downloaded binary version of php 4.3.0 for Windows. This includes php_mcrypt module for PHP. php_mcrypt.dll requires libmcrypt.dll. I have searched for this (Windows) DLL. But could not find it. Finally I downloaded the sources for Libmcrypt.dll and did a quick and dirty port to compile it with Visual C 6.0. The created DLL works ok with included testcase (may not be threadsafe, but thats not important for now). Still with php_mcrypt.dll I cannot use this DLL, because php_mcrypt imports all functions from libmcrypt.dll by ordinal (number) instead of by name. Without knowing which ordinal is assigned to which function it is impossible to create a libmcrypt.dll to fit to binary php_mcrypt.dll So I would need either: - A module definition file (Libmcrypt.def) or text file containing exported function names with assigned ordinals. - Libmcrypt.lib used for linking php_mcrypt.dll - Libmcrypt.dll itself BTW: I also need to know the calling convention __stdcall or __cdecl active used for calling libmcrypt from php_mcrypt. I recommend to include Libmcrypt.dll in future binary packages. If this is not possible because of export or licence issues please include Libmcrypt.def file. Thanks!!! Michael -- Edit bug report at http://bugs.php.net/?id=21278&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21278&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21278&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21278&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21278&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21278&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21278&r=support Expected behavior: http://bugs.php.net/fix.php?id=21278&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21278&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21278&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21278&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21278&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21278&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21278&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21278&r=gnused