Bug #17641: Compile fails with undeclared identifier in mail.c
| From: | lynne dot ransdell at sas dot com | Date: | Fri, 07 Jun 2002 14:32:09 +0000 |
| Subject: | Bug #17641: Compile fails with undeclared identifier in mail.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9754@lists.php.net to get a copy of this message | ||
From: lynne.ransdell@sas.com
Operating system: Solaris 8
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: Compile fails with undeclared identifier in mail.c
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 bug report at http://bugs.php.net/?id=17641&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17641&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17641&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17641&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17641&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17641&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17641&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17641&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17641&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17641&r=globals