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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 29 09:08:31 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                        
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-10-29 09:08 CDT
====================================================================== 
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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-29 09:08 lmadsen        Description Updated                          
2010-10-29 09:08 lmadsen        Steps to Reproduce Updated                    
======================================================================




More information about the asterisk-bugs mailing list