From:             korgal at hotmail dot com
Operating system: Redhat 8.0
PHP version:      4.3.2
PHP Bug Type:     Compile Failure
Bug description:  imap + cyrus crash compile

Description:
------------
Hi,

Compiling PHP 4.3.2 with --with-imap and --with-cyrus  crash... but
removing any of the 2 make it work... i am not a C programmer, so i have
no idea what's the problem...

I have PHP 4.3.2, cyrus-imapd 2.1.13 works fine, and i tried imap-2002d
and the latest imap-2003a without difference.

Here is my config:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql --with-cyrus
--with-imap=/usr/local/imap-2002d --enable-ftp 
--with-interbase=/opt/interbase --with-openssl --with-zlib
--enable-inline-optimization

The CONFIGURE go fine. But when i MAKE...

/usr/local/imap-2002d/libc-client.a(osdep.o): In function `fatal':
/temp/imap-2002d/c-client/ftl_unix.c:27: multiple defini
tion of `fatal'
ext/cyrus/cyrus.lo:/temp/php-4.3.2/ext/cyrus/cyrus.c:110: first defined
here
/usr/bin/ld: Warning: size of symbol `fatal' changed from 41 to 37 in
/usr/local/imap-2002d/libc-client.a(osdep.o)
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

To me, looks like a "fatal" function is defined in both Cyrus and IMAP,
and it conflicts.

Thank you very much


-- 
Edit bug report at http://bugs.php.net/?id=24778&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24778&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24778&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24778&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24778&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24778&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24778&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24778&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24778&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24778&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24778&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24778&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24778&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24778&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24778&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24778&r=gnused

Reply via email to