[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-qa
Subject:    [PHP-QA] [Fwd: 4.3pre2 Mcrypt Compile Failure]
From:       Yasuo Ohgaki <yohgaki () ohgaki ! net>
Date:       2002-10-31 3:40:01
[Download RAW message or body]

Posted in php.install.
Not sure if this is fixed.

-------- Original Message --------
Subject: 4.3pre2 Mcrypt Compile Failure
Date: Mon, 28 Oct 2002 10:51:59 -0700
From: mitch@unixprogramming.net (Mitch Vincent)
To: php-install@lists.php.net
Newsgroups: php.install

OS 10.2.1 - Latest libmcrypt.

Seems to have something to do with compatibility with older mcrypt
libs, but even after some hacking I couldn't get it to work right...


gcc  -Iext/mcrypt/ -I/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/
-DPHP_ATOM_INC -I/Users/mitch/desktop/php-4.3.0pre2/include
-I/Users/mitch/desktop/php-4.3.0pre2/main
-I/Users/mitch/desktop/php-4.3.0pre2
-I/Users/mitch/desktop/php-4.3.0pre2/Zend -I/usr/local/include
-I/usr/local/pgsql/include
-I/Users/mitch/desktop/php-4.3.0pre2/ext/xml/expat  -no-cpp-precomp
-no-cpp-precomp -I/Users/mitch/desktop/php-4.3.0pre2/TSRM  -g -O2  -c
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c -o
ext/mcrypt/mcrypt.o  && echo > ext/mcrypt/mcrypt.lo
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system
directory
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:222:1: warning:
"MCRYPT_FAILED" redefined
In file included from
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:34:
/usr/local/include/mcrypt.h:30:1: warning: this is the location of the
previous definition
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c: In function
`zm_startup_mcrypt':
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:272: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:273: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:274:
`MCRYPT_BLOWFISH_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:274: (Each
undeclared identifier is reported only once
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:274: for each
function it appears in.)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:275:
`MCRYPT_BLOWFISH_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:276:
`MCRYPT_BLOWFISH_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:277:
`MCRYPT_BLOWFISH_448' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:278: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:279: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:280: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:281: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:282:
`MCRYPT_IDEA' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:283: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:284: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:285: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:286: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:287:
`MCRYPT_RC2_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:288:
`MCRYPT_RC2_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:289:
`MCRYPT_RC2_1024' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:290:
`MCRYPT_RC4' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:291:
`MCRYPT_RC6_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:292:
`MCRYPT_RC6_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:293:
`MCRYPT_RC6_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:294:
`MCRYPT_SAFER_64' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:295:
`MCRYPT_SAFER_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:296: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:297:
`MCRYPT_SERPENT_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:298:
`MCRYPT_SERPENT_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:299:
`MCRYPT_SERPENT_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:300:
`MCRYPT_TWOFISH_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:301:
`MCRYPT_TWOFISH_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:302:
`MCRYPT_TWOFISH_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:303: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c: In function
`zif_mcrypt_get_cipher_name':
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:1495: warning:
assignment makes pointer from integer without a cast
make: *** [ext/mcrypt/mcrypt.lo] Error 1



-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic