php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26127 IMAP compile fails!
Submitted: 2003-11-04 21:42 UTC Modified: 2003-11-05 00:44 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: herps at raqtweak dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.3.4 OS: Sun Cobalt RAQ4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: herps at raqtweak dot com
New email:
PHP Version: OS:

 

 [2003-11-04 21:42 UTC] herps at raqtweak dot com
Description:
------------
I compile my PHP with the option, --with-imap (or --with-imap=/usr/lib/c-client.a , same result)

So the configure runs for a while, and then shows this:

I keep getting the following output:
====================================================
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
=====================================================

Note the 2 IMAP lines...

My config.log output:
====================================================
configure:40552: checking whether IMAP works
configure:40585: gcc -o conftest -DEAPI -O2 -m486 -fno-strength-reduce  -L/usr/lib -ldb-3.0  conftest.c -lc-client   -lcrypt -lpam -lttf -lpng -lz -ljpeg -lz -lxml2 -ldb-3.0 -lgdbm -lz -lresolv -lm -ldl -lnsl  1>&5
/usr/lib/libc-client.a(mail.o): In function `mm_cache':
/home/redhat/BUILD/imap-2002d/c-client/mail.c:203: undefined reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_parameters':
/home/redhat/BUILD/imap-2002d/c-client/mail.c:529: undefined reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_valid':
/home/redhat/BUILD/imap-2002d/c-client/mail.c:568: undefined reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_valid_net':
/home/redhat/BUILD/imap-2002d/c-client/mail.c:586: undefined reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_valid_net_parse_work':
/home/redhat/BUILD/imap-2002d/c-client/mail.c:709: undefined reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o):/home/redhat/BUILD/imap-2002d/c-client/mail.c:745: more undefined references to `__canary_death_handler' follow
collect2: ld returned 1 exit status
configure: failed program was:
#line 40560 "configure"
#include "confdefs.h"

    void mm_log(void){}
    void mm_dlog(void){}
    void mm_flags(void){}
    void mm_fatal(void){}
    void mm_critical(void){}
    void mm_nocritical(void){}
    void mm_notify(void){}
    void mm_login(void){}
    void mm_diskerror(void){}
    void mm_status(void){}
    void mm_lsub(void){}
    void mm_list(void){}
    void mm_exists(void){}
    void mm_searched(void){}
    void mm_expunged(void){}
    char mail_newbody();
    int main() {
      mail_newbody();
      return 0;
    }
====================================================

Now, I recall this used to work before...
I use imap2002d, compiled with stackguard support...

Please advise... I've been looking and searching for quite a while now, but can find nothing... Thus I concluded that it might be a bug....


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-05 00:44 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

See bug #22381
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 20:01:31 2024 UTC