Nmap Development mailing list archives

getopt1.c in nbase.vcproj


From: jah <jah () zadkiel plus com>
Date: Thu, 25 Oct 2007 16:33:04 +0100

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
Index: nbase.vcproj
===================================================================
--- nbase.vcproj        (revision 6051)
+++ nbase.vcproj        (working copy)
@@ -155,10 +155,6 @@
                                >
                        </File>
                        <File
-                               RelativePath=".\getopt1.c"
-                               >
-                       </File>
-                       <File
                                RelativePath=".\inet_ntop.c"
                                >
                        </File>

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

Current thread: