[coreboot] Solution to: filo build failure: get_multiboot_info is undefined

Peter Stuge peter at stuge.se
Sat Sep 26 19:19:52 CEST 2009


Ken.Fuchs at bench.com wrote:
> >   LD      build/filo
> >
> /home/fuchsk/coreboot/filo/build/libpayload/lib/libpayload.a(sysinfo.o):
> \ 
> > In function `lib_get_sysinfo':
> > sysinfo.c:(.text+0x18): undefined reference to `get_multiboot_info'
> > make: *** [/home/fuchsk/coreboot/filo/build/filo] Error 1
> > $
> 
> --- Summary ---
> 
> libpayload was simply missing the CONFIG_MULTIBOOT option.

Looking closer at this, it seems very strange. This is the code in
sysinfo.c:

#ifdef CONFIG_MULTIBOOT
        /* Get the information from the multiboot tables,
         * if they exist */
        get_multiboot_info(&lib_sysinfo);
#endif

Can anyone say why this wouldn't work properly?


//Peter




More information about the coreboot mailing list