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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Dec 14 16:09:21 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:09 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:09  
---------------------------------------------------------------------- 
I also have recently started having this problem too. I attempted moving
the includes of the IMAP-related code above the include of asterisk.h but
this did not work for me. I was able to get a successful compilation by
moving the IMAP-related includes to INSIDE of asterisk.h, but I feel this
is not a sensible solution.

What versions of gcc are you using, blitzrage and jaroth? 

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




More information about the asterisk-bugs mailing list