Nmap Development mailing list archives
Re: Compiling Nmap on Visual C++ 2005 Express
From: Gisle Vanem <giva () bgnett no>
Date: Mon, 28 Nov 2005 05:26:55 +0100
"kx" <kxmail () gmail com> wrote:
I just compiled the new alpha as well. Seems to be due to the following in pcre.h /* Win32 uses DLL by default; it needs special stuff for exported functions. */ #ifdef _WIN32 # ifdef PCRE_DEFINITION # ifdef DLL_EXPORT # define PCRE_DATA_SCOPE __declspec(dllexport) # endif # else # ifndef PCRE_STATIC # define PCRE_DATA_SCOPE extern __declspec(dllimport) # endif # endif #endif Which should be: /* Win32 uses DLL by default; it needs special stuff for exported functions. */ /* Removed -- Fyodor */ Just remove those defines and everything should work fine
Or do the obvious; add PCRE_STATIC to the CFLAGS. --gv _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- Compiling Nmap on Visual C++ 2005 Express kx (Nov 21)
- Re: Compiling Nmap on Visual C++ 2005 Express Fyodor (Nov 21)
- Re: Compiling Nmap on Visual C++ 2005 Express kx (Nov 21)
- RE: Compiling Nmap on Visual C++ 2005 Express Sina Bahram (Nov 27)
- Re: Compiling Nmap on Visual C++ 2005 Express kx (Nov 27)
- Re: Compiling Nmap on Visual C++ 2005 Express Gisle Vanem (Nov 27)
- RE: Compiling Nmap on Visual C++ 2005 Express Sina Bahram (Nov 27)
- Re: Compiling Nmap on Visual C++ 2005 Express Fyodor (Nov 27)
- RE: Compiling Nmap on Visual C++ 2005 Express Sina Bahram (Nov 27)
- Re: Compiling Nmap on Visual C++ 2005 Express Fyodor (Nov 21)