Error from Porting the Nessus 1.2 to cygwin

wormwang wormwang@online.sh.cn
Thu May 30 04:24:00 GMT 2002


----- ԭʼÓʼþ ----- 
·¢¼þÈË: wormwang 
ÊÕ¼þÈË: cygwin-developers@cygwin.com 
·¢ËÍʱ¼ä: 2002Äê5ÔÂ30ÈÕ 10:49
Ö÷Ìâ: Error from Porting the Nessus 1.2 to cygwin




Recently I have tried to port the Nessus 1.2 to cygwin 1.3.10 under Win2ksp2
I succeed in building the nessus-libraries and libnasl with winpcap library!
But I encouter linkage error when I building the nessus-core


-------
gcc -g -O2  `sh ./cflags`  -c rtree.c
rtree.c: In function `rtree_free':
rtree.c:266: warning: passing arg 1 of `bzero' from incompatible pointer type
gcc -g -O2  `sh ./cflags`  -c pluginlaunch.c
pluginlaunch.c: In function `process_mgr_sighand_term':
pluginlaunch.c:86: warning: passing arg 1 of `bzero' from incompatible pointer type
pluginlaunch.c: In function `update_running_processes':
pluginlaunch.c:153: warning: passing arg 1 of `bzero' from incompatible pointer type
pluginlaunch.c: In function `pluginlaunch_init':
pluginlaunch.c:322: warning: passing arg 1 of `bzero' from incompatible pointer type
pluginlaunch.c: In function `pluginlaunch_stop':
pluginlaunch.c:350: warning: passing arg 1 of `bzero' from incompatible pointer type
gcc -g -O2  `sh ./cflags`  -c locks.c
gcc -g -O2  `sh ./cflags`  -c dirutils.c
gcc -g -O2  `sh ./cflags`  -c md5.c
gcc -g -O2  `sh ./cflags`  -c plugs_hash.c
gcc -g -O2  `sh ./cflags`  -c pluginupload.c
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`       
/usr/lib/libcygwin.a(getopt.o)(.bss+0x4): multiple definition of `optarg'
/usr/local/lib/libwpcap.a(d000026.o)(.text+0x0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [nessusd] Error 1
make[1]: Leaving directory `/cygdrive/d/Security/Nessus/nessus-core/nessusd'
make: *** [server] Error 2

-------------------------------------------

Is there a conflict between libwpcap and libcygwin?
Attachment is all my build log.


Sincerely
Íõΰ«‘
Wales Wang

013910559290
wormwang@online.sh.cn
wormwang@marsec.net
http://freesoft.online.sh.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020530/ba2ec21a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makenesscore.log
Type: application/octet-stream
Size: 3366 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020530/ba2ec21a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makenasl.log
Type: application/octet-stream
Size: 16090 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020530/ba2ec21a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makelib.log
Type: application/octet-stream
Size: 21619 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020530/ba2ec21a/attachment-0002.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list