From: ambarisha b [mailto:b.ambarisha () gmail com]
Sent: Tuesday, February 08, 2011 10:57 AM
To: Thomas Buchanan; nmap-dev () insecure org
Subject: Re: Version display patch
That's a linker error.pcap_version was not from the external
interface.In windows ,may be that internal library file isn't linked
with nmap.cc.Anyway I have removed the pcap_version and added
pcap_lib_version() which is part of the external interface.I setup a
windows test environment and it compiled fine.I have attached the
Thomas, can you confirm this ? Thanks.
On Mon, Feb 7, 2011 at 8:19 AM, Thomas Buchanan
<TBuchanan () thecompassgrp net> wrote:
>> -----Original Message-----
>> From: ambarisha b [mailto:b.ambarisha () gmail com]
>> Sent: Sunday, February 06, 2011 2:40 PM
>> To: Thomas Buchanan; nmap-dev () insecure org
>> Subject: Re: Version display patch
>> David, thanks for the revised patch.I have attached the patch
>> making the changes that you pointed out.
>> Thomas, thanks for pointing that out.Can you post the
error you got on
>> including dnet_winconfig.h ?
> I tried the updated patch you attached, but with the following
> #include "libdnet-stripped/include/config.h"
> Changed to:
> #include "libdnet-stripped/include/dnet_winconfig.h"
> This time I didn't get a compile error with
dnet_winconfig.h, but did
> get the following linking error:
> 4>nmap.obj : error LNK2001: unresolved external symbol "char const
> const pcap_version" (?pcap_version@@3QBDB)
> 4>.\Release/nmap.exe : fatal error LNK1120: 1 unresolved externals
> Any ideas?