yacc应该是装好了
然后再make
出现了下列很多的错误提示
phpbbs.session.h:15: warning: parameter names (without types) in function declaration
phpbbs.session.h:16: warning: data definition has no type or storage class
phpbbs.session.h:16: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:16: warning: parameter names (without types) in function declaration
phpbbs.session.h:17: warning: data definition has no type or storage class
phpbbs.session.h:17: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:17: warning: parameter names (without types) in function declaration
phpbbs.session.h:18: warning: data definition has no type or storage class
phpbbs.session.h:18: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:18: warning: parameter names (without types) in function declaration
phpbbs.session.h:19: warning: data definition has no type or storage class
phpbbs.session.h:19: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:19: warning: parameter names (without types) in function declaration
phpbbs.session.h:20: warning: data definition has no type or storage class
phpbbs.session.h:20: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:20: warning: parameter names (without types) in function declaration
phpbbs.session.h:21: warning: data definition has no type or storage class
phpbbs.session.h:21: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:21: warning: parameter names (without types) in function declaration
phpbbs.session.h:22: warning: data definition has no type or storage class
phpbbs.session.h:22: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:22: warning: parameter names (without types) in function declaration
phpbbs.session.h:24: warning: data definition has no type or storage class
phpbbs.session.h:24: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:24: warning: parameter names (without types) in function declaration
phpbbs.session.h:25: warning: data definition has no type or storage class
phpbbs.session.h:25: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:25: warning: parameter names (without types) in function declaration
phpbbs.session.h:27: warning: data definition has no type or storage class
phpbbs.session.h:27: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.session.h:27: warning: parameter names (without types) in function declaration
In file included from phpbbslib.c:81:
phpbbs.system.h:6: warning: data definition has no type or storage class
phpbbs.system.h:6: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:6: warning: parameter names (without types) in function declaration
phpbbs.system.h:7: warning: data definition has no type or storage class
phpbbs.system.h:7: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:7: warning: parameter names (without types) in function declaration
phpbbs.system.h:8: warning: data definition has no type or storage class
phpbbs.system.h:8: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:8: warning: parameter names (without types) in function declaration
phpbbs.system.h:9: warning: data definition has no type or storage class
phpbbs.system.h:9: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:9: warning: parameter names (without types) in function declaration
phpbbs.system.h:10: warning: data definition has no type or storage class
phpbbs.system.h:10: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:10: warning: parameter names (without types) in function declaration
phpbbs.system.h:11: warning: data definition has no type or storage class
phpbbs.system.h:11: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:11: warning: parameter names (without types) in function declaration
phpbbs.system.h:12: warning: data definition has no type or storage class
phpbbs.system.h:12: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:12: warning: parameter names (without types) in function declaration
phpbbs.system.h:14: warning: data definition has no type or storage class
phpbbs.system.h:14: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.system.h:14: warning: parameter names (without types) in function declaration
In file included from phpbbslib.c:82:
phpbbs.user.h:6: warning: data definition has no type or storage class
phpbbs.user.h:6: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:6: warning: parameter names (without types) in function declaration
phpbbs.user.h:8: warning: data definition has no type or storage class
phpbbs.user.h:8: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:8: warning: parameter names (without types) in function declaration
phpbbs.user.h:9: warning: data definition has no type or storage class
phpbbs.user.h:9: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:9: warning: parameter names (without types) in function declaration
phpbbs.user.h:10: warning: data definition has no type or storage class
phpbbs.user.h:10: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:10: warning: parameter names (without types) in function declaration
phpbbs.user.h:11: warning: data definition has no type or storage class
phpbbs.user.h:11: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:11: warning: parameter names (without types) in function declaration
phpbbs.user.h:12: warning: data definition has no type or storage class
phpbbs.user.h:12: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:12: warning: parameter names (without types) in function declaration
phpbbs.user.h:14: warning: data definition has no type or storage class
phpbbs.user.h:14: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:14: warning: parameter names (without types) in function declaration
phpbbs.user.h:15: warning: data definition has no type or storage class
phpbbs.user.h:15: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:15: warning: parameter names (without types) in function declaration
phpbbs.user.h:16: warning: data definition has no type or storage class
phpbbs.user.h:16: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:16: warning: parameter names (without types) in function declaration
phpbbs.user.h:17: warning: data definition has no type or storage class
phpbbs.user.h:17: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:17: warning: parameter names (without types) in function declaration
phpbbs.user.h:19: warning: data definition has no type or storage class
phpbbs.user.h:19: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:19: warning: parameter names (without types) in function declaration
phpbbs.user.h:20: warning: data definition has no type or storage class
phpbbs.user.h:20: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:20: warning: parameter names (without types) in function declaration
phpbbs.user.h:21: warning: data definition has no type or storage class
phpbbs.user.h:21: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:21: warning: parameter names (without types) in function declaration
phpbbs.user.h:23: warning: data definition has no type or storage class
phpbbs.user.h:23: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:23: warning: parameter names (without types) in function declaration
phpbbs.user.h:24: warning: data definition has no type or storage class
phpbbs.user.h:24: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:24: warning: parameter names (without types) in function declaration
phpbbs.user.h:25: warning: data definition has no type or storage class
phpbbs.user.h:25: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.user.h:25: warning: parameter names (without types) in function declaration
In file included from phpbbslib.c:83:
phpbbs.vote.h:6: warning: data definition has no type or storage class
phpbbs.vote.h:6: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.vote.h:6: warning: parameter names (without types) in function declaration
phpbbs.vote.h:7: warning: data definition has no type or storage class
phpbbs.vote.h:7: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.vote.h:7: warning: parameter names (without types) in function declaration
phpbbs.vote.h:8: warning: data definition has no type or storage class
phpbbs.vote.h:8: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.vote.h:8: warning: parameter names (without types) in function declaration
phpbbs.vote.h:9: warning: data definition has no type or storage class
phpbbs.vote.h:9: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.vote.h:9: warning: parameter names (without types) in function declaration
phpbbs.vote.h:10: warning: data definition has no type or storage class
phpbbs.vote.h:10: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.vote.h:10: warning: parameter names (without types) in function declaration
phpbbs.vote.h:11: warning: data definition has no type or storage class
phpbbs.vote.h:11: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.vote.h:11: warning: parameter names (without types) in function declaration
phpbbs.vote.h:12: warning: data definition has no type or storage class
phpbbs.vote.h:12: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.vote.h:12: warning: parameter names (without types) in function declaration
In file included from phpbbslib.c:85:
phpbbs.wforum.h:6: warning: data definition has no type or storage class
phpbbs.wforum.h:6: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.wforum.h:6: warning: parameter names (without types) in function declaration
phpbbs.wforum.h:7: warning: data definition has no type or storage class
phpbbs.wforum.h:7: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.wforum.h:7: warning: parameter names (without types) in function declaration
phpbbs.wforum.h:8: warning: data definition has no type or storage class
phpbbs.wforum.h:8: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.wforum.h:8: warning: parameter names (without types) in function declaration
phpbbs.wforum.h:9: warning: data definition has no type or storage class
phpbbs.wforum.h:9: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbs.wforum.h:9: warning: parameter names (without types) in function declaration
phpbbslib.c:92: warning: data definition has no type or storage class
phpbbslib.c:92: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbslib.c:92: warning: parameter names (without types) in function declaration
phpbbslib.c:93: warning: data definition has no type or storage class
phpbbslib.c:93: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbslib.c:93: warning: parameter names (without types) in function declaration
phpbbslib.c:94: warning: data definition has no type or storage class
phpbbslib.c:94: warning: type defaults to 'int' in declaration of 'PHP_FUNCTION'
phpbbslib.c:94: warning: parameter names (without types) in function declaration
phpbbslib.c:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kbs_bbs_functions'
phpbbslib.c:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kbs_bbs_module_entry'
phpbbslib.c:171: warning: return type defaults to 'int'
phpbbslib.c: In function 'ZEND_GET_MODULE':
phpbbslib.c:171: error: storage class specified for parameter 'phpbbs_zap_buf'
phpbbslib.c:172: error: storage class specified for parameter 'ext_init'
phpbbslib.c:172: error: parameter 'ext_init' is initialized
phpbbslib.c:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
phpbbslib.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
phpbbslib.c:203: error: expected declaration specifiers before 'PHP_FUNCTION'
phpbbslib.c:221: error: expected declaration specifiers before 'PHP_FUNCTION'
phpbbslib.c:236: error: expected declaration specifiers before 'PHP_FUNCTION'
phpbbslib.c:247: error: expected declaration specifiers before 'PHP_MINIT_FUNCTION'
phpbbslib.c:369: error: expected declaration specifiers before 'PHP_MSHUTDOWN_FUNCTION'
phpbbslib.c:386: error: expected declaration specifiers before 'PHP_RINIT_FUNCTION'
phpbbslib.c:414: error: expected declaration specifiers before 'PHP_RSHUTDOWN_FUNCTION'
phpbbslib.c:434: error: expected declaration specifiers before 'PHP_MINFO_FUNCTION'
phpbbslib.c:172: error: declaration for parameter 'ext_init' but no such parameter
phpbbslib.c:171: error: declaration for parameter 'phpbbs_zap_buf' but no such parameter
phpbbslib.c:439: error: expected '{' at end of input
make[3]: *** [phpbbslib.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
好象是哪里的定义出了问题?
or?
--
FROM 218.78.236.141