You're right.
See the page
http://www.mail-archive.com/[email protected]/msg00239.html
for a previous discussion on this subject.

Loris

----- Original Message -----
From: "Shawn Behrens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 06, 2002 3:41 PM
Subject: [WinPcap-users] Using winpcap in Cygwin: Link-time errors about
optind and optarg


> Hi,
>
> I'm currently amusing myself with gettings nessus up and running on my
> Cygwin system. I got nessus-core compiled, but I get errors at linktime:
>
> /usr/lib/libcygwin.a(getopt.o)(.data+0x4): multiple definition of `optind'
> /usr/lib/libwpcap.a(d000028.o)(.text+0x0): first defined here
> /usr/lib/libcygwin.a(getopt.o)(.bss+0x4): multiple definition of `optarg'
> /usr/lib/libwpcap.a(d000026.o)(.text+0x0): first defined here
>
> To install, I have copied libwpcap.a to /usr/lib, copied Packet.a to
> /usr/lib/libPacket.a , and copied the .h files to /usr/include. And
> installed WinPCap binaries/drivers, of course. :)
>
> So, hmm, before I start hunting through winpcap code, I thought I'd ask:
> Has someone else run into this conflict before? Is there a fix (in CVS,
> mayhap? :)
>
> Cheers
> Shawn
>
>

Reply via email to