Keven,

here is the patch, i hope yoiu can see what i'm doing wrong :-)

Marc

-----Original Message-----
From: Kevin O'Connor <kevin@koconnor.net>
To: Marc Bertens <mbertens@xs4all.nl>
Cc: seabios@seabios.org
Subject: Re: [SeaBIOS] Question about linker building seabios
Date: Sat, 15 Jan 2011 15:16:38 -0500

On Sat, Jan 15, 2011 at 09:07:55PM +0100, Marc Bertens wrote:
> Hi Kevin,
> 
> Fixed the error on the linker, but now i got another error which i don't
> understand, can you help me ?
> 
> make
>   Compiling whole program out/ccode.16.s
>   Compiling (16bit) out/code16.o
>   Compiling whole program out/ccode32flat.o
>   Building ld scripts (version
> "pre-0.6.2-20110115_181202-mbertens-desktop")
> Fixed space: 0xe05b-0x10000  total: 8101  slack: 15  Percent slack: 0.2%
> 16bit size:           37904
> 32bit segmented size: 2217
> 32bit flat size:      14007
> 32bit flat init size: 38848
> Traceback (most recent call last):
>   File "./tools/layoutrom.py", line 579, in <module>
>     main()
>   File "./tools/layoutrom.py", line 576, in main
>     writeLinkerScripts(sections, entrysym, genreloc, out16, out32seg,
> out32flat)
>   File "./tools/layoutrom.py", line 257, in writeLinkerScripts
>     + COMMONTRAILER)
> TypeError: %x format: a number is required, not NoneType
> make: *** [out/romlayout16.lds] Error 1

Something went wrong with the build.  Try "make clean ; make" - if
that doesn't fix it, send the patch you've tried to apply.

-Kevin