qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] qemu-ga: How to static compilation qemu-ga.exe for windows


From: Gonglei (Arei)
Subject: [Qemu-devel] qemu-ga: How to static compilation qemu-ga.exe for windows on fedora 18
Date: Wed, 16 Apr 2014 02:04:38 +0000

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





reply via email to

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