Issue in compiling kernel modules (Netbsd)
Polytropon
freebsd at edvax.de
Thu Aug 23 10:14:44 UTC 2018
On Thu, 23 Aug 2018 09:17:36 +0000, Vishnu Vardhan M wrote:
> I recently installed xfce4 (Debian) on netbsd 7.0.1. and while
> compiling kernel module.
> Its giving me an error like " fatal error: sys/types.h : No such
> file or directory ."
Does /usr/src/sys/types.h exist? On NetBSD, you probably will
need to install the kernel sources (or system sources, to be
sure) if you want to build a kernel module. Maybe check if
there is an option to use the system's /usr/include/sys/types.h.
But you should ask this on a NetBSD mailing list. This one,
as the name suggests twice, is for FreeBSD questions. ;-)
> usually I compile modules on linux, but in netbsd I don't
> know the way to compile modules.
Check the documentation. It should be explained in the README
coming with the module's sources.
Furthermore:
http://www.netbsd.org/docs/
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list