[asterisk-bugs] [JIRA] (ASTERISK-25682) Unable to Make with imap support

Walter Doekes (JIRA) noreply at issues.asterisk.org
Thu Jan 14 04:04:33 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229015#comment-229015 ] 

Walter Doekes commented on ASTERISK-25682:
------------------------------------------

Why don't you use a packaged version?

My debians/ubuntus all have some form of imaplib:
{noformat}
walter at walter-desktop:0:~$ dpkg -S /usr/include/c-client/env_unix.h 
libc-client2007e-dev: /usr/include/c-client/env_unix.h
walter at walter-desktop:0:~$ apt-cache show libc-client2007e-dev | grep imap
Source: uw-imap
Filename: pool/universe/u/uw-imap/libc-client2007e-dev_2007f~dfsg-2_amd64.deb
Homepage: http://www.washington.edu/imap/
{noformat}

The OS packages that stuff for your convenience. Use it.

> Unable to Make with imap support
> --------------------------------
>
>                 Key: ASTERISK-25682
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25682
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/IMAP
>    Affects Versions: 13.6.0
>         Environment: Centos 6
>            Reporter: Daniel Journo
>            Assignee: Unassigned
>            Severity: Minor
>
> Tested using imap-2007e and imap-2007f from http://www.washington.edu/imap/
> Try configuring using the following line:
> {noformat}
> ./configure -with-imap=/usr/src/imap-2007e --enable-dev-mode
> {noformat}
> In menuselect, select IMAP for Voicemail storage.
> The Make results in these errors:-
> With --enable-dev-mode
> {noformat}
>    [CC] app_voicemail.c -> app_voicemail.o
> cc1: warnings being treated as errors
> In file included from /usr/src/imap-2007e/c-client/osdep.h:63,
>                  from /usr/src/imap-2007e/c-client/c-client.h:42,
>                  from app_voicemail.c:98:
> /usr/src/imap-2007e/c-client/env_unix.h:71: error: function declaration isn’t a prototype
> make[1]: *** [app_voicemail.o] Error 1
> make: *** [apps] Error 2
> {noformat}
> Without --enable-dev-mode
> {noformat}
>    [CC] app_voicemail.c -> app_voicemail.o
> In file included from /usr/src/imap-2007f/c-client/osdep.h:63,
>                  from /usr/src/imap-2007f/c-client/c-client.h:42,
>                  from app_voicemail.c:98:
> /usr/src/imap-2007f/c-client/env_unix.h:71: warning: function declaration isn’t a prototype
>    [LD] app_voicemail.o -> app_voicemail.so
> /usr/bin/ld: /usr/src/imap-2007f/c-client/c-client.a(osdep.o): relocation R_X86_64_32 against `server_input_wait' can not be used when making a shared object; recompile with -fPIC
> /usr/src/imap-2007f/c-client/c-client.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [app_voicemail.so] Error 1
> make: *** [apps] Error 2
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list