php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16885 OpenSSL : function `X509_PURPOSE_ANY? undeclared
Submitted: 2002-04-28 06:05 UTC Modified: 2002-05-01 04:23 UTC
From: denis dot goffinet at letsplay dot be Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.2 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-04-28 06:05 UTC] denis dot goffinet at letsplay dot be
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?


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-28 20:19 UTC] sniper@php.net
Which openssl version is this?

--Jani

p.s. Always use the install prefix in configure paths..
(Not /usr/local/lib but /usr/local)

 [2002-04-29 12:49 UTC] denis dot goffinet at letsplay dot be
I've just place under comment the line and all worked fine. 

I've looked after "X509_PURPOSE_ANY" key words in any of the openssl headers files and didn't find it 

Will post here tomorrow my openssl version

Regards
Denis

PS to Jani : Thanks for your tip, I'm just a little newbie in this big big world
 [2002-05-01 03:41 UTC] denis dot goffinet at letsplay dot be
my openssl version is 0.9.5
 [2002-05-01 04:23 UTC] wez@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 22:01:28 2024 UTC