[LinuxBIOS] build target - error

Segher Boessenkool segher at kernel.crashing.org
Sun Jan 28 12:54:56 CET 2007


>>> ././auto.inc:84655: Error: junk at end of line, first unrecognized
>>> character is
>>> `"'
>>> ././auto.inc:87289: Error: junk at end of line, first unrecognized
>>> character is
>>> `"'
>>> ././auto.inc:87293: Error: junk at end of line, first unrecognized
>>> character is
>>> `"'
>>> crt0.S:217: Error: junk at end of line, first unrecognized
>>> character is `"'
>>> crt0.S:220: Error: unknown pseudo-op: `.previous'
>>
>> Your assembler doesn't understand ELF-style asm dialect.
>
>
> It looks like some \n vs \r\n problem. There's invisible junk at  
> the end
> of every single line.

It complains about a double quote, not about the empty
string.  It also doesn't know ".previous", at which point
it is time to give up ;-)

> Probably requires a patch to romcc or an extra "dos2unix" run.

Nah, LinuxBIOS' assembler code assumes GAS+ELF so you better
use that and not some other assembler ;-)

You could add code to LB so that it explains what's wrong
if no suitable assembler is selected.


Segher





More information about the coreboot mailing list