编译PHP5.3.29 For windows时 nmake失败

hhmmdd 2015-01-19 09:18:26
我按照网上教程https://wiki.php.net/internals/windows/stepbystepbuild的步骤编译php源代码,在nmake阶段遇到下列问题:

...
zend_ini.c
zend_ini_parser.c
bison.simple(558) : error C2065: 'yytname' : undeclared identifier
bison.simple(560) : error C2065: 'yytname' : undeclared identifier
bison.simple(560) : error C2109: subscript requires array or pointer type
bison.simple(560) : error C2168: 'strlen' : too few actual parameters for intrinsic function
bison.simple(570) : error C2065: 'yytname' : undeclared identifier
bison.simple(574) : error C2065: 'yytname' : undeclared identifier
bison.simple(574) : error C2109: subscript requires array or pointer type
bison.simple(574) : error C2168: 'strcat' : too few actual parameters for intrinsic function
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\cl.exe"' : return code '0x2'
Stop.

不知是否有哪位大侠能帮助解决或指点个方向,不胜感激。
PS: bison的版本是2.4
c:\php-sdk\phpdev\vc9\x86\php-5.3.29-src>bison -V
bison (GNU Bison) 2.4.1
Written by Robert Corbett and Richard Stallman.
...全文
153 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

20,359

社区成员

发帖
与我相关
我的任务
社区描述
“超文本预处理器”,是在服务器端执行的脚本语言,尤其适用于Web开发并可嵌入HTML中。PHP语法利用了C、Java和Perl,该语言的主要目标是允许web开发人员快速编写动态网页。
phpphpstorm 技术论坛(原bbs)
社区管理员
  • 开源资源社区
  • phpstory
  • xuzuning
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧