Received: from eggs.gnu.org ([208.118.235.92]:33640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqxDO-0002RO-VR for qemu-devel@nongnu.org; Mon, 16 Jul 2012 22:08:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqxDN-0002KC-Bn for qemu-devel@nongnu.org; Mon, 16 Jul 2012 22:08:42 -0400 Received: from nm10-vm0.bullet.mail.sp2.yahoo.com ([98.139.91.198]:35797) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SqxDN-0002Jw-2n for qemu-devel@nongnu.org; Mon, 16 Jul 2012 22:08:41 -0400 Message-ID: <1342490858.52278.YahooMailNeo@web113818.mail.gq1.yahoo.com> Date: Mon, 16 Jul 2012 19:07:38 -0700 (PDT) From: Paramjot Oberoi MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="32876369-784882011-1342490858=:52278" Subject: [Qemu-devel] Can't Build i386-bsd-user on Freebsd Reply-To: Paramjot Oberoi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" --32876369-784882011-1342490858=:52278 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hey all, =0A=0A=0AI'm having trouble building user mode BSD emulation on Fr= eeBSD. I've tried 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 error I get is in regards to CTLTYPE_QUAD. =0A=0A=0A/usr/home/qemu-1.= 0.1/bsd-user/syscall.c: In function 'sysctl_oldcvt':=0A/usr/home/qemu-1.0.1= /bsd-user/syscall.c:214: error: 'CTLTYPE_QUAD' undeclared (first use in thi= s function)=0A/usr/home/qemu-1.0.1/bsd-user/syscall.c:214: error: (Each und= eclared identifier is reported only once=0A/usr/home/qemu-1.0.1/bsd-user/sy= scall.c:214: error: for each function it appears in.)=0Agmake[1]: *** [sysc= all.o] Error 1=0Agmake: *** [subdir-i386-bsd-user] Error 2=0A=0ATo 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. N= ow I'm stuck with the following error:=0A=0A=0A=A0 CC=A0=A0=A0 i386-bsd-use= r/helper.o=0A=A0 CC=A0=A0=A0 i386-bsd-user/cpu.o=0A=A0 CC=A0=A0=A0 i386-bsd= -user/disas.o=0A=A0 CC=A0=A0=A0 i386-bsd-user/ioport-user.o=0A=A0 LINK=A0 i= 386-bsd-user/qemu-i386=0A/usr/local/lib/libgthread-2.0.so: could not read s= ymbols: File in wrong format=0Agmake[1]: *** [qemu-i386] Error 1=0Agmake: *= ** [subdir-i386-bsd-user] Error 2=0A=0AAny advice on how to get it to build= ? I'm running 32-bit FreeBSD. Thanks in advance, I appreciate it .=0A --32876369-784882011-1342490858=:52278 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
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=3Di386-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_oldcv= t':
/usr/home/qemu-1.0.1/bsd-user/syscall.c:214: error: 'CTLTYPE_QUAD' u= ndeclared (first use in this function)
/usr/home/qemu-1.0.1/bsd-user/sys= call.c:214: error: (Each undeclared identifier is reported only once
/us= r/home/qemu-1.0.1/bsd-user/syscall.c:214: error: for each function it appea= rs 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: htt= p://comments.gmane.org/gmane.comp.emulators.qemu/104657. Now I'm stuck with= the following error:

  CC  &nb= sp; i386-bsd-user/helper.o
  CC    i386-bsd-user/cpu= .o
  CC    i386-bsd-user/disas.o
  CC &= nbsp;  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 i= t to build? I'm running 32-bit FreeBSD. Thanks in advance, I appreciate it = .
--32876369-784882011-1342490858=:52278--