Date: Fri, 21 Jun 2024 10:39:37 +0200 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com> To: ltcddata <ltcddata@ltcddata.plus.com> Cc: questions@freebsd.org Subject: Re: virtualbox-ose-kmod Message-ID: <CAGwOe2bJ2aYSfZG9kRvOisRhdYWvv9nadyn1LpKzs4JtgYOApQ@mail.gmail.com> In-Reply-To: <3c8c552ee8ebd29d6331e2c0e4f2d6c7@ltcddata.plus.com> References: <3c8c552ee8ebd29d6331e2c0e4f2d6c7@ltcddata.plus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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. > > > [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2024 at 6:32 PM ltcddata <<a href="mailto:ltcddata@ltcddata.plus.com">ltcddata@ltcddata.plus.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p>Hi,</p> <p>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?</p></div></blockquote><div><br></div><div>By "usual kmod problem" I understand that the module will load only in the same kernel version it was built for.</div><div>Yes, that happened to me too. But I built the module again with poudriere and had no problems so far.</div><div>Are you building the module in a clean environment?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p>In file included from SUPDrv.c:33:<br>In file included from ./SUPDrvInternal.h:38:<br>In file included from include/VBox/types.h:33:<br>In file included from include/iprt/types.h:62:<br>In file included from /usr/src/sys/sys/param.h:116:<br>/usr/src/sys/sys/types.h:195:9: error: unknown type name '__sbintime_t'; did you mean '__time_t'?<br> 195 | typedef __sbintime_t sbintime_t;<br> | ^~~~~~~~~~~~<br> | __time_t<br>./x86/_types.h:108:19: note: '__time_t' declared here<br> 108 | typedef __int64_t __time_t; /* time()... */<br> | ^<br>In file included from SUPDrv.c:33:<br>In file included from ./SUPDrvInternal.h:38:<br>In file included from include/VBox/types.h:33:<br>In file included from include/iprt/types.h:62:<br>In file included from /usr/src/sys/sys/param.h:116:<br>/usr/src/sys/sys/types.h:312:10: fatal error: 'sys/bitcount.h' file not found<br> 312 | #include <sys/bitcount.h><br> | ^~~~~~~~~~~~~~~~<br>2 errors generated.</p> <p><br></p> </div> </blockquote></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2bJ2aYSfZG9kRvOisRhdYWvv9nadyn1LpKzs4JtgYOApQ>
