mcrypt with php3 make error

From: Date: Fri, 16 Jun 2000 02:10:56 +0000
Subject: mcrypt with php3 make error
Groups: php.general 
Request: Send a blank email to php-general+get-2041@lists.php.net to get a copy of this message
Could someone please help me!!! I have no idea what to do now!!! ANY help is welcomed. The problem occured when I tried to install php3 with mcrypt, I was able successfully installed php3 without mcrypt. (I installed libmrcypt-2.4.4, mcrypt-2.5.4 and mhash-0.8.2) I have found many things about the errors I have recieved, but nothing that helped. The following are links to docs I found, but did not help me: http://www.tryc.on.ca/archives/php3/2000_4/0397.html http://www.tryc.on.ca/archives/php3/1999_11/0056.html http://www.tryc.on.ca/archives/php3/2000_2/3423.html http://www.tryc.on.ca/archives/php3/1999_8/1606.html http://www.tryc.on.ca/archives/php3/2000_4/4538.html I used the following configuration: % cd ../php_3.x.x % ./configure --with-apxs=/usr/sbin/apxs \ % --with-config-file-path=/etc/httpd/conf \ % --with-system-regex \ % --with-mcrypt=/usr/local/mcrypt-x.x.x/src \ % --with-mhash=/usr/local/mhash-x.x.x/src \ % --with-imap=/usr/local/imap-x.xx \ % --with-mysql=/usr \ % --enable-track-vars=yes \ % --enable-bcmath=yes \ % --enable-versioning % make // *** The error occured during the make command *** // *** This is some of the output ****************** crypt in -lc... no crypt in -lcrypt... yes crypt.h... yes standard DES crypt... yes extended DES crypt... no MD5 crypt... yes Blowfish crypt... no mcrypt support... yes mhash support... yes gcc -g -O2 -DLINUX=2 -DMOD_SSL=206104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -O2 -fpic -DSHARED_MODULE -I. -I. -I/usr/local/apache/include -I/usr/local/imap-4.7b/include -c functions/mcrypt.c -o functions/mcrypt.o functions/mcrypt.c:120: warning: `MCRYPT_FAILED' redefined /usr/local/include/mcrypt.h:28: warning: this is the location of the previous definition functions/mcrypt.c: In function `php_minit_mcrypt': functions/mcrypt.c:139: `MCRYPT_BLOWFISH_448' undeclared (first use in this function) functions/mcrypt.c:139: (Each undeclared identifier is reported only once functions/mcrypt.c:139: for each function it appears in.) functions/mcrypt.c:140: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:141: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:142: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:143: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:144: `MCRYPT_SAFER_64' undeclared (first use in this function) functions/mcrypt.c:145: `MCRYPT_SAFER_128' undeclared (first use in this function) functions/mcrypt.c:146: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:147: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:148: `MCRYPT_RC2_1024' undeclared (first use in this function) functions/mcrypt.c:149: `MCRYPT_TWOFISH_128' undeclared (first use in this function) functions/mcrypt.c:150: `MCRYPT_TWOFISH_192' undeclared (first use in this function) functions/mcrypt.c:151: `MCRYPT_TWOFISH_256' undeclared (first use in this function) functions/mcrypt.c:152: `MCRYPT_BLOWFISH_128' undeclared (first use in this function) functions/mcrypt.c:153: `MCRYPT_BLOWFISH_192' undeclared (first use in this function) functions/mcrypt.c:154: `MCRYPT_BLOWFISH_256' undeclared (first use in this function) functions/mcrypt.c:155: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:156: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:157: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:158: `MCRYPT_SERPENT_128' undeclared (first use in this function) functions/mcrypt.c:159: `MCRYPT_SERPENT_192' undeclared (first use in this function) functions/mcrypt.c:160: `MCRYPT_SERPENT_256' undeclared (first use in this function) functions/mcrypt.c:161: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:162: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:163: warning: passing arg 3 of `php3_register_long_constant' makes integer from pointer without a cast functions/mcrypt.c:164: `MCRYPT_RC2_256' undeclared (first use in this function) functions/mcrypt.c:165: `MCRYPT_RC2_128' undeclared (first use in this function) functions/mcrypt.c:166: `MCRYPT_RC6_256' undeclared (first use in this function) functions/mcrypt.c:167: `MCRYPT_IDEA' undeclared (first use in this function) functions/mcrypt.c:168: `MCRYPT_RC6_128' undeclared (first use in this function) functions/mcrypt.c:169: `MCRYPT_RC6_192' undeclared (first use in this function) functions/mcrypt.c:170: `MCRYPT_RC4' undeclared (first use in this function) functions/mcrypt.c: In function `php3_mcrypt_get_cipher_name': functions/mcrypt.c:243: warning: assignment makes pointer from integer without a cast make: *** [functions/mcrypt.o] Error 1 ANY help is welcomed. ANY!!! Thanks in advance. __________________________________________________ Do You Yahoo!? Send instant messages with Yahoo! Messenger. http://im.yahoo.com/

« previous php.general (#2041) next »