From owner-freebsd-doc Sat Dec 15 11:23:49 2001 Delivered-To: freebsd-doc@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id 6118637B417 for ; Sat, 15 Dec 2001 11:23:46 -0800 (PST) Received: by mao.stokely.org (Postfix, from userid 2074) id B37394B661; Sat, 15 Dec 2001 11:23:45 -0800 (PST) Date: Sat, 15 Dec 2001 11:23:45 -0800 From: Murray Stokely To: soheil hyeganeh Cc: freebsd-doc@FreeBSD.org Subject: Re: how can i use a standard c lib. in kernel source code? Message-ID: <20011215112345.B8525@windriver.com> References: <20011215145002.27909.qmail@web10101.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011215145002.27909.qmail@web10101.mail.yahoo.com>; from soheil_has@yahoo.com on Sat, Dec 15, 2001 at 06:50:02AM -0800 X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Dec 15, 2001 at 06:50:02AM -0800, soheil hyeganeh wrote: > how can i use a standard c lib. in kernel source code > like zlib > 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 This is the wrong mailing list. Please post to a technical list, and read the list charters online at : http://www.freebsd.org/handbook/eresources.html#ERESOURCES-MAIL You can't link normal C libraries into kernel code. - Murray To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message