#22381 [Fbk->NoF]: undefined reference to `__canary_death_handler'
| From: | sniper@php.net | Date: | Mon, 10 Mar 2003 01:08:40 +0000 |
| Subject: | #22381 [Fbk->NoF]: undefined reference to `__canary_death_handler' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35193@lists.php.net to get a copy of this message | ||
ID: 22381
Updated by: sniper@php.net
Reported By: alahaye at wanadoo dot fr
-Status: Feedback
+Status: No Feedback
Bug Type: IMAP related
Operating System: ReadHat 7.2
PHP Version: 4.3.1
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-02-23 17:35:39] sniper@php.net
First of all, don't try outsmarting our bug system and give
the feedback using the http://bugs.php.net/?id=22381&edit=2
url and your password.
Second: imap-2000c is really too old, update it first.
I have no idea where you have got that version which
seems to be compiled using this:
http://immunix.org/stackguard.html
------------------------------------------------------------------------
[2003-02-23 06:32:02] alahaye at wanadoo dot Fr
Hi,
I try with --enable-libgcc and get same error.
Here my complete compilation line
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode
--with-config-file-path=/etc/httpd/4.3.1 --with-exec-dir=/usr/bin
--with-zlib --enable-magic-quotes --with-regex=system
--enable-track-vars --with-iconv --enable-xml --disable-debug --with-gd
--enable-mbstring --enable-mbstring --enable-exif --with-mcrypt=shared
--with-interbase=shared --with-mysql=shared --with-pgsql=shared
--with-ldap --with-imap --with-openssl=/usr --with-jpeg-dir=/usr
--with-png-dir=/usr --with-gettext=shared --with-imap-ssl
--disable-mbstr-enc-trans --enable-sockets --enable-ftp --enable-bcmath
--enable-libgcc
iliaa, you can notice that i have both --with-imap and --with-imap-ssl.
This configuration line works great with PHP4.2.3 but not for PHP4.3.1
The c-client was the REDHAT Package (see my config.log)
/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c
Same bug is report on bug 22353 on Solaris
------------------------------------------------------------------------
[2003-02-22 22:41:26] sniper@php.net
1. Try adding '--enable-libgcc' to your configure line
2. Did you compile libc-client.a yourself?
------------------------------------------------------------------------
[2003-02-22 19:34:52] iliaa@php.net
Try adding --with-imap-ssl to your configure line.
------------------------------------------------------------------------
[2003-02-22 18:28:27] alahaye at wanadoo dot fr
when using --with-imap having this error on commpilation
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client... /usr/lib
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
In config.log
configure:35413: checking whether IMAP works
configure:35446: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208104
-DMOD_PERL -DUSE_PERL_SSI -DEAPI conftest.c -lcrypto -lssl -lc-client
-lcrypt -lpam -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lm
-ldl -lnsl -lcrypt 1>&5
/usr/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/usr/src/redhat/BUILD/imap-2000c/c-client/auth_ssl.c:153: the use of
tmpnam' is dangerous, better use mkstemp'
/usr/lib/libc-client.a(mail.o): In function `mm_cache':
/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:185: undefined
reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_parameters':
/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:459: undefined
reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_valid':
/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:490: undefined
reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_valid_net':
/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:508: undefined
reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o): In function `mail_valid_net_parse':
/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:619: undefined
reference to `__canary_death_handler'
/usr/lib/libc-client.a(mail.o):/usr/src/redhat/BUILD/imap-2000c/c-client/mail.c:677:
more undefined references to `__canary_death_handler' fol
low
collect2: ld returned 1 exit status
configure: failed program was:
#line 35421 "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_open();
int main() {
mail_open(0,"",0);
return 0;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22381&edit=1