#24156 [Opn->Fbk]: T undefined during compile of php_imap.c
| From: | derick@php.net | Date: | Thu, 12 Jun 2003 18:15:14 +0000 |
| Subject: | #24156 [Opn->Fbk]: T undefined during compile of php_imap.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41791@lists.php.net to get a copy of this message | ||
ID: 24156
Updated by: derick@php.net
Reported By: barryn at baptisthealth dot net
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: Solaris 8
PHP Version: 4.3.2
New Comment:
Please add the full error message here.
Previous Comments:
------------------------------------------------------------------------
[2003-06-12 13:03:17] barryn at baptisthealth dot net
Description:
------------
Compiling with these switches:
./configure --prefix=/opt/php --with-nsapi=/opt/netscape --with-oci8
--enable-dbase --enable-filepro --enable-ftp --enable-sysvsem
--enable-sysvshm --with-zlib --with-jpeg-dir=/opt/sfw
--with-png-dir=/opt/sfw --with-gdbm --with-gd --with-imap --with-mysql
--enable-sigchild --enable-libgcc --with-cpdflib --with-flatfile
on Solaris 8 resulted in T being undefined when compiling php_imap.c
Imap version info:
* Program: Interactive Mail Access Protocol 4rev1 (IMAP4R1)
routines
*
* Author: Mark Crispin
* Networks and Distributed Computing
* Computing & Communications
* University of Washington
* Administration Building, AG-44
* Seattle, WA 98195
* Internet: MRC@CAC.Washington.EDU
*
* Date: 14 October 1988
* Last Edited: 14 November 2001
Reproduce code:
---------------
I fixed the problem by adding:
#ifndef T
#define T 1
#endif
after the line
#define PHP_IMAP_ADDRESS_SIZE_BUF 10
in php_imap.c
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24156&edit=1