[SeaBIOS] Unable to compile under NetBSD with gcc 4.1.3

Roger Pau Monne roger.pau at citrix.com
Fri Sep 14 14:48:13 CEST 2012


Kevin O'Connor wrote:
> On Fri, Sep 14, 2012 at 10:02:03AM +0100, Roger Pau Monne wrote:
>> Hello,
>>
>> I'm trying to compile SeaBIOS under NetBSD 5.1.2, that comes with gcc
>> 4.1.3, and I'm getting the following error (I'm pasting the whole build
>> log, since it's not really long, and may help in debugging):
> [...]
>> out/romlayout32flat.lds:2042: undefined symbol `code32flat_start'
>> referenced in expression
>> gmake: *** [out/rom.o] Error 1
>>
>> This error only happens when compiling with gcc 4.1.3, with gcc 4.5.3
>> (under NetBSD also) the build process is successful. Since I guess it's
>> a compiler problem, is there anyway I can workaround this issue?
> 
> That's odd.  Can you run "make clean; make" and then email me a tar
> file with the contents of the "out/" directory?

Since the file is quite big, I've uploaded it to a http server, you can
find it at:

http://xenbits.xen.org/people/royger/out.tar.gz

Thanks, Roger.



More information about the SeaBIOS mailing list