From owner-freebsd-hackers Mon Feb 5 17:33: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from chopper.Poohsticks.ORG (chopper.poohsticks.org [63.227.60.73]) by hub.freebsd.org (Postfix) with ESMTP id 455D437B491 for ; Mon, 5 Feb 2001 17:32:39 -0800 (PST) Received: from chopper.Poohsticks.ORG (drew@localhost.poohsticks.org [127.0.0.1]) by chopper.Poohsticks.ORG (8.10.1/8.10.1) with ESMTP id f161Wai06570; Mon, 5 Feb 2001 18:32:36 -0700 Message-Id: <200102060132.f161Wai06570@chopper.Poohsticks.ORG> To: Jochen Kaiser Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: why isn't /usr/include/sys/syscall.h generated by makesyscalls? In-reply-to: Your message of "Tue, 06 Feb 2001 02:30:03 +0100." <20010206023002.A26837@devil.rrze.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6566.981423156.1@chopper.Poohsticks.ORG> Date: Mon, 05 Feb 2001 18:32:36 -0700 From: Drew Eckhardt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010206023002.A26837@devil.rrze.uni-erlangen.de>, Jochen.Kaiser@rr ze.uni-erlangen.de writes: >hi , > >i am trying to play with some statistics on ip protocols. I'd like >to implement a syscall for some funcions and I wonder why > >sh sr/src/sys/kern/makesyscalls.sh syscalls.master > >updates files in /usr/src/sys/kern/ but not the ones in >/usr/include/sys/ Because the kernel source tree you're playing with may be inappropriate for the machine you're building your kernel on. For example, my current employer sells black (metaphorically - in reality, they're more of a dark blue or purple) boxes which run older versions of FreeBSD than developers have on their desktop. >Any help, including stuff I should read is very appreciated. make install under /usr/src/sys/include will put the headers in the right place. make followed by make install under /usr/src/lib/libc will get you a library with the trivial wrapper functions that make the actual system calls. -- Home Page For those who do, no explanation is necessary. For those who don't, no explanation is possible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message