Bug #17641 Updated: Compile fails with undeclared identifier in mail.c

From: Date: Fri, 07 Jun 2002 14:40:28 +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-9756@lists.php.net to get a copy of this message
ID: 17641 Updated by: sniper@php.net Reported By: lynne.ransdell@sas.com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Solaris 8 PHP Version: 4.2.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#9756) next »