From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: buffer cache Date: Sat, 13 Sep 2003 14:14:57 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20030913131457.GG21596@parcelfarce.linux.theplanet.co.uk> References: <20030913085143.25345.qmail@mailweb33.rediffmail.com> <20030913102721.GB31719@vagabond> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: vadiraj c s , linux-fsdevel@vger.kernel.org Return-path: Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:11452 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262142AbTIMNO6 (ORCPT ); Sat, 13 Sep 2003 09:14:58 -0400 To: Jan Hudec Content-Disposition: inline In-Reply-To: <20030913102721.GB31719@vagabond> List-Id: linux-fsdevel.vger.kernel.org On Sat, Sep 13, 2003 at 12:27:21PM +0200, Jan Hudec wrote: > On Sat, Sep 13, 2003 at 08:51:43 -0000, vadiraj c s wrote: > > This is third time i'm posting my request. I'm working on > > filesystem, I need to compile my code. I included linux/fs.h > > header file, none of the function declared in it gets compiled, I > > mean I get an error saying Undefined reference, the functions are > > inline functions. > > Sanity-check: Do you compile with the -O2 option? Kernel stuff must be > compiled with optimization due to this and many other reasons. he's trying to get it to compile in userspace. there's basically no way to do this; just compile it as a module. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk