NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: run linux program then "FATAL: kernel too old"



thank you very much, it works.
after sysctl, though /emul/linux/bin/sh fail differently,
vi, gcc and some other programs run correctly.

by the way, the binary that /emul/linux/usr/bin/g++ generate can run under fedora 10

( I have put this sysctl to a script in /etc/rc.d/linuxkernver. does it have side effect? )


å Sun, 17 May 2009 00:34:16 +0800ïChristos Zoulas <christos%astron.com@localhost> åé:

In article <gump0u$rjm$1%serpens.de@localhost>,
Michael van Elst <mlelstv%serpens.de@localhost> wrote:
leiming2006%gmail.com@localhost (LeiMing) writes:

3) I mount it to /emul/linux on netbsd5 (i386, generic kernel) and then
run "/emul/linux/usr/bin/gcc", it tells me "FATAL: kernel too old"

Could anyone tell me what does the error message mean, which kernel is too
old? what should I do?

The Linux emulation tells programs that it is running on a 2.4 kernel.
Some programs require 2.6 or newer.

sysctl -w emul.linux.kern.osrelease=2.6.24

But then it will fail differently.

christos




Home | Main Index | Thread Index | Old Index