[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS

Park Heesob phasis at nownuri.net
Sat Feb 5 19:15:09 EST 2005


Hi,

> Hi Park.
> 
> I was not able to compile this using free Visual Studio ++ (VC 7)
> compiler. See attached transcript.
> Thanks,
> -- Shashank
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> C:\win32utils>setvc7.cmd
> 
> C:\win32utils>set PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\Microsoft.NET\Framework\v1.1.4322;C:\Program Files\Microsoft.NET\SDK\v1.1\Bin;C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\Program Files\Microsoft SDK\Bin\Win64;C:\Program Files\Microsoft SDK\Bin;C:\bison\bin;c:\ruby\bin;
> 
> C:\win32utils>ruby makeall.rb
> 
> win32-changejournal:
> -------------------------
> creating Makefile
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>        cl -nologo -MD -Zi -O2b2xg- -G5 -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I.  -I. -I./.. -I./../missing -D_WIN32_WINNT=0x0501 -c -Tcchangejournal.c
> changejournal.c
> c:\win32utils\win32-changejournal\changejournal.h(47) : error C2039: 'FileNameOffset' : is not a member of 'USN_RECORD'
>        C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1895) : see declaration of 'USN_RECORD'
> changejournal.c(60) : error C2065: 'DELETE_USN_JOURNAL_DATA' : undeclared identifier
> changejournal.c(60) : error C2146: syntax error : missing ';' before identifier 'dujd'
> changejournal.c(60) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
> changejournal.c(60) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
> changejournal.c(60) : error C2143: syntax error : missing ';' before 'identifier'

Your log shows it was complied with Visual Studion 6.0 environment not with VC7.0 environment.

WINIOCTL.H is at C:\Program Files\Microsoft Visual Studio\VC98\Include\ for VC6.0,
at C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ for VC7.0 in my case.

Regards,

Park Heesob



More information about the win32utils-devel mailing list