Home page logo
/

nmap-dev logo Nmap Development mailing list archives

RE: Not able to compile nmap-update project on win8 64
From: Robert Nicholls <robert () robnicholls co uk>
Date: Thu, 20 Mar 2014 22:18:28 +0000

It looks like newer versions of the library may have different project/workspace filenames (I'm not sure offhand which 
version David used for the win32 repository). I'd suggest using an older version, if you can find the right downloads, 
that use the same filename as it's possible that the newer version may pose different and further challenges (so the 
instructions may not work).

Try to open the *.dsw file and I think it will try to convert the projects, but you'll have to open it in Visual C++ 
2008 as there's a known bug that prevents conversion from VC++6 to VC++ 2010: 
http://connect.microsoft.com/VisualStudio/feedback/details/595054/visual-c-2010-express-cannot-open-visual-c-6-0-projects

I don't think anyone here has tried compiling nmap-update with 2010 Express. You may be able to get a 64-bit binary out 
of 2008 (and would then need the 2008 x64 redistributable), or you may be able to convert it to 2008 then convert it to 
2010.

I might find time to give this a try over the weekend, but I figure this part could be difficult to get working. I'll 
probably try to get it converted twice to get it into 2010 so all the executables use the 2010 x64 redistributable, but 
there may be a good reason why David only got this working with 2008.

Rob

On 20 Mar 2014 15:15, Vikram Salunkhe <vikram.salunkhe () continuum net> wrote:

Hi Rob, 


I tried the steps mentioned in the libsvn-upgrade.txt as well as other sources without luck.Because most of the 
depedent source is in 32 bit format so I am finding it difficult to fit for 64 bt windows. 
Most of the steps I was able to make progress except 

Open C:\SVN\src-trunk\subversion_msvc.dsw in Visual C++ 2008. Upgrade format. 

I tried to download the source from various locations but I could not able to find subversion_msvc.dsw.Is there any 
dependency on the below command? 

$ /cygdrive/c/Python27/python gen-make.py -t vcproj --with-apr=C:\\svn\\apr --with-apr-util=C:\\svn\\apr-util 
--with-apr-iconv=C:\\svn\\apr-iconv --with-openssl=C:\\cygwin\\home\\david\\nmap\\mswin32\\OpenSSL --disable-shared 

I tried to run above command in Cygwin with my paths but without luck.Hope I am on right path. 

Regards, 

Vikram. 
-----Original Message----- 
From: Robert Nicholls [mailto:robert () robnicholls co uk] 
Sent: Thursday, March 20, 2014 2:24 PM 
To: Vikram Salunkhe 
Cc: dev () nmap org; fyodor () nmap org 
Subject: Re: Not able to compile nmap-update project on win8 64 

I'm still not at a computer to double check this, but I believe there are instructions on how to upgrade/build the 
necessary files at "nmap-mswin32-aux/libsvn-upgrade.txt". If you grab those (or the latest) files and configure an 
x64 release build it might work. 

I didn't bother before as I believe the ability to use nmap-update is still limited to a handful of authorised users. 

Rob 

On 20 Mar 2014 08:00, Vikram Salunkhe <vikram.salunkhe () continuum net> wrote: 

Hi , 
While compiling nmap on win8 64 I am getting below errors.I know the reason as libsvn libraries available at 
nmap-win32-aux are 32 bit specific.I searched for 64 bit libs but I did not find any.Could you provide me a link to 
get 64 bit specific libs. 

Errors: 
2>------ Build started: Project: nmap-update, Configuration: Debug x64 
2>------ nmap-update.obj : error LNK2019: unresolved external symbol 
2>svn_cmdline_init referenced in function main nmap-update.obj : error 
2>LNK2019: unresolved external symbol svn_handle_error2 referenced in 
2>function stage_channel nmap-update.obj : error LNK2019: unresolved 
2>external symbol apr_pool_destroy referenced in function checkout_svn 
2>nmap-update.obj : error LNK2019: unresolved external symbol 
2>svn_client_checkout2 referenced in function checkout_svn 
2>nmap-update.obj : error LNK2019: unresolved external symbol 
2>svn_config_set_bool referenced in function checkout_svn 
2>nmap-update.obj : error LNK2019: unresolved external symbol 
2>apr_hash_get referenced in function checkout_svn svn_auth.obj : 
2>error LNK2001: unresolved external symbol apr_hash_get 
2>nmap-update.obj : error LNK2019: unresolved external symbol 
2>svn_config_get_config referenced in function checkout_svn 
2>nmap-update.obj : error LNK2019: unresolved external symbol 
2>svn_config_ensure referenced in function checkout_svn 
2>nmap-update.obj : error LNK2019: unresolved external symbol 
2>svn_client_create_context referenced in function checkout_svn 
2>nmap-update.obj : error LNK2019: unresolved external symbol 
2>svn_pool_create_ex referenced in function checkout_svn svn_auth.obj 
2>: error LNK2019: unresolved external symbol apr_palloc referenced in 
2>function simple_prompt_first_creds svn_auth.obj : error LNK2019: 
2>unresolved external symbol apr_pstrdup referenced in function 
2>prompt_for_simple_creds svn_auth.obj : error LNK2019: unresolved 
2>external symbol svn_error_clear referenced in function 
2>prompt_for_simple_creds svn_auth.obj : error LNK2019: unresolved 
2>external symbol svn_config_read_auth_data referenced in function 
2>prompt_for_simple_creds svn_auth.obj : error LNK2019: unresolved 
2>external symbol svn_config_get_bool referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_set_parameter referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_open referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_ssl_client_cert_pw_prompt_provider referenced in 
2>function nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_cmdline_auth_ssl_client_cert_pw_prompt referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_ssl_client_cert_prompt_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_cmdline_auth_ssl_client_cert_prompt referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_ssl_server_trust_prompt_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_cmdline_auth_ssl_server_trust_prompt referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_username_prompt_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_cmdline_auth_username_prompt referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_cmdline_auth_simple_prompt referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_ssl_client_cert_pw_file_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_ssl_client_cert_file_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_ssl_server_trust_file_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_windows_ssl_server_trust_provider referenced in 
2>function nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_username_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_simple_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>apr_array_push referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>svn_auth_get_windows_simple_provider referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>svn_auth.obj : error LNK2019: unresolved external symbol 
2>apr_array_make referenced in function 
2>nmap_update_svn_cmdline_setup_auth_baton 
2>.\Debug\nmap-update.exe : fatal error LNK1120: 35 unresolved 
2>externals 


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


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


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


  By Date           By Thread  

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