qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Compiling qemu 2.8 on Solaris 10


From: Wu, Michael Y [US] (MS)
Subject: [Qemu-discuss] Compiling qemu 2.8 on Solaris 10
Date: Tue, 14 Mar 2017 16:47:57 +0000

Hi,

 

I am trying to compile qemu 2.8 on solaris 10 (ultrasparc).

 

The most success I’ve had with compiling is using the configure command below:

../qemu/configure --cc=/usr/local/gcc-4.2.1/gcc/bin/gcc --python=/opt/csw/bin/python2.7 --make=/usr/local/bin/make --target-list=ppc-softmmu --disable-tools --disable-gcrypt --disable-stack-protector

 

I disabled several features to get around some compilation issues.  The error I am receiving now is:

  LINK    ppc-softmmu/qemu-system-ppc

Undefined                       first referenced

symbol                             in file

__sync_fetch_and_or_1               cputlb.o

__sync_fetch_and_or_2               cputlb.o

__sync_fetch_and_or_4               cputlb.o

mkdtemp                             ../net/slirp.o

__sync_fetch_and_add_1              cputlb.o

__sync_fetch_and_add_2              cputlb.o

__sync_fetch_and_add_4              cpus.o

__sync_fetch_and_sub_4              ../aio-posix.o

ld: fatal: symbol referencing errors. No output written to qemu-system-ppc

collect2: ld returned 1 exit status

make[1]: *** [qemu-system-ppc] Error 1

make: *** [subdir-ppc-softmmu] Error 2

 

This has gotten me stumped. I tried so many things to fix this but nothing successful. I figured that it might be my gcc version (4.2.1) so I went ahead and created a simple C file using the built in __sync_fetch functions. Compiling the test file was no issue at all. I was able to build Any suggestions would be great!

 


reply via email to

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