Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261167AbTHXPCw (ORCPT ); Sun, 24 Aug 2003 11:02:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261186AbTHXPCw (ORCPT ); Sun, 24 Aug 2003 11:02:52 -0400 Received: from pub234.cambridge.redhat.com ([213.86.99.234]:45833 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S261167AbTHXPCu (ORCPT ); Sun, 24 Aug 2003 11:02:50 -0400 Date: Sun, 24 Aug 2003 16:02:45 +0100 From: Christoph Hellwig To: James Morris Cc: "Randy.Dunlap" , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, sds@epoch.ncsc.mil Subject: Re: selinux build failure Message-ID: <20030824160245.A18526@infradead.org> Mail-Followup-To: Christoph Hellwig , James Morris , "Randy.Dunlap" , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, sds@epoch.ncsc.mil References: <33070.4.4.25.4.1061612835.squirrel@www.osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jmorris@redhat.com on Mon, Aug 25, 2003 at 12:49:52AM +1000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 705 Lines: 17 On Mon, Aug 25, 2003 at 12:49:52AM +1000, James Morris wrote: > > see a good way to #include asm/compat.h, nor is it available for all > > processor architectures. > > It is available via if CONFIG_COMPAT is defined. > > Does the patch below fix this for you? Argg, this is b0rked. {asm,linux}/compat.h are for the 32bit compatiblity code. 64bit arches don't have fcntl64 - see the #if BITS_PER_LONG == 32 around sys_fcntl64 in fcntl.c.. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/