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 1C3ZOM-0001K1-Al for user-mode-linux-devel@lists.sourceforge.net; Sat, 04 Sep 2004 05:11:38 -0700 Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.34) id 1C3ZOL-00029H-L5 for user-mode-linux-devel@lists.sourceforge.net; Sat, 04 Sep 2004 05:11:38 -0700 Subject: Re: [uml-devel] Problems compiling any 2.6.x UML From: Dominik =?ISO-8859-1?Q?J=FCrgens?= In-Reply-To: <20040903180244.42898.qmail@web54004.mail.yahoo.com> References: <20040903180244.42898.qmail@web54004.mail.yahoo.com> Content-Type: text/plain; charset="iso-8859-1" Message-Id: <1094299889.7716.36.camel@localhost> Mime-Version: 1.0 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: Sat, 04 Sep 2004 14:11:29 +0200 Content-Transfer-Encoding: quoted-printable To: p g Cc: user-mode-linux-devel@lists.sourceforge.net Thank you very very much, that really fixed the problem! But why does anyone use the /bin/sh in any script, when he wants to use the bash? That is in my opinion a very bad fault!! My /bin/sh was linked to the /bin/dash, not because I linked it, but anything else! It does not seem to be very failure tolerant to suppose that /bin/sh is the bash... Greatings from Braunschweig, Germany Dominik J=FCrgens Am Fr, den 03.09.2004 schrieb p g um 20:02: > --- Dominik J=FCrgens ha scritto:=20 > > I have a problem with compiling user-mode-linux on > > my debian sarge > > system. Some importent package versions: > > =20 > > Hostkernel 2.6.8.1 > > gcc (GCC) 3.3.4 (Debian 1:3.3.4-6sarge1) > > GNU Make 3.80 > > GNU binutils version 2.14.90.0.7 20031029 Debian > > GNU/Linux > >=20 > > Problem: When I try to compile any 2.6.x UML-Kernel > > I get following > > message: > >=20 > > make ARCH=3Dum linux \n > > ... > > <--zip--> > > LD init/built-in.o > > LD .tmp_vmlinux1 > > KSYM .tmp_kallsyms1.S > > AS .tmp_kallsyms1.o > > LD .tmp_vmlinux2 > > KSYM .tmp_kallsyms2.S > > AS .tmp_kallsyms2.o > > MAIN arch/um/main.o > > LD vmlinux > > /bin/sh: Syntax error: "(" unexpected > If /bin/sh is not bash, this is the problem. > Also make sure you properly configured your kernel > with make *config ARCH=3Dum > > CPP arch/um/uml.lds.s > > gcc -Wl,-T,arch/um/uml.lds.s -static > > -Wl,--wrap,malloc -Wl,--wrap,free > > -Wl,--wrap,calloc \ > > -o linux arch/um/main.o vmlinux -L/usr/lib > > -lutil > > /usr/bin/ld:arch/um/uml.lds.s:150: syntax error > > collect2: ld returned 1 exit status > > make: *** [linux] Fehler 1 > > > >=20 > > The content of the 'arch/um/uml.lds.s' file arround > > line 150: > > <--zip--> > > 147: init.data : { *(init.data) } > > 148: .data : > > 149: { > > 150: . =3D ALIGN(); /* init_task */ > > 151: *(.data.init_task) > > 152: *(.data) > > 153: *(.gnu.linkonce.d*) > > 154: CONSTRUCTORS > > 155: } > > > >=20 > > I googled for it a longer time and found nothing.=20 > >=20 > > Thanks for helping me :-) > > Dominik Juergens > >=20 > >=20 > >=20 > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic > > Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 > > today. > > > http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick > > _______________________________________________ > > User-mode-linux-devel mailing list > > User-mode-linux-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel > > =20 >=20 >=20 > =09 >=20 > =09 > =09 > ___________________________________ > Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!=20 > http://companion.yahoo.it >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick > _______________________________________________ > User-mode-linux-devel mailing list > User-mode-linux-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel >=20 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel