From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.1.1 PHP Bug Type: Compile Failure Bug description: Error compiling standard/mail.c
Compiler : gcc 2.95.3 Here is what happens during make : Making all in standard /bin/sh /local/src/php-4.1.1/libtool --silent --mode=compile gcc -I. -I/local/src/php-4.1.1/ext/standard -I/local/src/php-4.1.1/main -I/local/src/php-4.1.1 -I/usr/local/apache/include -I/local/src/php-4.1.1/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/mysql/include -I/local/src/php-4.1.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208106 -DMOD_PERL -DUSE_PERL_SSI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/local/src/php-4.1.1/TSRM -g -O2 -prefer-pic -c mail.c mail.c: In function `php_mail': mail.c:191: `EX_OK' undeclared (first use in this function) mail.c:191: (Each undeclared identifier is reported only once mail.c:191: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `mail.lo' Current working directory /local/src/php-4.1.1/ext/standard *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /local/src/php-4.1.1/ext/standard *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /local/src/php-4.1.1/ext *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Here is the configure command I used (no error during the configure phase) : ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --with-openssl=/usr/local/ssl --with-imap-ssl=../imap-2001a --with-gd --with-ldap=/usr/local --enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets --with-pdflib=/usr/local/lib --with-gettext --with-mm=../mm-1.1.3 --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib -- Edit bug report at http://bugs.php.net/?id=15674&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15674&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15674&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15674&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15674&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15674&r=support Expected behavior: http://bugs.php.net/fix.php?id=15674&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15674&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15674&r=submittedtwice