Date: Sun, 18 Jan 2009 13:23:16 +0100 From: "Paul B. Mahol" <onemda@gmail.com> To: Martin Baumann <martin.baumann@gmail.com> Cc: current@freebsd.org Subject: Re: linux compatibility module build problems.. Message-ID: <3a142e750901180423q7bcb54aesc1df30f832772afb@mail.gmail.com> In-Reply-To: <49726AFF.9060807@gmail.com> References: <4971CC75.4050501@gmail.com> <3a142e750901171443w43ddb06p2022cca1e787773a@mail.gmail.com> <49726AFF.9060807@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/18/09, Martin Baumann <martin.baumann@gmail.com> 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 <martin.baumann@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750901180423q7bcb54aesc1df30f832772afb>