#38181 [NEW]: compiling fails because of floorf/fabsf warning
From: chromalux at gmx dot de
Operating system: Ubuntu 6.06 LTS
PHP version: 5.1.4
PHP Bug Type: Compile Failure
Bug description: compiling fails because of floorf/fabsf warning
Description:
------------
hi,
compiling version 5.14 fails to me with the message: libjpeg (a|so) not
found.
In config.log the last few lines warn about conflicting types of floorf
and fabsf.
The same problem occurs when I try to compile the snapshot version
5.2-200607211830.
I tried to configure with
...
--with-gd \
--with-jpeg-dir=/usr/lib \
--with-libjpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-zlib-dir=/usr/lib \
--with-libxpm-dir=/usr/lib \
--with-freetype-dir=/usr/lib \
--with-t1lib=/usr/lib \
--enable-gd-native-ttf \
--with-ttf \
...
I don't think this is a problem of my system configuration.
Reproduce code:
---------------
Last lines of config.log:
----
...
configure:34913: checking for fabsf
configure:34941: gcc -o conftest -g -O2 -pthread -D_REENTRANT conftest.c
-lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lgssapi_krb5
-lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv -lidn -lssl -lcrypto
-ldl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:34925: warning: conflicting types for built-in function 'fabsf'
configure:34913: checking for floorf
configure:34941: gcc -o conftest -g -O2 -pthread -D_REENTRANT conftest.c
-lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lgssapi_krb5
-lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv -lidn -lssl -lcrypto
-ldl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:34925: warning: conflicting types for built-in function
'floorf'
-----
--
Edit bug report at http://bugs.php.net/?id=38181&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38181&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38181&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38181&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38181&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38181&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38181&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38181&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38181&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38181&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38181&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38181&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38181&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38181&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38181&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38181&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38181&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38181&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38181&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38181&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38181&r=mysqlcfg
Thread (2 messages)
- chromalux at gmx dot de