PHP编译通过,make的时候报错

ude -g -O2 -fvisibility=hidden -c /usr/src/php-5.3.28/sapi/cgi/cgi_main.c -o sapi/cgi/cgi_main.lo
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c: In function ?.api_cgi_read_post?.
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c:509: error: ?.equest_body_fd?.undeclared (first use in this function)
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c:509: error: (Each undeclared identifier is reported only once
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c:509: error: for each function it appears in.)
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c:511: warning: initialization makes pointer from integer without a cast
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c:514: error: ?._RDONLY?.undeclared (first use in this function)
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c: At top level:
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c:541: error: conflicting types for ?.api_cgibin_getenv?
/usr/src/php-5.3.28/sapi/cgi/cgi_main.c:510: note: previous implicit declaration of ?.api_cgibin_getenv?.was here
make: *** [sapi/cgi/cgi_main.lo] Error 1

第1个回答  2014-04-30

可以借鉴一下ubuntu的话apt-get 和yum差不多的
应该是依赖库没装完整
第2个回答  2014-04-29
新手请用wamp

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网