From: herps at raqtweak dot com
Operating system: Sun Cobalt RAQ4
PHP version: 4.3.4
PHP Bug Type: IMAP related
Bug description: IMAP compile fails!
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....
--
Edit bug report at http://bugs.php.net/?id=26127&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26127&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26127&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26127&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26127&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26127&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26127&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26127&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26127&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26127&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26127&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26127&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26127&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26127&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26127&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26127&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26127&r=float