Failure compiling in IMAP.

From: Date: Thu, 26 Jul 2001 18:18:19 +0000
Subject: Failure compiling in IMAP.
Groups: php.dev 
Request: Send a blank email to php-dev+get-61086@lists.php.net to get a copy of this message
I am recompiling php and apache for IMAP connectivity. I had it working, then i installed RH 7.1 (to fix another problem on my machine) and I had to recompile Apache and PHP all over again. When I go to compile PHP with IMAP connectivity (c-client.a is in the /usr/local/lib) folder, it dies. During the configuration of PHP, its says it find the IMAP library fine... When I got to compile Apache with PHP it gives me the following errors: /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4147: undefined reference to `mail_newstringlist' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4148: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4155: undefined reference to `mail_newstringlist' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4157: undefined reference to `cpystr' modules/php4/libphp4.a(php_imap.o): In function `mm_list': /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4174: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4185: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4195: undefined reference to `mail_newstringlist' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4196: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4203: undefined reference to `mail_newstringlist' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4205: undefined reference to `cpystr' modules/php4/libphp4.a(php_imap.o): In function `mm_lsub': /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4223: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4234: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4242: undefined reference to `mail_newstringlist' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4243: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4250: undefined reference to `mail_newstringlist' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4252: undefined reference to `cpystr' modules/php4/libphp4.a(php_imap.o): In function `mm_log': /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4289: undefined reference to `cpystr' /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:4299: undefined reference to `cpystr' modules/php4/libphp4.a(php_imap.o): In function `mail_free_foblist': /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:266: undefined reference to `fs_give' modules/php4/libphp4.a(php_imap.o): In function `mail_free_errorlist': /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:291: undefined reference to `fs_give' modules/php4/libphp4.a(php_imap.o): In function `mail_free_messagelist': /root/Apachetoolbox-1.5.34/src/php-4.0.6/ext/imap/php_imap.c:386: undefined reference to `fs_give' collect2: ld returned 1 exit status any thoughts you have would be great!

« previous php.dev (#61086) next »