From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 14 13:38:04 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 484D71065670 for ; Mon, 14 Sep 2009 13:38:04 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) by mx1.freebsd.org (Postfix) with ESMTP id A84CD8FC15 for ; Mon, 14 Sep 2009 13:38:03 +0000 (UTC) Received: from [195.4.92.24] (helo=14.mx.freenet.de) by mout3.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #92) id 1MnBkn-0005Wg-Jl; Mon, 14 Sep 2009 15:38:01 +0200 Received: from tcce1.t.pppool.de ([89.55.204.225]:56789 helo=ernst.jennejohn.org) by 14.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1MnBkn-0001qP-5u; Mon, 14 Sep 2009 15:38:01 +0200 Date: Mon, 14 Sep 2009 15:38:00 +0200 From: Gary Jennejohn To: Zahemszky =?ISO-8859-1?Q?G=E1bor?= Message-ID: <20090914153800.38fb8e7a@ernst.jennejohn.org> In-Reply-To: <20090914142916.31e69226@Picasso.Zahemszky.HU> References: <20090914094805.47a01eab@Picasso.Zahemszky.HU> <20090914132602.79faca57@ernst.jennejohn.org> <20090914142916.31e69226@Picasso.Zahemszky.HU> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: virtualbox cannot compile X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 13:38:04 -0000 On Mon, 14 Sep 2009 14:29:16 +0200 Zahemszky G__bor wrote: > Mon, 14 Sep 2009 13:26:02 +0200 -n > Gary Jennejohn __rta: > > > On Mon, 14 Sep 2009 09:48:05 +0200 > > Zahemszky G__bor (by way of Zahemszky G__bor > > ) wrote: > > > > > I've got a problem with the (last two) recent version(s) of the > > > emulators/virtualbox port, as I cannot compile it. It fails with a: > > > > > > 02/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c:34: > > > /sys/vm/vm.h:64:24: error: machine/vm.h: No such file or directory > > > > > > error message. The previous version failed with the same problem. > > > > > > > Have you generated a kernel lately? I believe machine is a symbolic > > link which is created when you make a kernel, but I might be wrong. > > > > Om my box I > > have: /usr/obj/usr/src/sys/amd64/machine > > -> /usr/src/sys/amd64/include > > Hm. Interesting: I've generated kernels in the not too past. But. I use > i386, and not amd64, and GENERIC kernel on it. I > have /usr/obj/usr/src/sys/ and in it, GENERIC and boot directory. And I > have GENERIC/machine/vm.h in it. So I think, some configuration steps > have some problems. > I just compiled the latest svn stuff and it also fails (copy&paste => long lines): kBuild: Compiling vboxnetflt - /oldzfs/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c In file included from /oldzfs/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c:43: /sys/sys/socket.h:39:28: error: machine/_align.h: No such file or directory kmk[2]: *** [/oldzfs/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/vboxnetflt/freebsd/VBoxNetFlt-freebsd.o] Error 1 The failing command: @cc -c -O2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wpointer-arith -Winline -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -nostdinc -std=c99 -m64 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef -I/oldzfs/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/HostDrivers/VBoxNetFlt -I/sys -I/sys/contrib/altq -I/sys/../include -I/usr/include -I/oldzfs/virtualbox/work/virtualbox-3.0.51r22902/include -I/oldzfs/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox\" -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -D_KERNEL -DKLD_MODULE -DIN_RING0 -DIN_RT_R0 -DIN_RT_R0 -Wp,-MD,/oldzfs/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/vboxnetflt/freebsd/VBoxNetFlt-freebsd.o.dep -Wp,-MT,/oldzfs/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/vboxnetflt/freebsd/VBoxNetFlt-freebsd.o -Wp,-MP -o /oldzfs/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/vboxnetflt/freebsd/VBoxNetFlt-freebsd.o /oldzfs/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c Definitely looks like there's a bug in the new networking stuff. --- Gary Jennejohn