[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061119193528.GA4559@ccure.user-mode-linux.org>
Date: Sun, 19 Nov 2006 14:35:28 -0500
From: Jeff Dike <jdike@...toit.com>
To: Olaf Hering <olaf@...fle.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: uml fails to compile due to missing offsetof
On Sun, Nov 19, 2006 at 04:58:47PM +0100, Olaf Hering wrote:
> How do you get _STDDEF_H defined in
> /usr/lib/gcc/<target>/<vers>/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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists