ID: 9634
Updated by: kalowsky
Status: Open
Bug Type: Compile Failure
Assigned To: kalowsky

1) make sure HAVE_IMAP2000 is being defined

2) Check to make sure imap4r1.h is included in the php_imap.c file (this should be 
done as long as HAVE_IMAP2000) is defined and exists in the imap directory (looks like 
it's /usr/include/imap on your machine)

3) check that your imap4r1.h has both functions defined.  it should, but double 
checking never hurts.

Previous Comments:

[2001-03-08 14:11:00] [EMAIL PROTECTED]
Last few lines of build:

/bin/sh /usr/src/redhat/BUILD/php-4.0.5dev_20010308/libtool --silent --mode=link gcc  
-I. -I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/ 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/Zend -I/usr/include/freetype 
-I/usr/include/imap -I/usr/local/include -I/opt/sybase-11.9.2/include 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010308/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 
-O2 -m486 -fno-strength-reduce -fPIC   -o php -export-dynamic  stub.lo
.libs/libphp4.a(php_imap.o): In function `php_if_imap_get_quota':
php_imap.o(.text+0x1aef): undefined reference to `imap_getquota'
.libs/libphp4.a(php_imap.o): In function `php_if_imap_set_quota':
php_imap.o(.text+0x1e19): undefined reference to `imap_setquota'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.5dev_20010308'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.49221 (%build)

IMAP 2000c is installed, and another machine with a very similar configuration had no 
problem compiling. Any ideas?


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to