From owner-freebsd-questions Sat Dec 15 10:39:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 1F7B737B416 for ; Sat, 15 Dec 2001 10:39:31 -0800 (PST) Received: from shumai.marcuscom.com (marcus@shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.6/8.11.6) with ESMTP id fBFIY8J08056; Sat, 15 Dec 2001 13:34:08 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: how can i use a standard c lib. in kernel source code? From: Joe Clarke To: soheil hyeganeh Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20011215183417.41727.qmail@web10104.mail.yahoo.com> References: <20011215183417.41727.qmail@web10104.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 15 Dec 2001 13:39:54 -0500 Message-Id: <1008441595.36762.2.camel@shumai.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2001-12-15 at 13:34, soheil hyeganeh wrote: > hi > how can i use a standard c lib. in kernel source code > like zlib zlib is included in the kernel source already. It is used in the networking code for kernel-based PPP I believe. The files are in /sys/net. Joe > when i include this the cc says that there is no such > file or directory !!! > and surprisingly when i copy /usr/include to > /usr/src/sys/include > then the cc compiler say there is something wrong with > variable > > > thanx > > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message