Home page logo
/

nmap-dev logo Nmap Development mailing list archives

NMAP 3.10ALPHA4 Win32 compile
From: Bo Cato <jcato73 () comcast net>
Date: Thu, 28 Nov 2002 12:05:01 -0500

I get the following. Tried tracking it down but can't get any
progress. The show stopper appears to be "Release/nmap.exe : fatal
error LNK1120: 4 unresolved externals".

I tried ensuring the directory path for lib and includes in MS VC++
6.0 also pointed to the ones inside nmap-3.10ALPHA4\mswin32 but no
joy.

Any ideas?

-Bo

--------------------Configuration: nmap - Win32 Release--------------------
Compiling...
winfix.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
wintcpip.cc
../nbase\nbase_ipv6.h(44) : warning C4005: 'AF_INET6' : macro redefinition
        E:\VC98\INCLUDE\winsock2.h(501) : see previous definition of 'AF_INET6'
charpool.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
idle_scan.cc
../nbase\nbase_ipv6.h(44) : warning C4005: 'AF_INET6' : macro redefinition
        E:\VC98\INCLUDE\winsock2.h(501) : see previous definition of 'AF_INET6'
main.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
nmap.cc
nmap_error.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
nmap_rpc.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
NmapOps.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
osscan.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
output.cc
../nbase\nbase_ipv6.h(44) : warning C4005: 'AF_INET6' : macro redefinition
        E:\VC98\INCLUDE\winsock2.h(501) : see previous definition of 'AF_INET6'
portlist.cc
../nbase\nbase_ipv6.h(44) : warning C4005: 'AF_INET6' : macro redefinition
        E:\VC98\INCLUDE\winsock2.h(501) : see previous definition of 'AF_INET6'
protocols.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
scan_engine.cc
../nbase\nbase_ipv6.h(44) : warning C4005: 'AF_INET6' : macro redefinition
        E:\VC98\INCLUDE\winsock2.h(501) : see previous definition of 'AF_INET6'
services.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
Target.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
TargetGroup.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
targets.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
tcpip.cc
../nbase\nbase_ipv6.h(44) : warning C4005: 'AF_INET6' : macro redefinition
        E:\VC98\INCLUDE\winsock2.h(501) : see previous definition of 'AF_INET6'
timing.cc
../nbase\nbase_ipv6.h(44) : warning C4005: 'AF_INET6' : macro redefinition
        E:\VC98\INCLUDE\winsock2.h(501) : see previous definition of 'AF_INET6'
utils.cc
E:\VC98\INCLUDE\winsock2.h(501) : warning C4005: 'AF_INET6' : macro redefinition
        ../nbase\nbase_ipv6.h(44) : see previous definition of 'AF_INET6'
Linking...
wintcpip.obj : error LNK2001: unresolved external symbol "int __cdecl readtcppacket(unsigned char const *,int)" 
(?readtcppacket@@YAHPBEH () Z)
idle_scan.obj : error LNK2001: unresolved external symbol "int __cdecl readtcppacket(unsigned char const *,int)" 
(?readtcppacket@@YAHPBEH () Z)
osscan.obj : error LNK2001: unresolved external symbol "int __cdecl readtcppacket(unsigned char const *,int)" 
(?readtcppacket@@YAHPBEH () Z)
scan_engine.obj : error LNK2001: unresolved external symbol "int __cdecl readtcppacket(unsigned char const *,int)" 
(?readtcppacket@@YAHPBEH () Z)
wintcpip.obj : error LNK2001: unresolved external symbol "int __cdecl readudppacket(unsigned char const *,int)" 
(?readudppacket@@YAHPBEH () Z)
osscan.obj : error LNK2001: unresolved external symbol "int __cdecl readudppacket(unsigned char const *,int)" 
(?readudppacket@@YAHPBEH () Z)
nmap.obj : error LNK2001: unresolved external symbol _strcasestr
tcpip.obj : error LNK2001: unresolved external symbol "char const * __cdecl ippackethdrinfo(unsigned char const 
*,unsigned int)" (?ippackethdrinfo@@YAPBDPBEI () Z)
Release/nmap.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

nmap.exe - 9 error(s), 20 warning(s)


---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



  By Date           By Thread  

Current thread:
  • NMAP 3.10ALPHA4 Win32 compile Bo Cato (Nov 28)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault