From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Gevaerts Subject: Re: MAKE errors when trying to compile in Ubuntu 9.10 Date: Mon, 1 Mar 2010 10:31:34 +0100 Message-ID: <20100301093133.GA19186@gevaerts.be> References: <4B8CAF58.6060105@spamgourmet.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <4B8CAF58.6060105@spamgourmet.com> Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-8086@vger.kernel.org On Tue, Mar 02, 2010 at 01:25:28AM -0500, Dieter R Kedrowitsch wrote: > Greetings! I am trying to compile ELKS from the archive > elks-0.1.3.tar.gz and I am experiencing an error during make that I have > never seen before. I am using bin86 0.16.17 on a pretty much stock > installation of Ubuntu 9.10. > > This is just a small snippet of an error that is repeated many times > when I run make to 'make dep'. > > printf: 1: $[0x000103-1]: expected numeric value > printf: 1: $[0x000103-1]: expected numeric value > printf: 1: $[0x000103-1]: expected numeric value This looks like your shell doesn't like some particular printf syntax. Doesn't Ubuntu use dash as /bin/sh? Try setting it to bash Frank > boot/setup.S:588: error: macro names must be identifiers > make[2]: *** [boot/setup.s] Error 1 > make[2]: Leaving directory `/usr/src/elks/arch/i86' > make[1]: *** [Image] Error 2 > make[1]: Leaving directory `/usr/src/elks' > make: *** [elks] Error 2 > > Does anyone have any suggestions? > > Thanks! > -- > To unsubscribe from this list: send the line "unsubscribe linux-8086" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan