Date: 02/20/01
- Next message: zerodiv <email protected>: "[PHP-DEV] PHP 4.0 Bug #9363: Floating point error upon startup"
- Previous message: amra <email protected>: "[PHP-DEV] PHP 4.0 Bug #9361: C++ compiler causes failures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: amra <email protected>
Operating system: OS400
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: When sendmail not available, get compile errors
When sendmail is not available on a system, get compiler errors:
"basic_functions.c", line 486.9: 1506-045 (S) Undeclared identifier php_if_mail.
"basic_functions.c", line 487.9: 1506-045 (S) Undeclared identifier php_if_ezmlm_hash.
I got around the error by doing the following in the above file:
#ifdef HAVE_SENDMAIL
/* functions from mail.c */
PHP_FE(mail, NULL)
PHP_FE(ezmlm_hash, NULL)
#else
PHP_FALIAS(mail , warn_not_available, NULL)
PHP_FALIAS(ezmlm_hash, warn_not_available, NULL)
#endif
I think that HAVE_SENDMAIL needs to be checked.....
-- Edit Bug report at: http://bugs.php.net/?id=9362&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: zerodiv <email protected>: "[PHP-DEV] PHP 4.0 Bug #9363: Floating point error upon startup"
- Previous message: amra <email protected>: "[PHP-DEV] PHP 4.0 Bug #9361: C++ compiler causes failures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

