Received: from eggs.gnu.org ([208.118.235.92]:52378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrVqI-0004QX-Cy for qemu-devel@nongnu.org; Wed, 18 Jul 2012 11:07:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrVqC-00009H-CU for qemu-devel@nongnu.org; Wed, 18 Jul 2012 11:07:10 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:24258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrVqB-00008f-Qf for qemu-devel@nongnu.org; Wed, 18 Jul 2012 11:07:04 -0400 Date: Wed, 18 Jul 2012 23:06:56 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Message-ID: <20120718150656.GA18895@cs.nctu.edu.tw> References: <1342490858.52278.YahooMailNeo@web113818.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1342490858.52278.YahooMailNeo@web113818.mail.gq1.yahoo.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Can't Build i386-bsd-user on Freebsd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paramjot Oberoi Cc: blauwirbel@gmail.com, "qemu-devel@nongnu.org" 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, >=20 > I'm having trouble building user mode BSD emulation on FreeBSD. I've tr= ied > 1.0.1, 1.1.1, and stable from GIT. I build by doing a: "./configure > --target-list=3Di386-bsd-user", and then make with "gmake". The first e= rror I get > is in regards to CTLTYPE_QUAD. >=20 > /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' unde= clared > (first use in this function) > /usr/home/qemu-1.0.1/bsd-user/syscall.c:214: error: (Each undeclared id= entifier > is reported only once > /usr/home/qemu-1.0.1/bsd-user/syscall.c:214: error: for each function i= t > appears in.) > gmake[1]: *** [syscall.o] Error 1 > gmake: *** [subdir-i386-bsd-user] Error 2 >=20 > To fix this error I added an #ifdef/#endif around the switch statement = as > specified in this thread: http://comments.gmane.org/gmane.comp.emulator= s.qemu/ > 104657. Now I'm stuck with the following error: >=20 > 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 >=20 > Any advice on how to get it to build? I'm running 32-bit FreeBSD. Thank= s in > advance, I appreciate it . --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) 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