[LinuxBIOS] Problems on Compilation with abuild

Peter Stuge stuge-linuxbios at cdy.org
Tue Mar 6 13:55:43 CET 2007


On Tue, Mar 06, 2007 at 11:13:07AM +0100, ccases at navista.fr wrote:
> If I use autobuild (abuild), I have this message :
> 
>   Compiling image ..FAILED after 4s! Log excerpt:
> /bin/sh: -c: line 1: syntax error near unexpected token `('
> /bin/sh: -c: line 1: `gcc -Os -Wall -DARCH='i386' -DHAVE_MOVNTI='1'

[..]

                        v             v-- Extra ' ending the quote
> -DLINUXBIOS_ASSEMBLER='"Version de l'assembleur GNU 2.15 (i386-linux)
> utilisant la version BFD 2.15"' -DCONFIG_USE_INIT='0'
                                ^-- This is the intended one

[..]

> It's the same message for all of the mainboard,
> 
> I use debian and suse the last version,
> debian have gcc 3.3.5 & cpp 3.3.5 and suse have gcc 4.0.2 & cpp 4.0.2
> 
> I don't understand why the compilation doesn't work, if you have an
> idea ?

The LinuxBIOS build system does not always work properly with
non-english locales where ' or " may appear in messages from
assembler.

Try overriding your locale:

export LC_ALL=en_US
buildtarget
make


//Peter




More information about the coreboot mailing list