Nmap Development mailing list archives

Windows build error related to LPEG


From: Jacek Wielemborek <d33tah () gmail com>
Date: Wed, 03 Sep 2014 16:25:28 +0200

List,

While testing my recent patches I stumbled upon a build error that I
attach at the end of the e-mail.

Cheers,
Jacek Wielemborek

  scan_engine_raw.cc
  service_scan.cc
  services.cc
  Generating Code...
  Compiling...
  targets.cc
  tcpip.cc
  timing.cc
  traceroute.cc
  utils.cc
  xml.cc
  winfix.cc
  Generating Code...
ResourceCompile:
  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /D
_VC80_UPGRADE=0x0710 /l"0x0409" /nologo /fo".\Debug\nmap.res" nmap.rc
Link:
  C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe
/ERRORREPORT:QUEUE /OUT:".\Debug\nmap.exe" /NOLOGO /LIBPATH:lib
/LIBPATH:..\liblua /LIBPATH:..\libpcre /LIBPATH:..\nsock
/LIBPATH:..\nbase /LIBPATH:"..\libdnet-stripped" /LIBPATH:../libnetutil
/LIBPATH:"..\..\nmap-
mswin32-aux\OpenSSL\lib" /LIBPATH:..\liblinear liblua.lib nsock.lib
libpcre.lib nbase.lib "libdnet-stripped.lib" liblinear.lib ws2_32.lib
IPHlpAPI.Lib wpcap.lib packet.lib advapi32.lib libeay32.lib ssleay32.lib
shell32.lib libnetutil.lib Delayimp.lib /DELAYLOAD:packet.dll /DELAYLOAD:
wpcap.dll /DELAYLOAD:iphlpapi.dll /MANIFEST
/ManifestFile:".\Debug\nmap.exe.intermediate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG
/PDB:".\Debug/nmap.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE:NO
/IMPLIB:".\Debug\nmap.lib" /MACHINE:X86 .\Debug\nmap.res
  .\Debug/charpool.obj
  .\Debug/FingerPrintResults.obj
  .\Debug/FPEngine.obj
  .\Debug/FPmodel.obj
  .\Debug/idle_scan.obj
  .\Debug/MACLookup.obj
  .\Debug/main.obj
  .\Debug/nmap.obj
  .\Debug/nmap_dns.obj
  .\Debug/nmap_error.obj
  .\Debug/nmap_ftp.obj
  .\Debug/nmap_tty.obj
  .\Debug/NmapOps.obj
  .\Debug/NmapOutputTable.obj
  .\Debug/nse_binlib.obj
  .\Debug/nse_bit.obj
  .\Debug/nse_debug.obj
  .\Debug/nse_fs.obj
  .\Debug/nse_main.obj
  .\Debug/nse_utility.obj
  .\Debug/nse_nmaplib.obj
  .\Debug/nse_nsock.obj
  .\Debug/nse_dnet.obj
  .\Debug/nse_openssl.obj
  .\Debug/nse_pcrelib.obj
  .\Debug/nse_ssl_cert.obj
  .\Debug/osscan.obj
  .\Debug/osscan2.obj
  .\Debug/output.obj
  .\Debug/payload.obj
  .\Debug/portlist.obj
  .\Debug/portreasons.obj
  .\Debug/protocols.obj
  .\Debug/scan_engine.obj
  .\Debug/scan_engine_connect.obj
  .\Debug/scan_engine_raw.obj
  .\Debug/service_scan.obj
  .\Debug/services.obj
  .\Debug/Target.obj
  .\Debug/TargetGroup.obj
  .\Debug/targets.obj
  .\Debug/tcpip.obj
  .\Debug/timing.obj
  .\Debug/traceroute.obj
  .\Debug/utils.obj
  .\Debug/xml.obj
  .\Debug/winfix.obj

"C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\libdnet-stripped\libdnet-stripped.lib"
  "C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\liblua\liblua.lib"
  "C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\libpcre\libpcre.lib"
  "C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\nbase\nbase.lib"
  "C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\nsock\nsock.lib"
nse_main.obj : error LNK2001: unresolved external symbol "int __cdecl
luaopen_lpeg(struct lua_State *)" (?luaopen_lpeg@@YAHPAUlua_State@@@Z)
[C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\mswin32\nmap.vcxproj]
.\Debug\nmap.exe : fatal error LNK1120: 1 unresolved externals
[C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\mswin32\nmap.vcxproj]
Done Building Project
"C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\mswin32\nmap.vcxproj"
(default targets) -- FAILED.
Done Building Project
"C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\mswin32\nmap.vcxproj.metaproj"
(default targets) -- FAILED.
Done Building Project
"C:\cygwin\home\d33tah\shared\ncat\nmap-refactor\mswin32\nmap.sln"
(default targets) -- FAILED.

Build FAILED.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: