From owner-freebsd-questions@freebsd.org Thu Aug 23 10:14:44 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71D451088CA2 for ; Thu, 23 Aug 2018 10:14:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADAD58BAE2 for ; Thu, 23 Aug 2018 10:14:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.99.237]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.183]) with ESMTPA (Nemesis) id 0LcWHu-1gHR5K2NUM-00jsGB; Thu, 23 Aug 2018 12:14:32 +0200 Date: Thu, 23 Aug 2018 12:14:32 +0200 From: Polytropon To: Vishnu Vardhan M Cc: "freebsd-questions@FreeBSD.org" Subject: Re: Issue in compiling kernel modules (Netbsd) Message-Id: <20180823121432.3fec64d8.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:do+wtvMdQjAJbNgtgoGlwXYMRnyMmqNsiMvIecKqkCyBGBrdf1x MhJVG5igQfbC0Ow49PYrM3snUHXJ+0qRfBC47bHBL+aJOrc6oton6zlxSZs3yQnWt1hgBv7 iMQWVXA8/xmDUdx/uRv6/qme6XqJSPrQIfsPbppMeIbknwmaY7A2uyuv+gk1WkQhvJhvyIo 5XFVAxMdI9k4I9mYlBQJg== X-UI-Out-Filterresults: notjunk:1;V01:K0:O0/FD92n9Ik=:vL5p2jlmHubZhOZbmnactw xgIB5Q4ZRSox7QyPM5O84/2pBVj+4rsEzJ43TBSZyfUdkjJitK2FM51EMzYWxqLmB8oKzMWif qZMwR3tAYf6ivCw44GJ6mGFnYjEaLWOR50NnpP6+a8h90AgV4dIvP/07D1sqDtnun2omOfaSE m6Xw5C4lU93S3eB4xNhxsMTfUR83Y6KWvgDaHyCQ+eC9diM8pXzMCNUHLsuvJCOMXXh7x1ZwD iem9Srv1OTLx7+o2m53RrRJhcwkdJrWMMoHybPGj0S6TzTd2P6VE3f2YkU2YtFDNe4Kj6nwF1 e7uam7xjWSeRRZUzqqt/5JtqAWLwxOJfef+QijuqU1DHjyrJHj893i8sDpsJ+AWra/7xEtB+V 0Ew/Y+u8qpW8fF9olLBAejgPVj9hS97spC+xjEIXFweL3pjRrTLnO1sp/hbU5hEox8JjLfg7b NUy2uS8s42umWgqT9r1bPXLWy1l0OlKIPdHkVF3vMNLkJJex73tuDYttzem2bCaI/6VTiaqpq qPCUjAAhBv5gQcrxgctd0qbkWTqQ+u9jsLuv4QRqjU2LLBvgQnUAb2n4oprR4dqbIavydm/Qc DLIVOVJT/6LzgtR9LtwhbMn7s72xeDssZf1QT9Mdk3S8Rfer9hrarMH8pk3SPE5Cok3CUuXjF z8OBBQFMtIlDGM33jyrS3XceXWa926RR/nWFqvDBE2xeuw5IkeJN5VAGI8phOYU8MnBfy0fkI vB4/uB9KNUq70/1u X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2018 10:14:44 -0000 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, ...