[asterisk-bugs] [Asterisk 0018155]: conflicting types for 'timersub'

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 26 09:11:47 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18155 
====================================================================== 
Reported By:                asgaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18155
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.14-rc1 
JIRA:                       SWP-2460 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-18 10:28 CDT
Last Modified:              2010-11-26 09:11 CST
====================================================================== 
Summary:                    conflicting types for 'timersub'
Description: 
When attempting to build asterisk version 1.6.2.14-rc1 on Solaris 10, the
build fails with the following error:

   [CC] hashtest2.c -> hashtest2.o
In file included from
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14-rc1/include/asterisk/poll-compat.h:82,
                 from
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14-rc1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14-rc1/include/asterisk/select.h:
In function `ast_select':
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14-rc1/include/asterisk/select.h:91:
warning: implicit declaration of function `timersub'
In file included from hashtest2.c:41:
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14-rc1/include/asterisk/channel.h:
At top level:
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14-rc1/include/asterisk/channel.h:1752:
error: conflicting types for 'timersub'
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14-rc1/include/asterisk/select.h:91:
error: previous implicit declaration of 'timersub' was here
make[1]: *** [hashtest2.o] Error 1
make: *** [utils] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 (0129162) asgaroth (reporter) - 2010-11-26 09:11
 https://issues.asterisk.org/view.php?id=18155#c129162 
---------------------------------------------------------------------- 
Just an update, this issue does not appear to be present in 1.6.2.15-rc1 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-26 09:11 asgaroth       Note Added: 0129162                          
======================================================================




More information about the asterisk-bugs mailing list