Bug #16885: OpenSSL : function `X509_PURPOSE_ANY´ undeclared
| From: | denis dot goffinet at letsplay dot be | Date: | Sun, 28 Apr 2002 10:06:00 +0000 |
| Subject: | Bug #16885: OpenSSL : function `X509_PURPOSE_ANY´ undeclared | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6342@lists.php.net to get a copy of this message | ||
From: denis.goffinet@letsplay.be
Operating system: Solaris 8
PHP version: 4.1.2
PHP Bug Type: Compile Failure
Bug description: OpenSSL : function `X509_PURPOSE_ANY´ undeclared
Configure : ./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-gd=/usr/local
--zith-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
--with-snmp=/usr/local --with-openssl=/usr/local/ssl
There all works great
Then I compile using GCC and a lot of errors
/bin/sh /appl/php-4.1.2/libtool --silent --mode= compile gcc -I.
-I/appl/php-4.1.2/ext/openssl -I/appl/php-4.1.2/main -I/appl/php-4.1.2
-I/usr/local/apache/include -I/appl/php-4.1.2/Zend
-I/usr/local/ssl/include -I/usr/local/include -I/usr/local/mysql/include
-I/usr/local/include/ucd-snmp -I/appl/php-4.1.2/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208105 -DEAPI
-DUSE_EXPAT -I/appl/php-4.1.2/TSRM -g -02 -prefer-pic -c openssl.c
openssl.c: In function `zm_startup_openssl´:
openssl.c:136: `X509_PURPOSE_ANY´ undeclared (first use in ths function)
openssl.c:136: (Each undeclared identifier is reported only once
openssl.c:136: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target`openssl.lo´ Current working
directory /appl/php-4.1.2/ext/openssl ***Error code 1
make: Fatal error: Command failed for target `all-recursive´
--
Edit bug report at http://bugs.php.net/?id=16885&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16885&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16885&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16885&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16885&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16885&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16885&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16885&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16885&r=submittedtwice