qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 03/10] qemu-ga: Add an configure option to s


From: mdroth
Subject: Re: [Qemu-devel] [RFC PATCH 03/10] qemu-ga: Add an configure option to specify path to Windows VSS SDK
Date: Mon, 18 Feb 2013 18:15:56 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Feb 15, 2013 at 12:55:49PM +0900, Tomoki Sekiyama wrote:
> On 2013/02/15 9:47, mdroth wrote:
> [...]
> >
> > Hi Tomoki,
> 
> Hi,
> 
> > Did you happen to run into this issue compiling the test program?
> >
> > address@hidden qemu-build]$ ls ~/w/vsssdk/inc/win2003/
> > vdslun.h    vsbackup.h    vscoordint.idl  vsmgmt.idl  vsprov.idl
> > vss.idl    vsswprv.idl
> > vdslun.idl  vscoordint.h  vsmgmt.h        vsprov.h    vss.h
> > vsswprv.h  vswriter.h
> > address@hidden qemu-build]$ cat test.c
> > #define __MIDL_user_allocate_free_DEFINED__
> > #include <inc/win2003/vss.h>
> > int main(void) { return VSS_CTX_BACKUP; }
> > address@hidden qemu-build]$ gcc -I ~/w/vsssdk/ -o test test.c
> > In file included from test.c:2:0:
> > /home/mdroth/w/vsssdk/inc/win2003/vss.h:25:17: fatal error: rpc.h: No
> > such file or directory
> > compilation terminated.
> >
> > I can't seem to locate any mingw or microsoft package that provides that.
> > It's also not present anywhere on the Wine filesystem I installed the
> > VSS SDK to.
> >
> 
> Hmm, I haven't seen this yet.
> I am testing this on Fedora 18 x86_64 host, and it provides package
> "mingw32-headers.noarch" or "mingw64-headers.noarch" which contains
> the rpc.h
> (filepath is /usr/x86_64-w64-mingw32/sys-root/mingw/include/rpc.h )

Thanks. I actually did have that header, but I was doing something silly
(forgot to use cross-compiler for the test program). The configure issue
I was hitting was also an error on my part (options with "~" weren't
resolving to my home dir). I did end up missing ntverp.h however in
vss-win32.h using Fedora 15. I made some progress trying the build
without it however. Can you confirm all the headers in vss-win32.h are
needed? I went ahead and put together an FC18 environment, but would be
nice if we can get this building for older environments (if possible).

> 
> -- 
> Tomoki Sekiyama <address@hidden>
> Linux Technology Center
> Hitachi, Ltd., Yokohama Research Laboratory
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]