From:             mamfelt at acm dot org
Operating system: AIX 5.3 TL06
PHP version:      5.2.4
PHP Bug Type:     Compile Failure
Bug description:  compile problem with rt.c, function redeclarations cause halt

Description:
------------
 Build of php stops with compile of rt.c due to redeclaration of:
bc_rt_warn and bc_rt_error



Reproduce code:
---------------
        /bin/sh /home/michael/prj/php-5.2.4/libtool --silent
--preserve-dup-deps --mode=compile cc
-I/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src -Iext/bcmath/
-I/home/michael/prj/php-5.2.4/ext/bcmath/ -DPHP_ATOM_INC
-I/home/michael/prj/php-5.2.4/include -I/home/michael/prj/php-5.2.4/main
-I/home/michael/prj/php-5.2.4 -I/usr/local/include/libxml2
-I/usr/local/ssl/include -I/usr/local/include
-I/home/michael/prj/php-5.2.4/ext/date/lib -I/usr/local/include/freetype2
-I/usr/local/mysql/include -I/home/michael/prj/php-5.2.4/TSRM
-I/home/michael/prj/php-5.2.4/Zend    -I/usr/include -g  -c
/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src/rt.c -o
ext/bcmath/libbcmath/src/rt.lo 
"/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src/rt.c", line 42.6:
1506-343 (S) Redeclaration of bc_rt_warn differs from previous declaration
on line 155 of
"/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src/bcmath.h".
"/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src/rt.c", line 42.6:
1506-378 (I) Prototype for function bc_rt_warn cannot contain "..." when
mixed with a nonprototype declaration.
"/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src/rt.c", line 55.6:
1506-343 (S) Redeclaration of bc_rt_error differs from previous declaration
on line 156 of
"/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src/bcmath.h".
"/home/michael/prj/php-5.2.4/ext/bcmath/libbcmath/src/rt.c", line 55.6:
1506-378 (I) Prototype for function bc_rt_error cannot contain "..." when
mixed with a nonprototype declaration.
make: 1254-004 The error code from the last command is 1.
Stop.



-- 
Edit bug report at http://bugs.php.net/?id=43000&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43000&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43000&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43000&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43000&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43000&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43000&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43000&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43000&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43000&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43000&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43000&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43000&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43000&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43000&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43000&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43000&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43000&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43000&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43000&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43000&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43000&r=mysqlcfg

Reply via email to