[ext/posix/posix.lo] Error 1

各位大牛:
  小弟近日遇到一个PHP 编译问题,特来请教
  OS: SunOS sbardx4b 5.8 Generic_117350-06 sun4u sparc SUNW,Sun-Fire-V440
  PHP: php-5.2.1
  问题描述:
  Step 1:./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs
              --with-mysql=/usr/local/mysql --with-oci8=/usr/local/oracle/apps/product/9.2.0/
              --with-oracle=/usr/local/oracle/apps/product/9.2.0/ --disable-ipv6 --with-openssl
              --with-zlib --with-dbm --with-inifile --with-gd=/usr/local/ with-jpeg --with-png --with-xpm
              --with-ttf --with-freetype=/usr/local/lib --enable-gd-native-ttf --enable-gd-imgstrttf --with-ldap=/usr/local/openldap
              --with-ldap-sasl=/usr/local/sasl --with-snmp-enable-soap --enable-sockets --with-libxml  --with-xmlrp --with-xsl --enable-yp --enable-track-vars
  这步配置OK
  Step 2: make clean
  这步也OK
  Step 3: make
  出错,信息为:
               /tmp/php-5.2.1/ext/posix/posix.c: In function `zif_posix_getgrgid':
               /tmp/php-5.2.1/ext/posix/posix.c:892: error: too many arguments to function `getgrgid_r'
               /tmp/php-5.2.1/ext/posix/posix.c:892: warning: assignment makes integer from pointer without a cast
               make: *** [ext/posix/posix.lo] Error 1

请教各位.这个问题因为什么引起的?改如何处理啊,多谢赐教