ID: 31290
Updated by: [email protected]
Reported By: will dot spencer at internet-search-engines-faq
-Status: Feedback
+Status: No Feedback
Bug Type: Compile Failure
Operating System: FreeBSD 4.10-BETA #6
PHP Version: 4.3.10
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2004-12-30 18:39:59] will at internet-search-engines-faq dot com
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
------------------------------------------------------------------------
[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=31290&edit=1