Nmap Development mailing list archives

Re: problems with Qscan patch and Microsoft VC++ 2005 Express Edition


From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 11 Mar 2008 13:41:36 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DePriest, Jason R. wrote:
| I am attempting to compile nmap 4.52 source code with the qscan for
| 4.52 patch (http://hcsw.org/nmap/nmap-4.52-qscan.patch) applied to it
| on a Microsoft Windows XP Professional system with Microsoft Visual
| C++ 2005 Express Edition.
|
<snip>
|
| I get an error LNK2019, more specifically
| 7>nmap.obj : error LNK2019: unresolved external symbol "void __cdecl
| qscan(class Target * *,int,struct scan_lists *)"
| (?qscan@@YAXPAPAVTarget@@HPAUscan_lists@@@Z) referenced in function
| "int __cdecl nmap_main(int,char * * const)" (?nmap_main@@YAHHQAPAD@Z)
| 7>.\Release/nmap.exe : fatal error LNK1120: 1 unresolved externals
|
| The line causing the grief is line 446 in nmap.h
| void qscan(Target **targets, int num_targets, struct scan_lists *ports);
| added by the qscan patch.
|
|

Does qscan.cc actually get compiled and linked in?  Are the qscan files
in mswin32/nmap.vcproj?  That's my guess as to the culprit.

| If someone (Doug?) can look in to this, I'd be appreciative.
|
| I'm attaching the failure build log.
|
| Thanks!
|
| -Jason
|

Thanks,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBR9bSXv9K37xXYl36AQImDw//Xa0mokxNNzNTlcOwGiO5gM0/cGwMrKop
CHBG0oJMf38xXg8U4on8425LY5r7AAHXSjhqOyFSv2xCLRT2fZ2AFgSdqQJnPy1R
IwGlTZkOJKXIqTmqhmKbNb9+/0xg57lxeb53ag2A0kyjP7WvAqG1q34Ef0V7kck4
eqY1bLf3vIixXoysXVFRpwoo503o8pjDSsCQOTAAQybrqf7M2TjY9wLQTW8OIPpP
39OKlRg99v24Ob5+62tLDW2UsKGrHeGJlvXvYrCZZqgModzos0bRIRd2WBTS7cO5
mttmDutzN2QTGRWJBfCMcG5jjWkWKJWluF6cuf0WNHMPVAmZh2aeg615M04U20lR
fpM8GfSP0YKlL7qGNzw8PPzvBpowjOGwAwCHfWTf98tVDrIKBjuz1pZvjdciO57d
z7bZszWc/9ADJHua752kPacPCUk+1lz9NQkDndCiQVXii07RtlDI/GJt0GSdNnAz
V+CIApHyfFF8zG6L/8FZwST/jHvlG8hMwRonuUYPkQYygDiHnw4GmzLedfWM8kVG
gTNiD+a5QV8AnjELZtERECEN2Dutfh1UCmyfBpD8A2XWYNAS3Wc7Av0EQJ3kIS8e
ElkP6z1uTodRNn8Ytxqa7B/1r3+TiNqficEzg74vEfbQi87iYcV7u/w6bNEkJHv9
pKV/8PcYZf0=
=Q0AU
-----END PGP SIGNATURE-----

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


Current thread: