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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 18 16:29:57 CST 2011


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-10-18 10:28 CDT
Last Modified:              2011-01-18 16:29 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

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

---------------------------------------------------------------------- 
 (0130647) seanbright (manager) - 2011-01-18 16:29
 https://issues.asterisk.org/view.php?id=18155#c130647 
---------------------------------------------------------------------- 
Fixed in 1.6.2 r288637 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-18 16:29 seanbright     Note Added: 0130647                          
2011-01-18 16:29 seanbright     Status                   acknowledged => closed
======================================================================




More information about the asterisk-bugs mailing list