Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: getopt1.c in nbase.vcproj
From: Kris Katterjohn <katterjohn () 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:

   LINK : fatal error LNK1104: cannot open file 'nbase.lib'

and in nbase/Release/BuildLog.htm:

   c1 : fatal error C1083: Cannot open source file: '.\getopt1.c': No
   such file or directory
   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!


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

Attachment: signature.asc
Description: OpenPGP digital signature

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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