ID: 36077 Updated by: [EMAIL PROTECTED] Reported By: bweldon at u dot washington dot edu -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Solaris 10 PHP Version: 5.1.2 New Comment:
http://www.google.com/search?q=parse+error+before+%22ctid_t%22 Previous Comments: ------------------------------------------------------------------------ [2006-01-19 06:36:45] bweldon at u dot washington dot edu 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' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36077&edit=1
