[LinuxBIOS] Problems with ADLO

Richard Smith smithbone at gmail.com
Fri Nov 11 15:38:29 CET 2005


> gcc -E rombios.c > _rombios_.c
> rombios.c:2662:50: pasting "(" and ""ata_cmd_data_in : read error\n"" does not give a valid preprocessing token
> rombios.c:2665:84: pasting "(" and ""ata_cmd_data_in : DRQ not set (status %02x)\n"" does not give a valid preprocessing token
>
>         rombios.c dated 01 May, 2005, size 276323 (freebios--devel--1.0--base-0.tar.bz2).
>
> Anyone succeded to compile ADLO recently?

This has been a problem for a while.  I just forgot to submit a patch.

The variable arguments in a macro handleing changed in gcc 3.x.

Either use gcc-2.95 or change all occurances of

BX_DEBUG(##a)
to
BX_DEBUG(a)

--
Richard A. Smith




More information about the coreboot mailing list