[LinuxBIOS] Problems on Compilation with abuild

ccases at navista.fr ccases at navista.fr
Tue Mar 6 15:11:19 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
>
> --
> linuxbios mailing list
> linuxbios at linuxbios.org
> http://www.openbios.org/mailman/listinfo/linuxbios
>

[...]
le >> ldscript.ld ; done
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
nm -n linuxbios | sort > linuxbios.map
objcopy --gap-fill 0xff -O binary linuxbios linuxbios.strip
make[1]: *** No rule to make target `/rtl8139.elf', needed by
`payload.nrv2b'.  Stop.
make[1]: Leaving directory
`/home/ccases/LinuxBIOSv2/targets/advantech/pcm-5823/pcm-5823/fallback'
make: *** [fallback/linuxbios.rom] Error 1

It's ok now but I have this message, I don't know or I puts the file *.elf
or the link for the file, my architecture is like that :

$/home/ccases/LinuxBIOSv2/..
$/home/ccases/etherboot-5.2.6/..

Thank's by advance for your help ;)

regards CCases






More information about the coreboot mailing list