DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th March 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default undefined reference to `KERNEL_PROC_UNLOCK'

I am using OB 5.0, How to fix the following error:

#modload /usr/local/lib/kqemu/kqemu_mp.o
qemu_mp.o(.text+0x295f): In function `kqemuioctl':
: undefined reference to `KERNEL_PROC_UNLOCK'
/usr/local/lib/kqemu/kqemu_mp.o(.text+0x2972): In function `kqemuioctl':
: undefined reference to `KERNEL_PROC_LOCK'
modload: can't prelink `/usr/local/lib/kqemu/kqemu_mp.o' creating `/usr/local/lib/kqemu/kqemu_mp'

I am an OpenBSD newbie. So any suggestion is appreciated!
Reply With Quote
  #2   (View Single Post)  
Old 24th March 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Kqemu was pulled from the.ports tree 16 Aug 2011.

It did not work properly, and it was no longer being supported upstream.

This was just after 5.0 was set for release.

Please do not use kqemu.
Reply With Quote
  #3   (View Single Post)  
Old 25th March 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

thanks for your answer.
Without kqemu, qemu is VERY slow ?

Last edited by sw2wolf; 27th March 2012 at 06:34 AM.
Reply With Quote
  #4   (View Single Post)  
Old 25th March 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I'll rephrase what I wrote above -- by "upstream", I meant Fabrice Ballard and the team of developers and maintainers at qemu.org. Kqemu is no longer offered as a program by them.

You are using Qemu 0.14.1. Please keep this in mind as you read these comments from Wikipedia regarding Kqemu. I have made highlights in red which I hope will help clarify this program's status for you:
Quote:
Accelerator

KQEMU was a Linux kernel module, also written by Fabrice Bellard, which notably sped up emulation of x86 or x86-64 guests on platforms with the same CPU architecture. This was accomplished by running user mode code (and optionally some kernel code) directly on the host computer's CPU, and by using processor and peripheral emulation only for kernel mode and real mode code.
Unlike KVM, for example, KQEMU could execute code from many guest OSes even if the host CPU did not support hardware virtualization.
KQEMU was initially a closed-source product available free of charge, but as of version 1.3.0pre10,[5] it was relicensed under the GNU General Public License.
QEMU versions starting with 0.12.0 (as of August 2009) support large memory which makes them incompatible with KQEMU.[6] Newer releases of QEMU have completely removed support for KQEMU.
QVM86 was a drop-in replacement for the then closed-source KQEMU, licensed under GNU GPLv2 license. The developers of QVM86 ceased development in January, 2007.
Reply With Quote
  #5   (View Single Post)  
Old 25th March 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

Does OpenBSD support QVM86 ?

Last edited by sw2wolf; 26th March 2012 at 12:31 AM.
Reply With Quote
  #6   (View Single Post)  
Old 25th March 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

The question should be asked in reverse, as ports are supported by members of the OpenBSD Project or it's users.

But no, the question shouldn't be asked at all. Please reread the two sentences about qvm86 above.
Reply With Quote
  #7   (View Single Post)  
Old 27th March 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

thanks for your information. I will use qemu without kqemu from now on.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cuse4bsd - link_elf: symbol KPTmap undefined godfrank FreeBSD Ports and Packages 3 5th September 2010 11:29 PM
make buildkernel failure -- undefined reference to . . . rtwingfield FreeBSD Installation and Upgrading 1 22nd June 2010 10:27 PM
Undefined reference to `xpt_bus_deregister' FreeBee FreeBSD Installation and Upgrading 2 6th January 2010 03:59 PM
Undefined function in OpenBSD WeakSauceIII OpenBSD General 4 20th May 2009 12:58 PM
ports/sysutils/pfstat; undefined reference to `gdImagePng' chris FreeBSD Ports and Packages 2 5th July 2008 06:31 PM


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick