php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38181 compiling fails because of floorf/fabsf warning
Submitted: 2006-07-21 20:03 UTC Modified: 2006-07-21 21:30 UTC
From: chromalux at gmx dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: Ubuntu 6.06 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chromalux at gmx dot de
New email:
PHP Version: OS:

 

 [2006-07-21 20:03 UTC] 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'
-----


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-21 21:30 UTC] derick@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 10:01:33 2024 UTC