#31290 [Com]: Syntax error reported in /usr/include/rpc/rpc_msg.h
ID: 31290 Comment by: will at internet-search-engines-faq dot com Reported By: will dot spencer at internet-search-engines-faq Status: Feedback Bug Type: Compile Failure Operating System: FreeBSD 4.10-BETA #6 PHP Version: 4.3.10 New Comment: I have done a cvsup to RELENG_5, and rebuilt both the world and the kernel. I am now running kernel 5.3-STABLE. I receive the same general error when I make php4.3.10, but with a slightly different error message: In file included from /usr/include/rpc/rpc.h:59, from /usr/include/crypt.h:9, from /root/php-4.3.10/ext/standard/crypt.c:31: /usr/include/rpc/rpc_msg.h:66: error: syntax error before numeric constant *** Error code 1 Previous Comments: [2004-12-30 06:44:56] [EMAIL PROTECTED] First try rebuilding the world. [2004-12-25 01:04:15] will dot spencer at internet-search-engines-faq Description: I am experiencing something similar to bug report #6713, except with php 4.3.10. I cannot see an issue with FreeBSD's /usr/include/rpc/rpc_msg.h, which has remained unchanged since 1999/08/27. I see the same results when I use ./configure with no options or when I use ./configure with the entire set of desired options. Reproduce code: --- rpc_msg.h lines 53-70 are: enum msg_type { CALL=0, REPLY=1 }; enum reply_stat { MSG_ACCEPTED=0, MSG_DENIED=1 }; enum accept_stat { SUCCESS=0, PROG_UNAVAIL=1, PROG_MISMATCH=2, PROC_UNAVAIL=3, GARBAGE_ARGS=4, SYSTEM_ERR=5 }; Expected result: I was hoping that 4.3.10 would make with no warnings or errors. :) Actual result: -- # make /bin/sh /root/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/root/php-4.3.10/ext/standard/ -DPHP_ATOM_INC -I/root/php-4.3.10/include -I/root/php-4.3.10/main -I/root/php-4.3.10 -I/root/php-4.3.10/Zend -I/usr/local/include/mysql -I/usr/local/include -I/root/php-4.3.10/TSRM -g -O2 -prefer-pic -c /root/php-4.3.10/ext/standard/crypt.c -o ext/standard/crypt.lo In file included from /usr/include/rpc/rpc.h:56, from /usr/include/crypt.h:9, from /root/php-4.3.10/ext/standard/crypt.c:31: /usr/include/rpc/rpc_msg.h:64: syntax error before `0' *** Error code 1 -- Edit this bug report at http://bugs.php.net/?id=31290edit=1
#31290 [NEW]: Syntax error reported in /usr/include/rpc/rpc_msg.h
From: will dot spencer at internet-search-engines-faq dot com Operating system: FreeBSD 4.10-BETA #6 PHP version: 4.3.10 PHP Bug Type: Compile Failure Bug description: Syntax error reported in /usr/include/rpc/rpc_msg.h Description: I am experiencing something similar to bug report #6713, except with php 4.3.10. I cannot see an issue with FreeBSD's /usr/include/rpc/rpc_msg.h, which has remained unchanged since 1999/08/27. I see the same results when I use ./configure with no options or when I use ./configure with the entire set of desired options. Reproduce code: --- rpc_msg.h lines 53-70 are: enum msg_type { CALL=0, REPLY=1 }; enum reply_stat { MSG_ACCEPTED=0, MSG_DENIED=1 }; enum accept_stat { SUCCESS=0, PROG_UNAVAIL=1, PROG_MISMATCH=2, PROC_UNAVAIL=3, GARBAGE_ARGS=4, SYSTEM_ERR=5 }; Expected result: I was hoping that 4.3.10 would make with no warnings or errors. :) Actual result: -- # make /bin/sh /root/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/root/php-4.3.10/ext/standard/ -DPHP_ATOM_INC -I/root/php-4.3.10/include -I/root/php-4.3.10/main -I/root/php-4.3.10 -I/root/php-4.3.10/Zend -I/usr/local/include/mysql -I/usr/local/include -I/root/php-4.3.10/TSRM -g -O2 -prefer-pic -c /root/php-4.3.10/ext/standard/crypt.c -o ext/standard/crypt.lo In file included from /usr/include/rpc/rpc.h:56, from /usr/include/crypt.h:9, from /root/php-4.3.10/ext/standard/crypt.c:31: /usr/include/rpc/rpc_msg.h:64: syntax error before `0' *** Error code 1 -- Edit bug report at http://bugs.php.net/?id=31290edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31290r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31290r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31290r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31290r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31290r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31290r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31290r=needscript Try newer version: http://bugs.php.net/fix.php?id=31290r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31290r=support Expected behavior: http://bugs.php.net/fix.php?id=31290r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31290r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31290r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31290r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31290r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31290r=dst IIS Stability: http://bugs.php.net/fix.php?id=31290r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31290r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31290r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31290r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31290r=mysqlcfg