Nmap Development mailing list archives

Re: win32 build error with svn r9113


From: Kris Katterjohn <katterjohn () gmail com>
Date: Fri, 25 Jul 2008 22:02:38 -0500

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

jah wrote:
Hello,

I'm getting a build error for nmap:


Hey jah,

I recently added source address-binding and setting of IPv4 options to Nsock
(and updated Nmap and Ncat to use this), and added IPv4 options setting to
Nmap's connect() scan.

The problem was just that setsockopt() in Windows apparently has const char*
for it's argument, while on Linux it's void*.  I didn't cast the arguments, so
that's what caused the errors.  I've committed the fix (I haven't tested it on
Windows yet, but it was simple and compiled fine on my Linux box).

Sorry about that.

Regards,
jah


Thanks,
Kris Katterjohn

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

iQIVAwUBSIqTzP9K37xXYl36AQIlbhAAviuapSU1qJBB3v708QOlTeGsyqDUrOSW
22kR6PZk8CatKtOAeIjC+1HpbIczIaANUajk4RcMJhyYnqccpZeOGwEfJQyGvK+5
rWiT0B1Bmib8mHQbjoGHivopZdUqVD+kLW2PQ9fKW0YsIfkd3mHj75gYqquNzGPy
Tt5tu6+Bds4lg7e+Bqjk14kJeJbDg4QQIs3Ae0EXT+7uJ1YcIqKYKlqzjJSwfjPS
Rl07FiRQ7HcJYH02oMjW8SsUTNAJudVoiOV+jlqnBji0U7rFOusMivM6qzkhr6N3
nzQ5RvaZCQhSv4Qd0yR0w64GaONZfNaCQaUmDgq9dNBzTnVg16A5m4GgrqIV52Gb
FNkBElFz3mSlvcqh4NNtvBb6us/DzlCMIf6xgkImFp8dWwAteuq0k1hLk1ocKIKV
N9J80ac5hJyZvxB6xDDUTGfbhoYQjx9dE1FArNeSAlHmSBJYtNG3s6lSxqS5m7Rp
dX3EvLs2FM5ycVP678sREMdEeUvEjJ6N1mEYBTJWtIsLNypBUswJr2VNPe/gAJP0
dF+NEvRkuckzj+8AFWUrjoF2am4r/p0f85ci6ygsGho1GOdr4ppEzOlJCv2FEZZo
j5Bkpzx4Kc3MeWt9RX4a64YQ695pb4DK4bX3KgqxwPABJxL4ZJ68M1bL8iCT/QEn
XOPODnMsWmc=
=5tlJ
-----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: