Bartosz Jozwiak
2003-Oct-30 12:28 UTC
[Asterisk-Users] Compile problem with older ver. of CVS
While compiling Asterisk from one month ago cvs checkout -D "last month" asterisk I got compiling error: term.c:55: conflicting types for `term_color' include/asterisk/term.h:47: previous declaration of `term_color' term.c:98: conflicting types for `term_prompt' include/asterisk/term.h:49: previous declaration of `term_prompt' make: *** [term.o] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031030/65358211/attachment.htm
On Thu, 2003-10-30 at 20:28, Bartosz Jozwiak wrote:> While compiling Asterisk from one month ago > cvs checkout -D "last month" asterisk > > I got compiling error: > term.c:55: conflicting types for `term_color' > include/asterisk/term.h:47: previous declaration of `term_color' > term.c:98: conflicting types for `term_prompt' > include/asterisk/term.h:49: previous declaration of `term_prompt' > make: *** [term.o] Error 1There is an error in either term.c or term.h one has the second variable as a const the other doesn't. If you put the const in it all works fine. Sorry I forgot to post it to bugtrak when I found it. -- Dave Cotton <dcotton@linuxautrement.com>