[asterisk-bugs] [Asterisk 0015017]: armv5tel: ast_expr2.c op_func.c implicit declerations

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 14 00:25:43 CDT 2009


The following issue has been REOPENED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15017 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15017
Category:                   General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 191633 
Request Review:              
====================================================================== 
Date Submitted:             2009-05-02 10:15 CDT
Last Modified:              2009-09-14 00:25 CDT
====================================================================== 
Summary:                    armv5tel: ast_expr2.c op_func.c implicit
declerations
Description: 
# uname -a
Linux watt 2.6.30-rc2 https://issues.asterisk.org/view.php?id=3 PREEMPT Fri Apr
24 01:50:30 UTC 2009 armv5tel
GNU/Linux

ast_expr2.y: In function 'op_func':
ast_expr2.y:802: warning: implicit declaration of function 'cosl'
ast_expr2.y:802: warning: incompatible implicit declaration of built-in
function 'cosl'
ast_expr2.y:813: warning: implicit declaration of function 'sinl'
ast_expr2.y:813: warning: incompatible implicit declaration of built-in
function 'sinl'
ast_expr2.y:824: warning: implicit declaration of function 'tanl'
ast_expr2.y:824: warning: incompatible implicit declaration of built-in
function 'tanl'
ast_expr2.y:835: warning: implicit declaration of function 'acosl'
ast_expr2.y:835: warning: incompatible implicit declaration of built-in
function 'acosl'
ast_expr2.y:846: warning: implicit declaration of function 'asinl'
ast_expr2.y:846: warning: incompatible implicit declaration of built-in
function 'asinl'
ast_expr2.y:857: warning: implicit declaration of function 'atanl'
ast_expr2.y:857: warning: incompatible implicit declaration of built-in
function 'atanl'
ast_expr2.y:869: warning: implicit declaration of function 'atan2l'
ast_expr2.y:869: warning: incompatible implicit declaration of built-in
function 'atan2l'
ast_expr2.y:881: warning: implicit declaration of function 'powl'
ast_expr2.y:881: warning: incompatible implicit declaration of built-in
function 'powl'
ast_expr2.y:892: warning: implicit declaration of function 'sqrtl'
ast_expr2.y:892: warning: incompatible implicit declaration of built-in
function 'sqrtl'
ast_expr2.y:903: warning: implicit declaration of function 'floorl'
ast_expr2.y:903: warning: incompatible implicit declaration of built-in
function 'floorl'
ast_expr2.y:914: warning: implicit declaration of function 'ceill'
ast_expr2.y:914: warning: incompatible implicit declaration of built-in
function 'ceill'
ast_expr2.y:925: warning: implicit declaration of function 'roundl'
ast_expr2.y:925: warning: incompatible implicit declaration of built-in
function 'roundl'
ast_expr2.y:936: warning: implicit declaration of function 'rintl'
ast_expr2.y:936: warning: incompatible implicit declaration of built-in
function 'rintl'
ast_expr2.y:947: warning: implicit declaration of function 'truncl'
ast_expr2.y:947: warning: incompatible implicit declaration of built-in
function 'truncl'
ast_expr2.y:958: warning: implicit declaration of function 'expl'
ast_expr2.y:958: warning: incompatible implicit declaration of built-in
function 'expl'
ast_expr2.y:969: warning: implicit declaration of function 'exp2l'
ast_expr2.y:969: warning: incompatible implicit declaration of built-in
function 'exp2l'
ast_expr2.y:980: warning: implicit declaration of function 'exp10l'
ast_expr2.y:980: warning: incompatible implicit declaration of built-in
function 'exp10l'
ast_expr2.y:991: warning: implicit declaration of function 'logl'
ast_expr2.y:991: warning: incompatible implicit declaration of built-in
function 'logl'
ast_expr2.y:1002: warning: implicit declaration of function 'log2l'
ast_expr2.y:1002: warning: incompatible implicit declaration of built-in
function 'log2l'
ast_expr2.y:1013: warning: implicit declaration of function 'log10l'
ast_expr2.y:1013: warning: incompatible implicit declaration of built-in
function 'log10l'
ast_expr2.y: In function 'op_rem':
ast_expr2.y:1526: warning: implicit declaration of function 'fmodl'
ast_expr2.y:1526: warning: incompatible implicit declaration of built-in
function 'fmodl
====================================================================== 

---------------------------------------------------------------------- 
 (0110587) tzafrir (manager) - 2009-09-14 00:25
 https://issues.asterisk.org/view.php?id=15017#c110587 
---------------------------------------------------------------------- 
The problem is that some functions that are tested with AC_CHECK_FUNCS()
don't get properly dewtected as missing.

Here is part of config.log:

configure:16752: checking for exp2l
configure:16808: gcc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:157: warning: conflicting types for built-in function 'exp2l'
configure:16814: $? = 0
configure:16832: result: yes

I attach a larger part of it. Note in the end a certain function that is
not detected. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-14 00:25 tzafrir        Note Added: 0110587                          
2009-09-14 00:25 tzafrir        Status                   closed => new       
2009-09-14 00:25 tzafrir        Resolution               suspended => reopened
======================================================================




More information about the asterisk-bugs mailing list