Anon
03-23-2001, 08:33 PM
Hello all,
Any suggestions for this?
I'm running Red Hat Linux release 6.1 (Cartman) Kernel 2.2.14 on an i686 and trying to configure and compile mcrypt-2.5.5. The libmcrypt-2.4.10 requires this and the mhash-0.7.0. These later two I had no problem with config and compile.
Config works ok with mcrypt-2.5.5 but when I try to compile it, this is the error:
keys.c: In function `mcrypt_gen_key':
keys.c:35: `KEYGEN' undeclared (first use in this function)
keys.c:35: (Each undeclared identifier is reported only once
keys.c:35: for each function it appears in.)
keys.c:35: parse error before `data'
keys.c:54: `data' undeclared (first use in this function)
make[2]: *** [keys.o] Error 1
make[2]: Leaving directory `/usr/lib/apache/mcrypt-2.5.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/apache/mcrypt-2.5.5'
make: *** [all-recursive-am] Error 2
Here's line 35 for keys.c:
KEYGEN data;
and line 54:
data.hash_algorithm[0] = algo;
Why is the bombing out?
Any help please??
Thank you,
gary
Any suggestions for this?
I'm running Red Hat Linux release 6.1 (Cartman) Kernel 2.2.14 on an i686 and trying to configure and compile mcrypt-2.5.5. The libmcrypt-2.4.10 requires this and the mhash-0.7.0. These later two I had no problem with config and compile.
Config works ok with mcrypt-2.5.5 but when I try to compile it, this is the error:
keys.c: In function `mcrypt_gen_key':
keys.c:35: `KEYGEN' undeclared (first use in this function)
keys.c:35: (Each undeclared identifier is reported only once
keys.c:35: for each function it appears in.)
keys.c:35: parse error before `data'
keys.c:54: `data' undeclared (first use in this function)
make[2]: *** [keys.o] Error 1
make[2]: Leaving directory `/usr/lib/apache/mcrypt-2.5.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/apache/mcrypt-2.5.5'
make: *** [all-recursive-am] Error 2
Here's line 35 for keys.c:
KEYGEN data;
and line 54:
data.hash_algorithm[0] = algo;
Why is the bombing out?
Any help please??
Thank you,
gary