From owner-freebsd-current@FreeBSD.ORG Sun Jan 18 12:23:18 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A33E1065672 for ; Sun, 18 Jan 2009 12:23:18 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id D35F68FC08 for ; Sun, 18 Jan 2009 12:23:17 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so248572eyd.7 for ; Sun, 18 Jan 2009 04:23:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZkREVcEIzsz6W79HXxhJ38hTpftIcrXk7z1K3bUS474=; b=TFPDP8GkwuMH+ybDDDoPy1jLvSx/XeANTrjPF7cP9URDZjCG8cgztM98q1ZbMuui3n PpVC1C6goOUUiGrm6mY9BGocVBVAQjPAYh7wRJQNZPrvQgVz/C5C/VuDtCtERrMaC038 W1tOzYqfD/VCJRPUXHHxdOvwQyXOTvqQN9pd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mu/mG29dLtPfSXaHwxJ+6ZCYnSceBRrTKP28rYX1oNHg+IfrAm7wry04E1I/AEIMJA z+VJb50iwAVxi9ODJglzU4PYhZBSUWI50r4Kpe4jmDvMlDh2jSxZCWVYcufN0lUY2W3Y 5PwNSgkhdi189oEmE74Nz05INbPm0DqQJHzok= MIME-Version: 1.0 Received: by 10.210.59.14 with SMTP id h14mr108009eba.102.1232281396948; Sun, 18 Jan 2009 04:23:16 -0800 (PST) In-Reply-To: <49726AFF.9060807@gmail.com> References: <4971CC75.4050501@gmail.com> <3a142e750901171443w43ddb06p2022cca1e787773a@mail.gmail.com> <49726AFF.9060807@gmail.com> Date: Sun, 18 Jan 2009 13:23:16 +0100 Message-ID: <3a142e750901180423q7bcb54aesc1df30f832772afb@mail.gmail.com> From: "Paul B. Mahol" To: Martin Baumann Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: linux compatibility module build problems.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 12:23:18 -0000 On 1/18/09, Martin Baumann wrote: > Hi. > > The strangest thing is that when I compile kernel with options > COMPAT_LINUX it doesnt give me any error.. So I really dont understand. Because in that case HWPMC_HOOKS definition is passed directly from your kernel conf eg. only one opt_hwpmc_hooks.h is used to build whole kernel and modules, so it will work also with COMPAT_LINUX not defined in kernel. That is not case when building inside module Makefile directory. And if that way doesnt work your are on your own to find what is missing. Building modules as you are doing is not generally to be supported all the time. > > Best regards, > Martin Baumann > > Paul B. Mahol wrote: >> On 1/17/09, Martin Baumann wrote: >> >>> Hi. >>> >>> My sources are updated to HEAD. >>> When I try to do: *cd /usr/src/sys/modules/linux && make* >>> >> >> This will make it just build but may not work .... >> >> diff Makefile.org Makefile >> 17c17 >> < device_if.h bus_if.h assym.s >> --- >> >>> device_if.h bus_if.h assym.s opt_hwpmc_hooks.h >>> >> >> >> > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Paul