Re: MAKE errors when trying to compile in Ubuntu 9.10

Frank Gevaerts <[email protected]>
Newsgroups gmane.linux.ports.x8086
Message-ID <[email protected]>
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 [email protected]
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.