From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AZxE3-0008NC-S1 for user-mode-linux-devel@lists.sourceforge.net; Fri, 26 Dec 2003 11:02:19 -0800 Received: from smtp001.mail.ukl.yahoo.com ([217.12.11.32]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.24) id 1AZxE3-000336-At for user-mode-linux-devel@lists.sourceforge.net; Fri, 26 Dec 2003 11:02:19 -0800 From: BlaisorBlade Subject: Re: [uml-devel] UML build system: patch ready References: <200312241943.37474.blaisorblade_spam@yahoo.it> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312261956.24711.blaisorblade_spam@yahoo.it> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 26 Dec 2003 19:56:24 +0100 To: user-mode-linux-devel@lists.sourceforge.net > arch/um/sys-i386/bugs.c ... [...] > It looks that modify_ldt_ldt_s is not defined anywhere and modify_ldt() > cannot be found. It's true, but they should be defined by /usr/include/asm/ldt.h. So it's not my fault(unless you succeed in compiling a 2.6 with the -test9 patch). Have you got a Debian? This problem has appeared on Debian unstable also for 2.4, since that file is from the 2.6 headers. The quick fix is to make /usr/include/asm and /usr/include/linux be symlinks into a 2.4 kernel tree, but only for compiling UML(for the other programs, in fact, they must stay as they are). > arch/um/sys-i386/bugs.c: In function `disable_lcall': > arch/um/sys-i386/bugs.c:110: storage size of `ldt' isn't known > arch/um/sys-i386/bugs.c:117: warning: implicit declaration of function > `modify_ldt' > arch/um/sys-i386/bugs.c:110: warning: unused variable `ldt' > I did these ... > cd uml > patch -p1 patch -p1 patch -p1 patch -p1