#38181 [Opn->Bgs]: compiling fails because of floorf/fabsf warning

From: Date: Fri, 21 Jul 2006 21:30:46 +0000
Subject: #38181 [Opn->Bgs]: compiling fails because of floorf/fabsf warning
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99723@lists.php.net to get a copy of this message
 ID:               38181
 Updated by:       derick@php.net
 Reported By:      chromalux at gmx dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Ubuntu 6.06 LTS
 PHP Version:      5.1.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

use =/usr and not =/usr/lib


Previous Comments:
------------------------------------------------------------------------

[2006-07-21 20:03:02] chromalux at gmx dot de

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 this bug report at http://bugs.php.net/?id=38181&edit=1


Thread (2 messages)

« previous php.bugs (#99723) next »