ID:               26447
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nulleke at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Linux 2.4.22
 PHP Version:      4.3.4
 New Comment:

Do you get the this error if you configure PHP with
./configure --disable-all --with-openssl ?


Previous Comments:
------------------------------------------------------------------------

[2003-11-28 10:25:25] nulleke at hotmail dot com

Description:
------------
When compiling php 4.3.4 Errors complaining about crypto.h

Openssl version 0.9.7b
GCC 2.95.3

Reproduce code:
---------------
./configure  --prefix=/usr --with-apxs=/usr/sbin/apxs --with-db4=shared
--with-config-file-path=/etc/httpd/conf --with-zlib
--with-openssl=shared --with-mcrypt=shared --with-gd=shared
--with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr/X11R6
--with-freetype-dir=/usr/local --with-ttf=/usr/local
--with-pgsql=shared,/usr --enable-trans-sid --without-mysql
--enable-gd-native-ttf --with-imap=shared --with-gettext=shared
--enable-xslt --with-dom=/opt/gnome --with-expat-dir=/usr/local
--with-xslt-sablot=/usr/local --with-pdflib=shared
--with-mcal=shared,/usr --with-tiff-dir=/usr --with-dom-xslt=/opt/gnome
--with-curl=shared --with-ming=shared --with-xml=shared --enable-exif
--enable-wddx --with-calendar=shared --with-imap-ssl=/usr

Expected result:
----------------
That the build will finish.

Actual result:
--------------
/bin/sh /home/src/php-4.3.4/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/home/src/php-4.3.4/main/ -DPHP_ATOM_INC
-I/home/src/php-4.3.4/include -I/home/src/php-4.3.4/main
-I/home/src/php-4.3.4 -I/home/src/php-4.3.4/Zend
-I/opt/gnome/include/libxml2 -I/opt/gnome/include -I/usr/X11R6/include
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/include/pgsql  -I/home/src/php-4.3.4/TSRM  -g -O2  -prefer-pic
-c main/internal_functions.c -o main/internal_functions.lo
In file included from /usr/include/openssl/comp.h:5,
                 from /usr/include/openssl/ssl.h:171,
                 from main/php_network.h:78,
                 from /home/src/php-4.3.4/ext/standard/fsock.h:38,
                 from
/home/src/php-4.3.4/ext/standard/php_standard.h:44,
                 from main/internal_functions.c:41:
/usr/include/openssl/crypto.h:358: parse error before `free_func'
/usr/include/openssl/crypto.h:358: parse error before `)'
/usr/include/openssl/crypto.h:363: parse error before `free_func'
/usr/include/openssl/crypto.h:363: parse error before `)'
In file included from /usr/include/openssl/rsa.h:62,
                 from /usr/include/openssl/evp.h:137,
                 from /usr/include/openssl/x509.h:67,
                 from /usr/include/openssl/ssl.h:177,
                 from main/php_network.h:78,
                 from /home/src/php-4.3.4/ext/standard/fsock.h:38,
                 from
/home/src/php-4.3.4/ext/standard/php_standard.h:44,
                 from main/internal_functions.c:41:
/usr/include/openssl/asn1.h:802: parse error before `free_func'
/usr/include/openssl/asn1.h:802: `d2i_ASN1_SET' declared as function
returning a function
/usr/include/openssl/asn1.h:803: parse error before `int'
/usr/include/openssl/asn1.h:907: parse error before `free_func'
/usr/include/openssl/asn1.h:907: parse error before `)'
In file included from /usr/include/openssl/evp.h:148,
                 from /usr/include/openssl/x509.h:67,
                 from /usr/include/openssl/ssl.h:177,
                 from main/php_network.h:78,
                 from /home/src/php-4.3.4/ext/standard/fsock.h:38,
                 from
/home/src/php-4.3.4/ext/standard/php_standard.h:44,
                 from main/internal_functions.c:41:
/usr/include/openssl/objects.h:990: parse error before `free_func'
/usr/include/openssl/objects.h:990: parse error before `)'
make: *** [main/internal_functions.lo] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26447&edit=1

Reply via email to