[SeaBIOS] Question about linker building seabios

Kevin O'Connor kevin at koconnor.net
Sat Jan 15 21:16:38 CET 2011


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



More information about the SeaBIOS mailing list