Echo Reply: 192.168.100.100 -> 192.168.100.1
如果上面的内容还不能解决您的问题,可以与我qq联系.qq:297020555
出错:configure: error: libdnsres not found
解决办法:
wget http://www.monkey.org/~provos/libdnsres-0.1a.tar.gz
tar zxvf libdnsres-0.1a.tar.gz
cd libdnsres-0.1a
./configure ;make;make install
错误:
yacc -d ./parse.y
make: yacc: Command not found
make: *** [parse.c] Error 127
解决办法:
yum install -y byacc
编译libpcap时出错:
configure: error: Your operating system''s lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .
问题:
缺少flex包
解决办法:
yum install -y flex
出错:
make all-recursive
make[1]: Entering directory `/home/jlawre23/Desktop/honeyd-1.5c''
Making all in .
make[2]: Entering directory `/home/jlawre23/Desktop/honeyd-1.5c''
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/include -O2 -Wall -g -DPATH_HONEYDINCLUDE=""/usr/local/include/honeyd"" -DPATH_HONEYDDATA=""/usr/local/share/honeyd"" -DPATH_HONEYDLIB=""/usr/local/lib/honeyd"" -DHONEYD_PLUGINS_DECLARE="" -DHONEYD_PLUGINS="" -DPATH_RRDTOOL="""" -c honeyd.c
In file included from honeyd.c:97:
tagging.h:89: error: expected declaration specifiers or ‘...’ before ‘(’ token
tagging.h:89: error: expected declaration specifiers or ‘...’ before ‘(’ token
In file included from stats.h:36,
from honeyd.c:98:
./compat/sha1.h:23: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:23: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:26: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:28: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:30: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:32: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:35: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:35: warning: ‘__bounded__’ attribute directive ignored
make[2]: *** [honeyd.o] Error 1
make[2]: Leaving directory `/home/jlawre23/Desktop/honeyd-1.5c''
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jlawre23/Desktop/honeyd-1.5c''
make: *** [all] Error 2
解决办法:
卸掉其他版本的libevent包,安装本文提供的libevent-1.4.14b-stable.
本文出自 “netcat” 博客,请务必保留此出处http://297020555.blog.51cto.com/1396304/538183
|