Summary: | ASTERISK-16825: conflicting types for 'timersub' | ||
Reporter: | Bruce McAlister (asgaroth) | Labels: | |
Date Opened: | 2010-10-18 10:28:04 | Date Closed: | 2011-01-18 16:29:57.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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 ****** STEPS TO REPRODUCE ****** [1] Extract source [2] run "configure" [3] make menuselect (enable odbc voicemail storage) [4] make | ||
Comments: | By: Bruce McAlister (asgaroth) 2010-11-15 10:52:14.000-0600 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 By: Bruce McAlister (asgaroth) 2010-11-26 09:11:46.000-0600 Just an update, this issue does not appear to be present in 1.6.2.15-rc1 By: Sean Bright (seanbright) 2011-01-18 16:29:57.000-0600 Fixed in 1.6.2 r288637 |