[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Can't Build i386-bsd-user on Freebsd
From: |
Wei-Ren Chen |
Subject: |
Re: [Qemu-devel] Can't Build i386-bsd-user on Freebsd |
Date: |
Wed, 18 Jul 2012 23:06:56 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
CC'ed to Blue, since he is bsd-user maintainer as MAINTAINER said.
On Mon, Jul 16, 2012 at 07:07:38PM -0700, Paramjot Oberoi wrote:
> Hey all,
>
> I'm having trouble building user mode BSD emulation on FreeBSD. I've tried
> 1.0.1, 1.1.1, and stable from GIT. I build by doing a: "./configure
> --target-list=i386-bsd-user", and then make with "gmake". The first error I
> get
> is in regards to CTLTYPE_QUAD.
>
> /usr/home/qemu-1.0.1/bsd-user/syscall.c: In function 'sysctl_oldcvt':
> /usr/home/qemu-1.0.1/bsd-user/syscall.c:214: error: 'CTLTYPE_QUAD' undeclared
> (first use in this function)
> /usr/home/qemu-1.0.1/bsd-user/syscall.c:214: error: (Each undeclared
> identifier
> is reported only once
> /usr/home/qemu-1.0.1/bsd-user/syscall.c:214: error: for each function it
> appears in.)
> gmake[1]: *** [syscall.o] Error 1
> gmake: *** [subdir-i386-bsd-user] Error 2
>
> To fix this error I added an #ifdef/#endif around the switch statement as
> specified in this thread: http://comments.gmane.org/gmane.comp.emulators.qemu/
> 104657. Now I'm stuck with the following error:
>
> CC i386-bsd-user/helper.o
> CC i386-bsd-user/cpu.o
> CC i386-bsd-user/disas.o
> CC i386-bsd-user/ioport-user.o
> LINK i386-bsd-user/qemu-i386
> /usr/local/lib/libgthread-2.0.so: could not read symbols: File in wrong format
> gmake[1]: *** [qemu-i386] Error 1
> gmake: *** [subdir-i386-bsd-user] Error 2
>
> Any advice on how to get it to build? I'm running 32-bit FreeBSD. Thanks in
> advance, I appreciate it .
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj