ID: 21278 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: *Compile Issues Operating System: Windows PHP Version: 4.3.0 New Comment:
There was a problem with the libmcrypt against which 4.3.0 was compiled. I've recompiled it against fixed version of the library. All relevant files can be found in: http://ftp.proventum.net/pub/php/win32/misc/mcrypt/php-4.3-mcrypt.zip Snapshots/releases will from now on be compiled with this version of the library. Previous Comments: ------------------------------------------------------------------------ [2002-12-29 19:21:40] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=21278&edit=1