From owner-freebsd-net Sun Jan 31 22:57:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02652 for freebsd-net-outgoing; Sun, 31 Jan 1999 22:57:32 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02647 for ; Sun, 31 Jan 1999 22:57:31 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id WAA20706; Sun, 31 Jan 1999 22:56:58 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma020702; Sun, 31 Jan 99 22:56:40 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id WAA25865; Sun, 31 Jan 1999 22:56:40 -0800 (PST) From: Archie Cobbs Message-Id: <199902010656.WAA25865@bubba.whistle.com> Subject: Re: Rebuilding kernel after modifying source code In-Reply-To: <36B4FF4A.E35BEF66@rpi.edu> from Mohamed Abdel-Aal at "Jan 31, 99 08:11:38 pm" To: abdelm2@rpi.edu (Mohamed Abdel-Aal) Date: Sun, 31 Jan 1999 22:56:40 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mohamed Abdel-Aal writes: > I am doing some TCP experiments which require modifying the source code. > I added few simple file I/O commands to netinet/tcp_timer.c ; which > required me to include stdio.h. While rebuilding the kernel, I got some You shouldn't include stdio.h for kernel code, because most of that stuff is invalid (ie, not available) in the kernel. If you need certain definitions, etc., you're probably better off copying the stuff you need into a separate (new) header file. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message