<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV style="FONT: 9pt 宋体">----- 原始邮件 -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>发件人:</B> <A
title=wormwang@online.sh.cn href="mailto:wormwang@online.sh.cn">wormwang</A>
</DIV>
<DIV><B>收件人:</B> <A title=cygwin-developers@cygwin.com
href="mailto:cygwin-developers@cygwin.com">cygwin-developers@cygwin.com</A>
</DIV>
<DIV><B>发送时间:</B> 2002年5月30日 10:49</DIV>
<DIV><B>主题:</B> Error from Porting the Nessus 1.2 to cygwin</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><BR></DIV>
<DIV><FONT size=2>Recently I have tried to port the Nessus 1.2 to cygwin 1.3.10
under Win2ksp2</FONT></DIV>
<DIV><FONT size=2>I succeed in building the nessus-libraries and libnasl with
winpcap library!</FONT></DIV>
<DIV><FONT size=2>But I encouter linkage error when I building the
nessus-core</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT size=2>-------</FONT></DIV>
<DIV><FONT size=2>gcc -g -O2 `sh ./cflags` -c rtree.c<BR>rtree.c: In
function `rtree_free':<BR>rtree.c:266: warning: passing arg 1 of `bzero' from
incompatible pointer type<BR>gcc -g -O2 `sh ./cflags` -c
pluginlaunch.c<BR>pluginlaunch.c: In function
`process_mgr_sighand_term':<BR>pluginlaunch.c:86: warning: passing arg 1 of
`bzero' from incompatible pointer type<BR>pluginlaunch.c: In function
`update_running_processes':<BR>pluginlaunch.c:153: warning: passing arg 1 of
`bzero' from incompatible pointer type<BR>pluginlaunch.c: In function
`pluginlaunch_init':<BR>pluginlaunch.c:322: warning: passing arg 1 of `bzero'
from incompatible pointer type<BR>pluginlaunch.c: In function
`pluginlaunch_stop':<BR>pluginlaunch.c:350: warning: passing arg 1 of `bzero'
from incompatible pointer type<BR>gcc -g -O2 `sh ./cflags` -c
locks.c<BR>gcc -g -O2 `sh ./cflags` -c dirutils.c<BR>gcc -g
-O2 `sh ./cflags` -c md5.c<BR>gcc -g -O2 `sh ./cflags`
-c plugs_hash.c<BR>gcc -g -O2 `sh ./cflags` -c
pluginupload.c<BR>gcc `sh ./cflags` auth.o attack.o comm.o log.o
rules.o sighand.o threads.o users.o utils.o ntp_10.o ntp_11.o parser.o
preferences.o piic.o pluginload.o plugs_deps.o nasl_plugins.o nes_plugins.o
perl_plugins.o crypto-layer.o plugs_req.o rasort.o nessusd.o save_tests.o
save_kb.o detached.o rtree.o pluginlaunch.o locks.o dirutils.o md5.o
plugs_hash.o pluginupload.o -o nessusd `/usr/local/bin/nasl-config --libs`
`/usr/local/bin/nessus-config --libs`
<BR>/usr/lib/libcygwin.a(getopt.o)(.bss+0x4): multiple definition of
`optarg'<BR>/usr/local/lib/libwpcap.a(d000026.o)(.text+0x0): first defined
here<BR>collect2: ld returned 1 exit status<BR>make[1]: *** [nessusd] Error
1<BR>make[1]: Leaving directory
`/cygdrive/d/Security/Nessus/nessus-core/nessusd'<BR>make: *** [server] Error
2</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>-------------------------------------------</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Is there a conflict between libwpcap and
libcygwin?</FONT></DIV>
<DIV><FONT size=2>Attachment is all my build log.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Sincerely<BR>王伟珣<BR>Wales Wang</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>013910559290<BR><A
href="mailto:wormwang@online.sh.cn">wormwang@online.sh.cn</A><BR><A
href="mailto:wormwang@marsec.net">wormwang@marsec.net</A><BR><A
href="http://freesoft.online.sh.cn">http://freesoft.online.sh.cn</A></FONT></DIV></BODY></HTML>