From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DJ5H4-0005zW-8y for user-mode-linux-devel@lists.sourceforge.net; Wed, 06 Apr 2005 00:48:30 -0700 Received: from dsl092-053-140.phl1.dsl.speakeasy.net ([66.92.53.140] helo=grelber.thyrsus.com) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DJ5H3-0000Eg-Kx for user-mode-linux-devel@lists.sourceforge.net; Wed, 06 Apr 2005 00:48:30 -0700 From: Rob Landley Subject: Re: [uml-devel] Broken compiling under 2.6.12-rc2 on my machine References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200504060145.24555.rob@landley.net> 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: Wed, 6 Apr 2005 01:45:24 -0400 To: user-mode-linux-devel@lists.sourceforge.net, Ian McDonald On Tuesday 05 April 2005 11:51 pm, Ian McDonald wrote: > Hi there, > > I have applied 2.6.12-rc2 patches against 2.6.11 and gone to compile > and it fails... > > Here is what I have done: > make menuconfig ARCH=um > Added in hostfs, UML networking - daemon (but also tried with these > off, no difference) > make linux ARCH=um > > Output: > HOSTCC usr/gen_init_cpio > CHK usr/initramfs_list > UPD usr/initramfs_list > CPIO usr/initramfs_data.cpio > GZIP usr/initramfs_data.cpio.gz > AS usr/initramfs_data.o > LD usr/built-in.o > CC arch/um/kernel/checksum.o > QUOTE arch/um/kernel/config.tmp > QUOTE arch/um/kernel/config.c I'm trying to track this down and fix it, but mine didn't even get that far, it died with: CC arch/um/kernel/ptrace.o arch/um/kernel/ptrace.c: In function `send_sigtrap': arch/um/kernel/ptrace.c:324: warning: implicit declaration of function `REGS_SP' arch/um/kernel/ptrace.c:324: error: union has no member named `skas' arch/um/kernel/ptrace.c:324: error: invalid lvalue in unary `&' arch/um/kernel/ptrace.c:324: warning: implicit declaration of function `REGS_IP' arch/um/kernel/ptrace.c:324: error: union has no member named `skas' arch/um/kernel/ptrace.c:324: error: invalid lvalue in unary `&' make[1]: *** [arch/um/kernel/ptrace.o] Error 1 > sed: -e expression #4, char 2: Extra characters after command > make[1]: *** [arch/um/kernel/config.c] Error 1 > make: *** [arch/um/kernel] Error 2 > > and here is the file arch/um/kernel/.config.tmp.cmd that gets created > which I am guessing has the sed error > cmd_arch/um/kernel/config.tmp := sed -e 's/"/\\"/g' -e 's/^/"/' -e > 's/$$/\\n"/' /home/iam4/linuxsrc/linux-2.6.12-rc2/.config > > arch/um/kernel/config.tmp There is no expression #4 in that. It has three expressions (-e arguments) and a filename... > config.c also is 0 characters length > > I can supply any other files needed. > System is Debian Woody, gcc 2.95.4 > > I don't know much yet about sed or the kernel build process but can > look into if nobody else makes sense of this. Just thought it was good > to get it out there considering it doesn't compile and rc2 has just > come out. I know sed. I wrote and maintain the current busybox sed implementation. I just don't know what the build's doing. Could you send me your .config? > And UML does compile under 2.6.11 with a patch for gcc (which is > include in 2.6.12-rc4). Haven't yet tried 2.6.12-rc1 but can do later > if this will help. I'm confused: what? > Ian > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > User-mode-linux-devel mailing list > User-mode-linux-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel