Bug #17641 Updated: Compile fails with undeclared identifier in mail.c
| From: | lynne dot ransdell at sas dot com | Date: | Fri, 07 Jun 2002 14:52:43 +0000 |
| Subject: | Bug #17641 Updated: Compile fails with undeclared identifier in mail.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9758@lists.php.net to get a copy of this message | ||
ID: 17641
Updated by: lynne.ransdell@sas.com
Reported By: lynne.ransdell@sas.com
Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.2.1
New Comment:
Compiling 4.21. on Solaris 8, make fails in /ext/standard/mail.c in
php_mail with error EX_OK undeclared. I also ran into problem with
configure deciding that unix.h and sysexits.h existed on the system
when they do not. I had to comment out the IFDEFs in zend.h and mail.c
respectively to get make to proceed. Using CC-gcc ./configure did not
make a difference. Now make fails with this EX_OK undefined.
Previous Comments:
------------------------------------------------------------------------
[2002-06-07 10:40:28] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-06-07 10:32:08] lynne.ransdell@sas.com
I have experienced the same problem as others with the unix.h and
sysexits.h files in the compile. I tried the CC=gcc trick but that
still did not work so I commented out the relevant lines in the files.
Now the compile fails with this error:
make[3]: Entering directory `/local/src/php-4.2.1/ext/standard'
/bin/sh /local/src/php-4.2.1/libtool --silent --mode=compile gcc -I.
-I/local/rc/php-4.2.1/ext/standard -I/local/src/php-4.2.1/main
-I/local/src/php-4.2.1 -Ilocal/apache/include
-I/local/src/php-4.2.1/Zend -I/local/src/gd-1.8.4/ -I/datamysql/include
-I/local/src/php-4.2.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
DSOLARIS2=280 -DUSE_EXPAT -I/local/src/php-4.2.1/TSRM -g -O2
-prefer-pic -c mal.c
mail.c: In function `php_mail':
mail.c:166: `EX_OK' undeclared (first use in this function)
mail.c:166: (Each undeclared identifier is reported only once
mail.c:166: for each function it appears in.)
make[3]: *** [mail.lo] Error 1
make[3]: Leaving directory `/local/src/php-4.2.1/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/src/php-4.2.1/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/src/php-4.2.1/ext'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17641&edit=1