From: Mark T. <mr...@co...> - 2014-03-30 15:10:47
|
Hi, This message was originally sent 03/26/2014. I am resending since I had not received a reply nor seen any related posting on the mailing list. I am assuming that the only way for someone to see this is to be signed up for the mailing list, so I am now signed up and not sure if confirmation went through. I wish to report a build error (bug) when building recent SVN trunk download. Error: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" libnetwork.a ... cl /c -I.. -I../.. -I./.. -I./../.. -I../../instrument/stubs -I./../../instrument/stubs /nologo /MT /W3 /EHs-c- /DNDEBUG /DWIN32 /D_WINDOWS /D_CRT_SECURE_NO_WARNINGS /Ox /Tpslirp/tftp.cc /Foslirp/tftp.o tftp.cc slirp/tftp.cc(526) : error C2065: 'S_IWUSR' : undeclared identifier slirp/tftp.cc(530) : error C2065: 'S_IRUSR' : undeclared identifier I am using Windows 7 SP1 with Cygwin I ran the following: autoconf sh .conf.win32-vcpp make win32_snap Opened vs2008\bochs.sln with VC++2010 Express IDE Build the solution, produced the above error. When I added the following lines to slirp/tftp.cc I could build w/o error: // Missing defines for open #ifndef S_IRUSR #define S_IRUSR 0400 #define S_IWUSR 0200 #endif #ifndef S_IRGRP #define S_IRGRP 0040 #define S_IWGRP 0020 #endif #ifndef S_IROTH #define S_IROTH 0004 #define S_IWOTH 0002 #endif Note: The same errors occur when I try building with nmake. nmake works w/o error when I added the above code. Thanks for a great tool, Mark T. --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com |