php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3722 mcrypt - functions undeclared
Submitted: 2000-03-03 17:08 UTC Modified: 2000-04-01 23:46 UTC
From: jon at sunwire dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.15 OS: FreeBSD 2.2.7
Private report: No CVE-ID: None
 [2000-03-03 17:08 UTC] jon at sunwire dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-01 23:46 UTC] sas at cvs dot php dot net
You are using an unsupported version of mcrypt. I.e. mcrypt-2.2.6 is supported.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 10:00:01 2026 UTC