hueel 发表于 2013-7-8 10:11:14

make [all] error错误

Q:安装nagios-plugins-1.4.16时make一直过不去报错如下
   check_http.c: In function ‘process_arguments’:
   check_http.c:312: error: ‘ssl_version’ undeclared (first use in this function)
   check_http.c:312: error: (Each undeclared identifier is reported only once
   check_http.c:312: error: for each function it appears in.)
   make: *** Error 1
   make: Leaving directory `/root/nagios-plugins-1.4.16/plugins'
   make: *** Error 1
   make: Leaving directory `/root/nagios-plugins-1.4.16'
   make: *** Error 2A:根据提示缺少ssl
   #yum -y install gd gd-devel *openssl*   安装完清除之前残余make信息,重新编译安装
    # make clean
      # ./configure --prefix=/usr/local/nagios
      # makeQ:安装nagios时执行make all 出现如下错误
   xtcmd_list.o: could not read symbols: File in wrong format
   collect2: ld returned 1 exit status
   make: *** Error 1
   make: Leaving directory `/var/tmp/nagios-3.2.3/cgi'
   make: *** Error 2
A: 出现此错误的原因是没有找到软件目录下的cmd.cgi文件,根据提示到cgi 目录下找cmd.cgi,发现只有cmd.c这个文件,于是修改了cmd.c为cmd.cgi 返回上级目录后,直接make clean && make all。问题就解决!

a13698822086 发表于 2013-7-8 19:25:27

月经不仅仅是女人的痛苦,也是男人的痛苦。

jxdiscuz 发表于 2013-7-9 11:10:09

找不到恐龙,就用蜥蜴顶

ABKYH 发表于 2013-7-10 07:21:34

过来看看的

痴心VS绝对 发表于 2013-7-10 22:50:58

漏洞与补丁齐飞,蓝屏共死机一色!

iyth888 发表于 2013-7-12 01:04:21

勿以坑小而不灌,勿以坑大而灌之。

fish3129 发表于 2013-7-12 15:32:09

支持一下:lol
页: [1]
查看完整版本: make [all] error错误