From owner-freebsd-questions@FreeBSD.ORG Sun May 24 03:49:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5671F106566C for ; Sun, 24 May 2009 03:49:32 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 389E48FC1E for ; Sun, 24 May 2009 03:49:32 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.174.3]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 23 May 2009 20:49:17 -0700 Message-ID: <4A18C3C3.1020206@a1poweruser.com> Date: Sun, 24 May 2009 11:49:23 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Polytropon References: <20090521215221.GA98253@server.vk2pj.dyndns.org> <87pre1nvl9.fsf@tabernacle.lan> <3c1674c90905221246x6323cd25w99664334c6a6a2c4@mail.gmail.com> <20090523145907.cf08d654.freebsd@edvax.de> In-Reply-To: <20090523145907.cf08d654.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 May 2009 03:49:17.0376 (UTC) FILETIME=[9CC27C00:01C9DC22] X-Sender: fbsd1@a1poweruser.com Cc: Ronny Mandal , freebsd-questions@freebsd.org Subject: Re: Win4BSD 1.1 on 7.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2009 03:49:32 -0000 Polytropon wrote: > On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal wrote: >> I'm experiencing problems when attempting to install Win4BSD 1.1. I've >> downloaded the most recent .tbz of W4B, it installs but fails while >> building kqemu. > > You downloaded sources manually? Why not use the ports system, or > even install from a precompiled package? This would install any > needed dependencies (kqemu) as well. The ports collection contains > version 1.1. > >>From the port: > > # cd /usr/ports/emulators/win4bsd > # make install clean > >>From the package: > > pkg_add -r win4bsd > > It will install run dependencies as well. > > > >> Here is the error-msg: >> >> kqemu-freebsd.c: In function 'kqemu_schedule': >> kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this >> function) >> kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only >> once > > I'm not sure, but are you trying to compile Linux sources on > a FreeBSD system? > > > >> All sources are installed. Suggestions are very welcome and will be >> appreciated! > > Try the port, if you want to compile it yourself, or try pkg_add. > I have to admit that I haven't tried it, so it's a "dry advice". :-) > > > The port build of win4bsd will not build on 7.2 because you have first to rebuild the freebsd kernel with option SCHED_4BSD. win4bsd-1.1_3 requires the traditional 4bsd scheduler. Good possibility this is also true for 7.0, 7.1 and 8.0 Gave up on testing win4bsd because of performance impact on server from using traditional 4bsd scheduler. OMHO this port needs to be updated to function using the new scheduler.