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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 15 10:52:14 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-15 10:52 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

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

---------------------------------------------------------------------- 
 (0128875) asgaroth (reporter) - 2010-11-15 10:52
 https://issues.asterisk.org/view.php?id=18155#c128875 
---------------------------------------------------------------------- 
I have just tested version 1.6.2.14 and the issue is still present in the
official reloase. Build output follows:

Generating embedded module rules ...
   [CC] smsq.c -> smsq.o
   [CP] main/strcompat.c -> strcompat.c
   [CC] strcompat.c -> strcompat.o
   [LD] smsq.o strcompat.o -> smsq
   [CC] stereorize.c -> stereorize.o
   [CC] frame.c -> frame.o
   [LD] stereorize.o frame.o -> stereorize
   [CC] streamplayer.c -> streamplayer.o
   [LD] streamplayer.o -> streamplayer
   [CC] hashtest2.c -> hashtest2.o
In file included from
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14/include/asterisk/poll-compat.h:82,
                 from
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14/include/asterisk/select.h:
In function `ast_select':
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14/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/include/asterisk/channel.h:
At top level:
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14/include/asterisk/channel.h:1752:
error: conflicting types for 'timersub'
/export/home/vzhsxn/packages/BUILD/asterisk-1.6.2.14/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-11-15 10:52 asgaroth       Note Added: 0128875                          
======================================================================




More information about the asterisk-bugs mailing list