From owner-freebsd-questions Tue Sep 5 0:34:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id A640237B423 for ; Tue, 5 Sep 2000 00:34:30 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id AAA09131; Tue, 05 Sep 2000 00:34:21 -0700 Message-ID: <39B4A1FD.9147967B@urx.com> Date: Tue, 05 Sep 2000 00:34:21 -0700 From: Kent Stewart Organization: Dynacom Net X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: fholin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: compilation problem References: <004b01c01706$71c2ac40$df96440a@alpes.capgemini.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > fholin wrote: > > i would like to compile the source files of the kernel of freebsd = > (/src/sys/kern/***.c) > unfortunatly, i need to the header files /src/sys/machine/***.h > But i don't find this directory in the ftp site of freebsd (download > = > site) > Anybody could tell me where can i find this directory??(and all the > = > header directory necessary to compile the .c of the directory = > /src/sys/kern) > thank you for your answers You need a /usr in front. Then, if you have loaded the source, you will find things like -rw-r--r-- 1 root wheel 26305 Aug 5 09:32 kern_synch.c -rw-r--r-- 1 root wheel 3832 Oct 11 1999 kern_syscalls.c -rw-r--r-- 1 root wheel 24423 Aug 5 09:32 kern_sysctl.c -rw-r--r-- 1 root wheel 4632 Aug 27 1999 kern_threads.c -rw-r--r-- 1 root wheel 17316 Oct 29 1999 kern_time.c ruby# pwd /usr/src/sys/kern If you don't have the source, you can download them from ftp://ftp.fr.FreeBSD.org/pub/FreeBSD/releases/i386/4.1-RELEASE/src/ You can also read about using cvsup to maintain your sources. You can read about it here http://www.fr.freebsd.org/handbook/cvsup.html Everything on FreeBSD seems to be maintained for the user's using cvsup. You cvsup to update your copy of the ports, the sources, and the documents. You will find two cvsup sites in France at the bottom of the cvsup.html. If you aren't trying to use 4.1-Release then the directories change accordingly. Kent -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html http://daily.daemonnews.org/ SETI (Search for Extraterrestrial Intelligence) @ Home http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message