Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2000 00:34:21 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        fholin <fholin@capgemini.fr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: compilation problem
Message-ID:  <39B4A1FD.9147967B@urx.com>
References:  <004b01c01706$71c2ac40$df96440a@alpes.capgemini.fr>

next in thread | previous in thread | raw e-mail | index | archive | help


> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39B4A1FD.9147967B>