Skip to contentSkip to conversation

Missing ENOTSUP def for OpenBSD

Qemu-devel Dave Feustel 2 participants 4 messages Nov 27, 2005 – Nov 28, 2005

lore
Share & tools
lore
#0 lore raw

When I attempt to build qemu from CVS on OpenbSD 3.7 using gcc 3.3.5 (propolice), ENOTSUP is reported as an undefined symbol. ENOTSUP is defined in vl.h, but it is only defined for Win32. Could a #define OPENBSD be added to qemu source for building qemu on OpenBSD platforms?

Thanks,
Dave Feustel

Signature · 3 lines
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!
#1 lore raw

Hi Dave,
take a look at these (unofficial) ports:

http://todd.fries.net/ports/qemu-0.7.0.tgz
http://todd.fries.net/ports/qemu-0.7.1.tgz
http://todd.fries.net/ports/qemu-20050427.tgz

A lot of patches need to be applied in order to have a working qemu on OpenBSD:

$ ls -1 qemu/patches/
patch-Makefile
patch-Makefile_target
patch-audio_audio_c
patch-audio_ossaudio_c
patch-configure
patch-dis-asm_h
patch-dyngen-exec_h
patch-exec_c
patch-fpu_softfloat-native_c
patch-fpu_softfloat-native_h
patch-gnu-c99-math_h
patch-hw_pc_c
patch-hw_pcnet_c
patch-hw_pcnet_h
patch-osdep_h
patch-slirp_slirp_config_h
patch-target-arm_cpu_h
patch-target-i386_cpu_h
patch-target-ppc_cpu_h
patch-target-ppc_op_helper_c
patch-target-sparc_cpu_h
patch-vl_c
patch-vl_h
patch-x_keymap_c
$ grep ENOTSUP qemu/patches/*
qemu/patches/patch-configure:+  echo "#define ENOTSUP 4096" >> $config_h

Regards,
David

Quoted 9 lines · Dave Feustel

When I attempt to build qemu from CVS on OpenbSD 3.7 using gcc 3.3.5 (propolice), ENOTSUP is reported as an undefined symbol. ENOTSUP is defined in vl.h, but it is only defined for Win32. Could a #define OPENBSD be added to qemu source for building qemu on OpenBSD platforms?

Thanks,
Dave Feustel

#2 lore raw
Quoted 8 lines · David Coppa

Hi Dave,
take a look at these (unofficial) ports:

http://todd.fries.net/ports/qemu-0.7.0.tgz
http://todd.fries.net/ports/qemu-0.7.1.tgz
http://todd.fries.net/ports/qemu-20050427.tgz

A lot of patches need to be applied in order to have a working qemu on OpenBSD:

I had been looking at the patches in the OpenBSD port of qemu. It would be nice (for me, at least :-) ) if the patches for OpenBSD were incorporated into the qemu source tree via conditional compilation.

Quoted 1 line
$ ls -1 qemu/patches/

In what directory is the ls command invoked?

Thanks,
Dave Feustel

Signature · 3 lines
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!
#3 lore raw

Hi,
I've made a mistake: the qemu port is not unofficial yet, it's in the tree.

# cd /usr/ports/emulators/qemu && make install clean

Regards,
David

Quoted 24 lines · Dave Feustel
Quoted 8 lines · David Coppa

Hi Dave,
take a look at these (unofficial) ports:

http://todd.fries.net/ports/qemu-0.7.0.tgz
http://todd.fries.net/ports/qemu-0.7.1.tgz
http://todd.fries.net/ports/qemu-20050427.tgz

A lot of patches need to be applied in order to have a working qemu on OpenBSD:

I had been looking at the patches in the OpenBSD port of qemu. It would be nice (for me, at least :-) ) if the patches for OpenBSD were incorporated into the qemu source tree via conditional compilation.

Quoted 1 line
$ ls -1 qemu/patches/

In what directory is the ls command invoked?

Thanks,
Dave Feustel
--
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!