Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos

Nmap Development: Re: getopt1.c in nbase.vcproj

Re: getopt1.c in nbase.vcproj

From: Kris Katterjohn <katterjohn_at_gmail.com>
Date: Thu, 25 Oct 2007 12:26:04 -0500

jah wrote:
> Building r6051 on win32
>
> I get: make: *** [winbuild] Error 1
> and an error in mswin32/Release/BuildLog.htm:
>
> Linking...
> LINK : fatal error LNK1104: cannot open file 'nbase.lib'
>
> and in nbase/Release/BuildLog.htm:
>
> getopt1.c
> c1 : fatal error C1083: Cannot open source file: '.\getopt1.c': No
> such file or directory
> getopt.c
> Generating Code...
>
> I think this is down to nbase/nbase.vcproj still having getopt1.c in
> it's project event though it was deleted in r6050.
>
> Anyway, removing the file from the project results in what appears to be
> an (almost) clean build so I've included getopt1.c patch. Someone more
> savvy might want to make sure it doesn't broken nbase!
>
> jah
>

All righty, r6053 should fix that. I removed getopt1.c from the vcproj
and #included nbase_winconfig.h in getopt.c to stop the warnings
(complaining about how getenv is unsafe and we need to use MS's version
and blah blah blah).

I tested it on Windows XP.

Sorry about all that :)

Thanks a lot,
Kris Katterjohn

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

Received on Oct 25 2007
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]