Hello. I have ADLO shipped with LinuxBIOS v1. My working box has bcc: version 0.16.14 gcc version 3.3.4 as86 version: 0.16.15 I tried to compile bochs rom like this: # cd ~/ADLO/bochs/bios # make distclean # make 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? -- Sincerely, Anton Borisov
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
participants (2)
-
Anton Borisov -
Richard Smith