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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 4 11:41:24 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:                     new
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-04-2007 11:41 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-04-07 11:41  
---------------------------------------------------------------------- 
The first warning, from env_unix.h, is from within the IMAP toolkit code,
and is not an issue, nor is it our responsibility to fix.

The second one, regarding discarding qualifiers from a pointer, I will
look at more closely. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-04-07 11:41  putnopvut      Note Added: 0074759                          
======================================================================




More information about the asterisk-bugs mailing list