Solaris 2.5.1 ignoring -D_POSIX_PTHREAD_SEMANTICS
| From: | Leon Atkinson | Date: | Tue, 14 Mar 2000 23:39:16 +0000 |
| Subject: | Solaris 2.5.1 ignoring -D_POSIX_PTHREAD_SEMANTICS | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16815@lists.php.net to get a copy of this message | ||
I'm attempting to compile this morning's snapshot on an older Solaris box
and I'm getting this:
Making all in .
make[1]: Entering directory
`/export/home/products/php/src/php4/php4-200003141245'
gcc -DHAVE_CONFIG_H -I. -I/export/home/products/php/src/php4/php4-2000031412
45/. -I. -I./Zend -I/export/home
/products/php/src/php4/php4-200003141245 -I/products/apache/src/apache_1.3.1
2/src/include -I/products/apache
/src/apache_1.3.12/src/os/unix -I/products/gd/sol/include -I/export/home/pro
ducts/php/src/php4/php4-20000314
1245/ext/mysql/libmysql -I/disk1/oracle7/rdbms/demo -I/disk1/oracle7/network
/public -I/export/home/products/
php/src/php4/php4-200003141245/ext/xml/expat/xmltok -I/export/home/products/
php/src/php4/php4-200003141245/e
xt/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -D_POSIX_PTHREAD_SEMANTICS -D_REE
NTRANT -g -Wall -c main.c && to
uch main.lo
main.c: In function `php_message_handler_for_zend':
main.c:602: too few arguments to function `asctime_r'
make[1]: *** [main.lo] Error 1
make[1]: Leaving directory
`/export/home/products/php/src/php4/php4-200003141245'
make: *** [all-recursive] Error 1
It looks like -D_POSIX_PTHREAD_SEMANTICS is being ignored, and therefore gcc
wants the non-POSIX version of asctime_r. Can anyone comment on this?
Leon