Freebsd 4.10,编译时候出现如下错误,有啥办法解决么?
Making all in phplib
[Compiling phpbbslib.c]
[Compiling .libs/phpbbslib.lo]
phpbbslib.c:24: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:24: initializer element is not constant
phpbbslib.c:24: (near initialization for `third_arg_force_ref_1111[1]')
phpbbslib.c:24: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:24: initializer element is not constant
phpbbslib.c:24: (near initialization for `third_arg_force_ref_1111[2]')
phpbbslib.c:24: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:24: initializer element is not constant
phpbbslib.c:24: (near initialization for `third_arg_force_ref_1111[3]')
phpbbslib.c:24: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:24: initializer element is not constant
phpbbslib.c:24: (near initialization for `third_arg_force_ref_1111[4]')
phpbbslib.c:25: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:25: initializer element is not constant
phpbbslib.c:25: (near initialization for `third_arg_force_ref_011[1]')
phpbbslib.c:25: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:25: initializer element is not constant
phpbbslib.c:25: (near initialization for `third_arg_force_ref_011[2]')
phpbbslib.c:25: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:25: initializer element is not constant
phpbbslib.c:25: (near initialization for `third_arg_force_ref_011[3]')
phpbbslib.c:26: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:26: initializer element is not constant
phpbbslib.c:26: (near initialization for `fourth_arg_force_ref_0001[1]')
phpbbslib.c:26: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:26: initializer element is not constant
phpbbslib.c:26: (near initialization for `fourth_arg_force_ref_0001[2]')
phpbbslib.c:26: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:26: initializer element is not constant
phpbbslib.c:26: (near initialization for `fourth_arg_force_ref_0001[3]')
phpbbslib.c:26: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:26: initializer element is not constant
phpbbslib.c:26: (near initialization for `fourth_arg_force_ref_0001[4]')
phpbbslib.c:27: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:27: initializer element is not constant
phpbbslib.c:27: (near initialization for `third_arg_force_ref_001[1]')
phpbbslib.c:27: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:27: initializer element is not constant
phpbbslib.c:27: (near initialization for `third_arg_force_ref_001[2]')
phpbbslib.c:27: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:27: initializer element is not constant
phpbbslib.c:27: (near initialization for `third_arg_force_ref_001[3]')
phpbbslib.c:28: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:28: initializer element is not constant
phpbbslib.c:28: (near initialization for `fifth_arg_force_ref_00011[1]')
phpbbslib.c:28: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:28: initializer element is not constant
phpbbslib.c:28: (near initialization for `fifth_arg_force_ref_00011[2]')
phpbbslib.c:28: `BYREF_NONE' undeclared here (not in a function)
phpbbslib.c:28: initializer element is not constant
phpbbslib.c:28: (near initialization for `fifth_arg_force_ref_00011[3]')
phpbbslib.c:28: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:28: initializer element is not constant
phpbbslib.c:28: (near initialization for `fifth_arg_force_ref_00011[4]')
phpbbslib.c:28: `BYREF_FORCE' undeclared here (not in a function)
phpbbslib.c:28: initializer element is not constant
phpbbslib.c:28: (near initialization for `fifth_arg_force_ref_00011[5]')
phpbbslib.c:297: warning: initialization from incompatible pointer type
phpbbslib.c:301: warning: initialization from incompatible pointer type
phpbbslib.c:311: warning: initialization from incompatible pointer type
phpbbslib.c:312: warning: initialization from incompatible pointer type
phpbbslib.c: In function `bbs_make_article_array':
phpbbslib.c:1404: warning: passing arg 4 of `add_assoc_string_ex' discards qualifiers from pointer target type
*** Error code 1
Stop in /usr/local/src/smthbbs-1.2.1/bbs2www/phplib.
*** Error code 1
Stop in /usr/local/src/smthbbs-1.2.1/bbs2www.
*** Error code 1
Stop in /usr/local/src/smthbbs-1.2.1/bbs2www.
*** Error code 1
Stop in /usr/local/src/smthbbs-1.2.1.
*** Error code 1
Stop in /usr/local/src/smthbbs-1.2.1.
--
FROM 61.49.198.*