Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933078AbWKSTiu (ORCPT ); Sun, 19 Nov 2006 14:38:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933080AbWKSTiu (ORCPT ); Sun, 19 Nov 2006 14:38:50 -0500 Received: from saraswathi.solana.com ([198.99.130.12]:60645 "EHLO saraswathi.solana.com") by vger.kernel.org with ESMTP id S933078AbWKSTit (ORCPT ); Sun, 19 Nov 2006 14:38:49 -0500 Date: Sun, 19 Nov 2006 14:35:28 -0500 From: Jeff Dike To: Olaf Hering Cc: linux-kernel@vger.kernel.org Subject: Re: uml fails to compile due to missing offsetof Message-ID: <20061119193528.GA4559@ccure.user-mode-linux.org> References: <20061119120000.GA4926@aepfle.de> <20061119142507.GA3284@ccure.user-mode-linux.org> <20061119155847.GA6890@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061119155847.GA6890@aepfle.de> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 844 Lines: 20 On Sun, Nov 19, 2006 at 04:58:47PM +0100, Olaf Hering wrote: > How do you get _STDDEF_H defined in > /usr/lib/gcc///include/stddef.h ? > For me _STDDEF_H remains undefined, and /usr/include/linux/stddef.h has > offsetof inside __KERNEL__. I guess that the __KERNEL__ is your problem. I don't see that anything like that has any business being in the libc headers. In the other case of this that I looked at, the stuff in /usr/include/linux/ had been replaced by (or /usr/include/linux symlinked to) a kernel include/linux. Jeff -- Work email - jdike at linux dot intel dot com - 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/