From: Mikolaj Kucharski <mikolaj@kucharski.name>
To: qemu-devel@nongnu.org
Cc: mikolaj@kucharski.name
Subject: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
Date: Thu, 9 Apr 2009 17:40:12 +0100 [thread overview]
Message-ID: <20090409164012.GA29673@x40.openbsd.home.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]
Hi,
I'm trying to compile qemu-0.10.2 on OpenBSD 4.5 (pre-release) and I
have following issue with sparc64-bsd-user target. Everythine else
compiles, when I use --target-list and select all targets except
sparc64-bsd-user.
Please see attached file for ./configure output.
gmake[1]: Entering directory `/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/sparc64-bsd-user'
CC sparc64-bsd-user/cpu-exec.o
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c: In function `cpu_sparc_signal_handler':
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: structure has no member named `uc_mcontext'
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: `EIP' undeclared (first use in this function)
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: (Each undeclared identifier is reported only once
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: for each function it appears in.)
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1190: error: structure has no member named `uc_mcontext'
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1190: error: `TRAPNO' undeclared (first use in this function)
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1193: error: structure has no member named `uc_mcontext'
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1193: error: `ERR' undeclared (first use in this function)
/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1194: error: structure has no member named `uc_sigmask'
gmake[1]: *** [cpu-exec.o] Error 1
gmake[1]: Leaving directory `/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/sparc64-bsd-user'
gmake: *** [subdir-sparc64-bsd-user] Error 2
*** Error code 2
# sysctl -n kern.version
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
--
best regards
q#
[-- Attachment #2: configure.log --]
[-- Type: text/plain, Size: 2296 bytes --]
Thu Apr 9 01:50:45 IST 2009
===> Verifying update for texi2html-* in textproc/texi2html
===> Returning to build of qemu-0.10.2
===> qemu-0.10.2 depends on: texi2html-* - found
===> Verifying update for gmake-* in devel/gmake
===> Returning to build of qemu-0.10.2
===> qemu-0.10.2 depends on: gmake-* - found
===> Verifying update for sdl-* in devel/sdl
===> Returning to build of qemu-0.10.2
===> qemu-0.10.2 depends on: sdl-* - found
===> Verifying specs: SDL SDL c m ossaudio z pthread c m ossaudio z pthread
===> found SDL.8.0 c.50.1 m.5.0 ossaudio.3.1 z.4.1 pthread.11.1
===> Checking files for qemu-0.10.2
`/usr/ports/distfiles/qemu-0.10.2.tar.gz' is up to date.
>> (SHA256) qemu-0.10.2.tar.gz: OK
===> Extracting for qemu-0.10.2
===> Patching for qemu-0.10.2
===> Configuring for qemu-0.10.2
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2
C compiler cc
Host C compiler cc
ARCH_CFLAGS -m32
make gmake
install install
host CPU i386
host big endian no
target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-bsd-user
gprof enabled no
sparse enabled no
profiler no
static build no
-Werror enabled no
SDL support yes
SDL static link no
curses support yes
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16
Mixer emulation no
VNC TLS support no
kqemu support no
brlapi support no
Documentation yes
NPTL support no
vde support no
AIO support yes
Install blobs yes
KVM support no
fdt support no
The error log from compiling the libSDL test is:
/usr/X11R6/lib/libXau.so.9.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/X11R6/lib/libXau.so.9.0: warning: strcat() is almost always misused, please use strlcat()
/usr/X11R6/lib/libX11.so.11.1: warning: sprintf() is often misused, please use snprintf()
0
Thu Apr 9 01:51:24 IST 2009
next reply other threads:[~2009-04-09 16:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-09 16:40 Mikolaj Kucharski [this message]
2009-04-09 18:23 ` [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD Blue Swirl
2009-04-10 0:07 ` Mikolaj Kucharski
2009-04-10 7:34 ` Blue Swirl
2009-04-10 9:00 ` Brad
2009-04-10 13:31 ` Blue Swirl
2009-04-10 0:24 ` Brad
2009-04-10 2:09 ` Brad
2009-04-10 7:27 ` Blue Swirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090409164012.GA29673@x40.openbsd.home.lan \
--to=mikolaj@kucharski.name \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).