【问题标题】:make tcpflood throws errormake tcpflood 抛出错误
【发布时间】:2017-09-06 04:02:32
【问题描述】:

我正在点击此链接 (http://www.rsyslog.com/how-to-use-tcpflood/) 向 rsyslog 发送消息。

我已经克隆了rsysloghttps://github.com/rsyslog/rsyslog.git的git仓库

点击链接 http://www.rsyslog.com/how-to-use-tcpflood/ 时,我在执行“make tcpflood”时遇到错误

root1@atratus06:~/Debashish/rsyslog/tests$ make tcpflood

cc     tcpflood.c   -o tcpflood
tcpflood.c:86:20: fatal error: config.h: No such file or directory
 #include "config.h"
                ^
compilation terminated.
make: *** [tcpflood] Error 1

你能帮我解决这个错误吗,非常感谢你的帮助。

【问题讨论】:

    标签: testing rsyslog


    【解决方案1】:

    我遇到了同样的问题。解决方案(或者更确切地说是解决方法)是编译 rsyslog ... 只需上一个目录,然后输入:

    ./configure(你可能需要在这里安装很多缺失的东西......)

    make

    make install

    成功完成所有这些操作后,您可以转到“tests”目录并再次输入“make tcpflood”。这次会成功的。

    【讨论】:

      猜你喜欢
      • 2017-04-06
      • 1970-01-01
      • 1970-01-01
      • 2016-02-13
      • 1970-01-01
      • 2015-06-09
      • 2015-06-03
      • 2012-10-28
      相关资源
      最近更新 更多