Hi there,
(I'm cc'ing you sascha because you seem to be the author of this area of
mcrypt, I apologize if you are not and/or are bothered by this)
I downloaded the source for php-4.0.6 today and attempted to compile
mcrypt functionality into a windows version of php.
I opened ext/mcrypt/mcrypt.dsp into VC++ and attempted to "build the
project". I get these errors when attempting to do so:
--------------------Configuration: mcrypt - Win32
Debug_TS--------------------
Compiling...
mcrypt.c
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(1480) : warning C4018: '<' :
signed/unsigned mismatch
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(1490) : warning C4244: '=' :
conversion from 'double ' to 'char ', possible loss of data
readdir.c
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(802) : warning C4700: local
variable 'lib_dir' used without having been initialized
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(825) : warning C4700: local
variable 'lib_dir' used without having been initialized
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(848) : warning C4700: local
variable 'lib_dir' used without having been initialized
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(871) : warning C4700: local
variable 'lib_dir' used without having been initialized
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(894) : warning C4700: local
variable 'lib_dir' used without having been initialized
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(912) : warning C4700: local
variable 'lib_dir' used without having been initialized
C:\php4\php-4.0.6\ext\mcrypt\mcrypt.c(931) : warning C4700: local
variable 'lib_dir' used without having been initialized
Linking...
LINK : fatal error LNK1181: cannot open input file "libmcrypt.lib"
Error executing link.exe.
php_mcrypt.dll - 1 error(s), 9 warning(s)
I'm NOT concerned about the first 2 warnings, it's more the next ones.
it seems to be having trouble on line 204 (mcrypt.c) which is a call to
Z_STRVAL_PP(lib_dir)
Could this be why the linking cannot occur?
NOTE: I followed all the steps here before attempting to compile mcrypt,
ie instaled cygwin, etc. (I don't if it matters, probably?)
Another NOTE: you may want to strip my email address from your reply OR
take out the underscores.
thanks for your help,
colin
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]