美文网首页
移植boa出现的问题

移植boa出现的问题

作者: personneye | 来源:发表于2019-01-02 13:22 被阅读0次

小型系统的轻量级WebServer主要有:lighttpd、thttpd、shttpd和boa等等。移植参考(https://blog.csdn.net/sdvch/article/details/38967655 )

解压命令:tar -zvxf memcached-1.4.34.tar.gz 

问题1:

  gzip: stdin: not in gzip format

  tar: Child returned status 1

  tar: Error is not recoverable: exiting now

  解决办法:  tar -vxf boa-0.94.13.tar

问题2:修改完Makefile后执行make 

    提示:make: yacc: Command not found

     Makefile:59: recipe for target 'y.tab.c' failed

     make: *** [y.tab.c] Error 127

      解决办法:   apt-get install bison  

                         apt-get install flex

问题3: 提示错误util.c:100:1: error: pasting "t" and "->"does not give a valid preprocessing token make: *** [util.o]

     解决办法: 修改 src/compat.h  

找到#defineTIMEZONE_OFFSET(foo) foo##->tm_gmtoff 

修改成#defineTIMEZONE_OFFSET(foo) (foo)->tm_gmtoff

感谢参考:

https://www.cnblogs.com/llxx07/p/6409384.html

https://blog.csdn.net/xdw1985829/article/details/6672742

https://blog.csdn.net/zxhio/article/details/80312316

相关文章

  • 移植boa出现的问题

    小型系统的轻量级WebServer主要有:lighttpd、thttpd、shttpd和boa等等。移植参考(ht...

  • 嵌入式11月3日总结。

    今天学习了boa服务器的移植,在Linux系统下安装boa服务器。修改对应的参数。在移植了对应的网页设置。上午对应...

  • 11.3

    今天学习了boa服务器的移植,在Linux系统下安装boa服务器,来修改参数。上午按照老师发的表修改了boa服务器...

  • 11.3学习总结

    今天上午按照老师下发的步骤自己进行boa的移植2下午通过用linux系统实现控制灯的开关,还需移植两个配置文件,之...

  • 11.3学习总结

    今天我们学习了boa服务器的移植,我们照着老师发的过程一步一步进行操作的,由于自己的马虎,走了不少弯路,在老师和...

  • 第一笔投资

    买入BOA股票,因为巴菲特F13重仓买入了BOA和chase,chase太贵,所以买BOA。

  • OC: 错误之-- Function definition de

    在之前写了很多分类, 方便后面项目的移植和使用.但是在升级了 Xcode 10.1 移植的时候出现了一个问题 Wh...

  • openvswitch-2.9.6移植,内核版本:linux-3

    移植中出现问题:unknown symbol gre_cisco_register 官方文档给出了以下提示: To...

  • Nov 30

    Today I get a boa with white and black. I was on my boa o...

  • 搭建boa服务器

    环境 Ubuntu16.04 创建目录 boa源码包准备 1.下载boa源程序包: boa服务器的配置编译 2.找...

网友评论

      本文标题:移植boa出现的问题

      本文链接:https://www.haomeiwen.com/subject/gkkzlqtx.html