|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-19 08:09 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 13:00:01 2025 UTC |
Description: ------------ configure works - but make craps-out on posix.lo compile. Reproduce code: --------------- # uname -a SunOS -a 5.10 Generic sun4u sparc SUNW,UltraAX-i2 ./configure --with-apxs2=/usr/apache2/bin/apxs --prefix=/usr/local/php/php-5.1.2 make Expected result: ---------------- during make process..... gcc -Iext/posix/ -I/export/home/php/php-5.1.2/ext/posix/ -DPHP_ATOM_INC -I/export/home/php/php-5.1.2/include -I/export/home/php/php-5.1.2/main -I/export/home/php/php-5.1.2 -I/usr/local/include/libxml2 -I/export/home/php/php-5.1.2/ext/date/lib -I/export/home/php/php-5.1.2/TSRM -I/export/home/php/php-5.1.2/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -O2 -Wall -c /export/home/php/php-5.1.2/ext/posix/posix.c -fPIC -DPIC -o ext/posix/.libs/posix.o In file included from /usr/include/sys/signal.h:34, from /usr/include/signal.h:26, from /export/home/php/php-5.1.2/ext/posix/posix.c:42: /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:292: error: parse error before '}' token /usr/include/sys/siginfo.h:294: error: parse error before '}' token /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/signal.h:26, from /export/home/php/php-5.1.2/ext/posix/posix.c:42: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from /export/home/php/php-5.1.2/ext/posix/posix.c:42: /usr/include/signal.h:111: error: parse error before "siginfo_t" /usr/include/signal.h:113: error: parse error before "siginfo_t" *** Error code 1 make: Fatal error: Command failed for target `ext/posix/posix.lo'