[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-ga: How to static compilation qemu-ga.exe for wind
From: |
Wangrui (K) |
Subject: |
Re: [Qemu-devel] qemu-ga: How to static compilation qemu-ga.exe for windows on fedora 18 |
Date: |
Fri, 18 Apr 2014 08:17:55 +0000 |
Any ideas about the issue ?
Regards.
> -----Original Message-----
> From: Gonglei (Arei)
> Sent: Wednesday, April 16, 2014 10:05 AM
> To: address@hidden
> Cc: address@hidden; Wangrui (K)
> Subject: qemu-ga: How to static compilation qemu-ga.exe for windows on
> fedora 18
>
> Hi,
>
> I'm using qemu-ga.exe in windows server 2008 R2 64.
> I want to use it without libraries such as iconv.dll, libglib-2.0-0.dll,
> libintl-8.dll
> and libssp-0.dll
>
> So I use static compilation on fedora 18.
>
> build qemu-1.7.0:
> # for Windows using MinGW on linux (Fedora 18)
> ./configure --enable-guest-agent --cross-prefix=x86_64-w64-mingw32- --static
> make qemu-ga.exe
>
> Build success as expected.
> But qemu-ga.exe runs error when it steps to the first glib library function
> (such
> as g_malloc).
>
> Problem Event Name: BEX64
> Application Name: qemu-ga.exe
> Application Version: 1.7.0.0
> Application Timestamp: 534d10dd
> Fault Module Name: StackHash_1d2c
> Fault Module Version: 0.0.0.0
> Fault Module Timestamp: 00000000
> Exception Offset: 0000000000000000
> Exception Code: c0000005
> Exception Data: 0000000000000008
> OS Version: 6.1.7601.2.1.0.768.3
> Locale ID: 2052
>
> Is my compilation steps wrong? Thanks.
>
> BTW, It's OK if qemu-ga.exe run with DLLs.
>
>
>
> Best regards,
> -Gonglei
>