Bug #3722: mcrypt - functions undeclared
| From: | jon at sunwire dot com | Date: | Fri, 03 Mar 2000 22:08:07 +0000 |
| Subject: | Bug #3722: mcrypt - functions undeclared | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16379@lists.php.net to get a copy of this message | ||
From: jon@sunwire.com
Operating system: FreeBSD 2.2.7
PHP version: 3.0.15
PHP Bug Type: Compile Failure
Bug description: mcrypt - functions undeclared
Without using "--with-mycrypt" I compile fine. But when I try to include it, I get the
error below. A similar thing happens with php-4.0b4pl1, except it's with crypt. (3.0.15 has no
problem with crypt).
make
gcc -g -O2 -O2 -I. -I. -I/usr/local/include/mysql -I/usr/h
ome/sdesign/src/libmcryptfiles/include -c functions/mcrypt.c -o functions/mcr
ypt.o
functions/mcrypt.c: In function `php_minit_mcrypt':
functions/mcrypt.c:139: `MCRYPT_BLOWFISH_448' undeclared (first use this functio
n)
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: `MCRYPT_DES' undeclared (first use this function)
functions/mcrypt.c:141: `MCRYPT_3DES' undeclared (first use this function)
functions/mcrypt.c:142: `MCRYPT_3WAY' undeclared (first use this function)
functions/mcrypt.c:143: `MCRYPT_GOST' undeclared (first use this function)
functions/mcrypt.c:144: `MCRYPT_SAFER_64' undeclared (first use this function)
functions/mcrypt.c:145: `MCRYPT_SAFER_128' undeclared (first use this function)
functions/mcrypt.c:146: `MCRYPT_CAST_128' undeclared (first use this function)
functions/mcrypt.c:147: `MCRYPT_XTEA' undeclared (first use this function)
functions/mcrypt.c:148: `MCRYPT_RC2_1024' undeclared (first use this function)
functions/mcrypt.c:149: `MCRYPT_TWOFISH_128' undeclared (first use this function
)
functions/mcrypt.c:150: `MCRYPT_TWOFISH_192' undeclared (first use this function
)
functions/mcrypt.c:151: `MCRYPT_TWOFISH_256' undeclared (first use this function
)
functions/mcrypt.c:152: `MCRYPT_BLOWFISH_128' undeclared (first use this functio
n)
functions/mcrypt.c:153: `MCRYPT_BLOWFISH_192' undeclared (first use this functio
n)
functions/mcrypt.c:154: `MCRYPT_BLOWFISH_256' undeclared (first use this functio
n)
functions/mcrypt.c:155: `MCRYPT_CAST_256' undeclared (first use this function)
functions/mcrypt.c:156: `MCRYPT_SAFERPLUS' undeclared (first use this function)
functions/mcrypt.c:157: `MCRYPT_LOKI97' undeclared (first use this function)
functions/mcrypt.c:158: `MCRYPT_SERPENT_128' undeclared (first use this function
)
functions/mcrypt.c:159: `MCRYPT_SERPENT_192' undeclared (first use this function
)
functions/mcrypt.c:160: `MCRYPT_SERPENT_256' undeclared (first use this function
)
functions/mcrypt.c:161: `MCRYPT_RIJNDAEL_128' undeclared (first use this functio
n)
functions/mcrypt.c:162: `MCRYPT_RIJNDAEL_192' undeclared (first use this functio
n)
functions/mcrypt.c:163: `MCRYPT_RIJNDAEL_256' undeclared (first use this functio
n)
functions/mcrypt.c:164: `MCRYPT_RC2_256' undeclared (first use this function)
functions/mcrypt.c:165: `MCRYPT_RC2_128' undeclared (first use this function)
functions/mcrypt.c:166: `MCRYPT_RC6_256' undeclared (first use this function)
functions/mcrypt.c:167: `MCRYPT_IDEA' undeclared (first use this function)
functions/mcrypt.c:168: `MCRYPT_RC6_128' undeclared (first use this function)
functions/mcrypt.c:169: `MCRYPT_RC6_192' undeclared (first use this function)
functions/mcrypt.c:170: `MCRYPT_RC4' undeclared (first use this function)
*** Error code 1
Stop.
sdesign@wawrra>>
functions/mcrypt.c:157: `MCRYPT_LOKI97' undeclared (first use this function)
functions/mcrypt.c:158: `MCRYPT_SERPENT_128' undeclared (first use this function
)
functions/mcrypt.c:159: `MCRYPT_SERPENT_192' undeclared (first use this function
)
functions/mcrypt.c:160: `MCRYPT_SERPENT_256' undeclared (first use this function
)
functions/mcrypt.c:161: `MCRYPT_RIJNDAEL_128' undeclared (first use this functio
n)
functions/mcrypt.c:162: `MCRYPT_RIJNDAEL_192' undeclared (first use this functio
n)
functions/mcrypt.c:163: `MCRYPT_RIJNDAEL_256' undeclared (first use this functio
n)
functions/mcrypt.c:164: `MCRYPT_RC2_256' undeclared (first use this function)
functions/mcrypt.c:165: `MCRYPT_RC2_128' undeclared (first use this function)
functions/mcrypt.c:166: `MCRYPT_RC6_256' undeclared (first use this function)
functions/mcrypt.c:167: `MCRYPT_IDEA' undeclared (first use this function)
functions/mcrypt.c:168: `MCRYPT_RC6_128' undeclared (first use this function)
functions/mcrypt.c:169: `MCRYPT_RC6_192' undeclared (first use this function)
functions/mcrypt.c:170: `MCRYPT_RC4' undeclared (first use this function)
*** Error code 1
Stop.