qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Qemu buid error for arm


From: Magyar Péter
Subject: Re: [Qemu-discuss] Qemu buid error for arm
Date: Tue, 01 Jul 2014 10:01:57 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi,

I also wanted to cross compile for win32 under linux and ran into several issues, like it complained about zlib first, then lgthread and glib. Since i am not an expert of building apps under linux, not to mention cross compiling, finally i chosed to move the project under win32 using mingw, but it was still hard to get it compile. I had to build zlib under mingw, then tried to build pixman from the sources provided with Qemu, which also failed, so i fetched the binaries from somewhere and copied to their places.
I also had to modify qemu/include/sysemu/os-win32.h:
    add line:
    #define ffs(i) __builtin_ffs(i)
This latter was required because the mingw compiler generated a function call instead of using inline code. You can find a lot of references on the net, but for me it seemed i faced 2 new problems while solving an old one, so it took some patience :)


Üdvözlettel / Best regards,

Magyar Péter
+36 209 609 488
www.adatmentes.net

01.07.2014 7:58 keltezéssel, Rekha Herur írta:
Hi Peter,
       Thanks for the reply ..Here is the configure i used

  srv/nfsroot/root/qemu-1.7.1#  ./configure --cross-prefix=arm-linux-gnueabihf- 
--target-list=arm-softmmu  --audio-drv-list="" --disable-libusb --disable-gtk 
--enable-fdt  --enable-kvm --static

srv/nfsoot/root/qemu-1.7.1# make
   GEN   config-host.h
   GEN   qemu-options.def
   GEN   qmp-commands.h
   GEN   qapi-types.h
   GEN   qapi-visit.h
   GEN   trace/generated-events.h
   GEN   trace/generated-tracers.h
   GEN   tests/test-qapi-types.h
   GEN   tests/test-qapi-visit.h
   GEN   tests/test-qmp-commands.h
   CC    tests/qemu-iotests/socket_scm_helper.o
   LINK  tests/qemu-iotests/socket_scm_helper
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: 
cannot find -lgthread-2.0
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: 
cannot find -lglib-2.0
collect2: ld returned 1 exit status
make: *** [tests/qemu-iotests/socket_scm_helper] Error 1

Doesn't seem like qemu program build has happened.

Regards,
Rekha Herur.
________________________________________
From: Peter Maydell address@hidden
Sent: Tuesday, July 01, 2014 4:29 AM
To: Rekha Herur
Cc: address@hidden
Subject: Re: [Qemu-discuss] Qemu buid error for arm

On 30 June 2014 13:01, Rekha Herur <address@hidden> wrote:
We are using Fast-model (FastModelsPortfolio_9.0) to simulate ARM cortexA15.
We are building qemu 1.7 for arm but getting these errors ,

   CC    tests/qemu-iotests/socket_scm_helper.o
   LINK  tests/qemu-iotests/socket_scm_helper
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
cannot find -lgthread-2.0
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
cannot find -lglib-2.0
collect2: ld returned 1 exit status
make: *** [tests/qemu-iotests/socket_scm_helper] Error 1
It would help if you quoted the configure command line you
used and the make command you're using. This error is in
building the test suite -- did the main QEMU program build OK?

thanks
-- PMM

________________________________

SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally 
privileged information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, disclose, distribute, print, or copy 
any part of this message and you are requested to delete it and inform the sender. Any 
views expressed in this message are those of the individual sender unless otherwise 
stated. Nothing contained in this message shall be construed as an offer or acceptance of 
any offer by Sasken Communication Technologies Limited ("Sasken") unless sent 
with that express intent and with due authority of Sasken. Sasken has taken enough 
precautions to prevent the spread of viruses. However the company accepts no liability 
for any damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html







reply via email to

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