#24156 [NEW]: T undefined during compile of php_imap.c
| From: | barryn at baptisthealth dot net | Date: | Thu, 12 Jun 2003 18:03:17 +0000 |
| Subject: | #24156 [NEW]: T undefined during compile of php_imap.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-41789@lists.php.net to get a copy of this message | ||
From: barryn at baptisthealth dot net
Operating system: Solaris 8
PHP version: 4.3.2
PHP Bug Type: IMAP related
Bug description: T undefined during compile of php_imap.c
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 bug report at http://bugs.php.net/?id=24156&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24156&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24156&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24156&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24156&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24156&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24156&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24156&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24156&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24156&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24156&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24156&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24156&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24156&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24156&r=gnused