Re: virtualbox-ose-kmod

From: Fernando_Apesteguía <fernando.apesteguia_at_gmail.com>
Date: Fri, 21 Jun 2024 08:39:37 UTC
On Thu, Jun 20, 2024 at 6:32 PM ltcddata <ltcddata@ltcddata.plus.com> wrote:

> Hi,
>
> after upgrading to freebsd 14.1 release the usual kmod problem repeated as
> it did last time except the virtualbox-ose-kmod fails to build. Anyone else
> have this problem or a work around?
>

By "usual kmod problem" I understand that the module will load only in the
same kernel version it was built for.
Yes, that happened to me too. But I built the module again with poudriere
and had no problems so far.
Are you building the module in a clean environment?


> In file included from SUPDrv.c:33:
> In file included from ./SUPDrvInternal.h:38:
> In file included from include/VBox/types.h:33:
> In file included from include/iprt/types.h:62:
> In file included from /usr/src/sys/sys/param.h:116:
> /usr/src/sys/sys/types.h:195:9: error: unknown type name '__sbintime_t';
> did you mean '__time_t'?
> 195 | typedef __sbintime_t sbintime_t;
> | ^~~~~~~~~~~~
> | __time_t
> ./x86/_types.h:108:19: note: '__time_t' declared here
> 108 | typedef __int64_t __time_t; /* time()... */
> | ^
> In file included from SUPDrv.c:33:
> In file included from ./SUPDrvInternal.h:38:
> In file included from include/VBox/types.h:33:
> In file included from include/iprt/types.h:62:
> In file included from /usr/src/sys/sys/param.h:116:
> /usr/src/sys/sys/types.h:312:10: fatal error: 'sys/bitcount.h' file not
> found
> 312 | #include <sys/bitcount.h>
> | ^~~~~~~~~~~~~~~~
> 2 errors generated.
>
>
>