linux compatibility module build problems..
Paul B. Mahol
onemda at gmail.com
Sun Jan 18 04:23:18 PST 2009
On 1/18/09, Martin Baumann <martin.baumann at gmail.com> wrote:
> 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
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 at gmail.com> wrote:
>>> 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
>> < device_if.h bus_if.h assym.s
>>> device_if.h bus_if.h assym.s opt_hwpmc_hooks.h
> freebsd-current at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current