#36077 [NEW]: make failure with posix.lo
| From: | bweldon at u dot washington dot edu | Date: | Thu, 19 Jan 2006 05:36:49 +0000 |
| Subject: | #36077 [NEW]: make failure with posix.lo | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-92168@lists.php.net to get a copy of this message | ||
From: bweldon at u dot washington dot edu
Operating system: Solaris 10
PHP version: 5.1.2
PHP Bug Type: Compile Failure
Bug description: make failure with posix.lo
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 bug report at http://bugs.php.net/?id=36077&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36077&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36077&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36077&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36077&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36077&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36077&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36077&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36077&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36077&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36077&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36077&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36077&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36077&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36077&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36077&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36077&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36077&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36077&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36077&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36077&r=mysqlcfg