[asterisk-bugs] [Asterisk 0011437]: Compiling Asterisk --with-imap support fails

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Dec 14 16:39:56 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11437 
====================================================================== 
Reported By:                blitzrage
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11437
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 90471 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-02-2007 20:35 CST
Last Modified:              12-14-2007 16:39 CST
====================================================================== 
Summary:                    Compiling Asterisk --with-imap support fails
Description: 
When compiling against the imap-2006k library on CentOS 5, 64-bit, I get
the following:

   [CC] app_voicemail.c -> app_voicemail.o
In file included from /usr/local/src/imap-2006k/c-client/osdep.h:63,
                 from /usr/local/src/imap-2006k/c-client/c-client.h:42,
                 from app_voicemail.c:84:
/usr/local/src/imap-2006k/c-client/env_unix.h:71: warning: function
declaration isnâ??t a prototype
app_voicemail.c: In function â??apply_optionâ??:
app_voicemail.c:719: error: too few arguments to function â??ast_logâ??
app_voicemail.c:733: warning: passing argument 3 of â??ast_logâ?? makes
integer from pointer without a cast
app_voicemail.c:733: warning: passing argument 4 of â??ast_logâ?? makes
pointer from integer without a cast
app_voicemail.c:733: error: too few arguments to function â??ast_logâ??
app_voicemail.c:739: error: too few arguments to function â??ast_logâ??
app_voicemail.c:743: warning: passing argument 3 of â??ast_logâ?? makes
integer from pointer without a cast
app_voicemail.c:743: warning: passing argument 4 of â??ast_logâ?? makes
pointer from integer without a cast
...etc...
make[1]: *** [app_voicemail.o] Error 1
make: *** [apps] Error 2
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 12-14-07 16:39  
---------------------------------------------------------------------- 
For the record, I'm using gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4).

If I had to guess which version of gcc blitzrage is using, it would
probably be 4.1.1 (since he is using CentOS 5). Qwell confirmed that he
fixed the issue the same way as the two of you and he's using 4.1.2 too, so
I think I'm barking up the wrong tree with the compiler version idea.

I guess there's some other factor in my environment which is causing the
problem. I'll try to figure it out. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-14-07 16:39  putnopvut      Note Added: 0075436                          
======================================================================




More information about the asterisk-bugs mailing list