From: richard at gagnonconsulting dot com Operating system: FreeBSD 4.4 PHP version: 4.3.1 PHP Bug Type: Compile Warning Bug description: compile error in php_imap.c
Get the following error when running make (.config options follow) > make /bin/sh libtool --silent --mode=compile gcc -Iext/imap/ -I/usr/home/usr223104188/php/php-4.3.1/ext/imap/ -DPHP_ATOM_INC -I/usr/home/usr223104188/php/php-4.3.1/include -I/usr/home/usr223104188/php/php-4.3.1/main -I/usr/home/usr223104188/php/php-4.3.1 -I/usr/home/usr223104188/php/php-4.3.1/Zend -I/usr/local/include -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/home/usr223104188/php/php-4.3.1/ext/xml/expat -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/htdocs" -DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=208105 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/usr/home/usr223104188/php/php-4.3.1/TSRM -g -O2 -prefer-pic -c /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c -o ext/imap/php_imap.lo /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:339: syntax error before `QUOTALIST' /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c: In function `mail_getquota': /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:344: `qlist' undeclared (first use in this function) /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:344: (Each undeclared identifier is reported only once /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:344: for each function it appears in.) /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c: In function `zif_imap_get_quota': /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:869: `SET_QUOTA' undeclared (first use in this function) /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c: In function `zif_imap_get_quotaroot': /usr/home/usr223104188/php/php-4.3.1/ext/imap/php_imap.c:903: `SET_QUOTA' undeclared (first use in this function) *** Error code 1 I ran ./configure with the following options: './configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-config-file-path=/usr/local/www/etc' '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--with-gd' '--with-mysql' '--with-zlib' '--with-imap=/usr/local' '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4' also tried again with following configure options: ./configure --with-apxs=/usr/local/www/bin/apxs --with-mysql=/usr/local/ --with-gd=/usr/local/ --with-freetype --with-imap Same problem -- Edit bug report at http://bugs.php.net/?id=23842&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23842&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23842&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23842&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23842&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23842&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23842&r=support Expected behavior: http://bugs.php.net/fix.php?id=23842&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23842&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23842&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23842&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23842&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23842&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23842&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23842&r=gnused
