Date: Thu, 23 Aug 2018 12:14:32 +0200 From: Polytropon <freebsd@edvax.de> To: Vishnu Vardhan M <vvardhanm@vmware.com> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: Re: Issue in compiling kernel modules (Netbsd) Message-ID: <20180823121432.3fec64d8.freebsd@edvax.de> In-Reply-To: <DM6PR05MB470079C514EEB4C226228B86D2370@DM6PR05MB4700.namprd05.prod.outlook.com> References: <DM6PR05MB470079C514EEB4C226228B86D2370@DM6PR05MB4700.namprd05.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180823121432.3fec64d8.freebsd>
