[U-Boot-Users] Recent git broken in drivers/bios_emulator?

Dirk Behme dirk.behme at googlemail.com
Tue Aug 7 18:42:10 CEST 2007


Jon Loeliger wrote:
> On Mon, 2007-08-06 at 11:44, Dirk Behme wrote:
>>besys.c: In function 'BE_memaddr':
>>besys.c:95: warning: pointer targets in return differ in signedness
>>besys.c: In function 'BE_inb':
>>besys.c:564: error: 'VIDEO_IO_OFFSET' undeclared (first use in this 
>>function)
...
>>bios.c: In function 'int42':
>>bios.c:77: error: 'VIDEO_IO_OFFSET' undeclared (first use in this 
>>function)
>>bios.c:77: error: (Each undeclared identifier is reported only once
>>bios.c:77: error: for each function it appears in.)
..
> Argh.  I specifically asked Jason before he sent out
> his patches to watch out for these cases and to guard
> all of the BIOS_EMU code with a CONFIG_HAS_BIOS_EMU
> sort of #if defined() for just exactly these sorts of
> problems.
> 
> *sigh*
> 
> Sorry.

A quick hackish patch for this below. For anybody who doesn't need bios
emulator and want their stuff to compile.

Signed-off-by: Dirk Behme <dirk.behme at gmail.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bios_emulator_patch.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20070807/fc04bab4/attachment.txt 


More information about the U-Boot mailing list