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 .