Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Pcap linking on VC2008?
From: " mixter () gmail com" <mixter () gmail com>
Date: Thu, 26 Jun 2008 09:29:37 +0200

I'm compiling my ncat project with the same, up to date winpcap
folder as in nmap, also with the same DelayLoadDLL and .lib Linker
commands regarding pcap, but am still getting these errors...

Any ideas, anyone?

Thanks

1>Linking...
1>LINK : warning LNK4199: /DELAYLOAD:wpcap.dll ignored; no imports found
from wpcap.dll
1>LINK : warning LNK4199: /DELAYLOAD:iphlpapi.dll ignored; no imports found
from iphlpapi.dll
1>nsock.lib(nsock_iod.obj) : error LNK2019: unresolved external symbol
_pcap_close referenced in function _nsi_delete
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_setnonblock referenced in function _nsock_pcap_open
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_setmintocopy referenced in function _nsock_pcap_open
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_open_live referenced in function _nsock_pcap_open
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_freecode referenced in function "char * __cdecl
nsock_pcap_set_filter(struct pcap *,char const *,char const *)"
(?nsock_pcap_set_filter@@YAPADPAUpcap@@PBD1 () Z)
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_setfilter referenced in function "char * __cdecl
nsock_pcap_set_filter(struct pcap *,char const *,char const *)"
(?nsock_pcap_set_filter@@YAPADPAUpcap@@PBD1 () Z)
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_geterr referenced in function "char * __cdecl
nsock_pcap_set_filter(struct pcap *,char const *,char const *)"
(?nsock_pcap_set_filter@@YAPADPAUpcap@@PBD1 () Z)
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_compile referenced in function "char * __cdecl
nsock_pcap_set_filter(struct pcap *,char const *,char const *)"
(?nsock_pcap_set_filter@@YAPADPAUpcap@@PBD1 () Z)
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_lookupnet referenced in function "char * __cdecl
nsock_pcap_set_filter(struct pcap *,char const *,char const *)"
(?nsock_pcap_set_filter@@YAPADPAUpcap@@PBD1 () Z)
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_datalink referenced in function "int __cdecl
nsock_pcap_get_l3_offset(struct pcap *,int *)" (?nsock_pcap_get_l3_offset@
@YAHPAUpcap@@PAH () Z)
1>nsock.lib(nsock_pcap.obj) : error LNK2019: unresolved external symbol
_pcap_next_ex referenced in function "int __cdecl do_actual_pcap_read(struct
msevent *)" (?do_actual_pcap_read@@YAHPAUmsevent@@@Z)
1>.\Debug\ncat.exe : fatal error LNK1120: 11 unresolved externals

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]