The libpayload and filo code is from repos r4671.
Summary of the error:
... 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 $
Downloaded code via http://tracker.coreboot.org/trac/coreboot/browser/trunk/payloads & http://tracker.coreboot.org/trac/filo/browser/trunk and the zip download links at the bottom of each page. Extracted onto a relatively current (1-2 months old), trim (~600MB) Debian system.
libpayload was built as follows:
$ pushd ~/coreboot/trunk/payloads/libpayload $ make clean $ make defconfig $ make $ make DESTDIR=../../../filo/build install $ pushd ../../../filo/ $ make menuconfig <Save config without making any (new) selections.> $ make CC build/i386/context.o AS build/i386/switch.S.o CC build/i386/segment.o CC build/i386/timer.o CC build/i386/sys_info.o CC build/i386/linux_load.o CC build/main/filo.o CC build/main/strtox.o CC build/main/elfload.o CC build/main/elfnote.o CC build/main/ipchecksum.o CC build/main/grub/grub.o CC build/main/grub/builtins.o CC build/main/grub/cmdline.o CC build/main/grub/char_io.o CC build/main/grub/completions.o CC build/main/grub/md5.o CC build/fs/blockdev.o CC build/fs/vfs.o CC build/fs/eltorito.o CC build/fs/fsys_ext2fs.o CC build/fs/fsys_fat.o CC build/fs/fsys_reiserfs.o CC build/fs/fsys_iso9660.o CC build/fs/fsys_cbfs.o In file included from /home/fuchsk/coreboot/filo/fs/fsys_cbfs.c:21: include/cbfs.h:160: warning: â declared inside parameter list include/cbfs.h:160: warning: its scope is only this definition or declaration, \ which is probably not what you want CC build/fs/cbfs.o In file included from /home/fuchsk/coreboot/filo/fs/cbfs.c:22: include/cbfs.h:160: warning: â declared inside parameter list include/cbfs.h:160: warning: its scope is only this definition or declaration, \ which is probably not what you want /home/fuchsk/coreboot/filo/fs/cbfs.c: In function â: /home/fuchsk/coreboot/filo/fs/cbfs.c:88: warning: assignment makes integer from\ pointer without a cast /home/fuchsk/coreboot/filo/fs/cbfs.c:108: warning: comparison between pointer a\ nd integer CC build/fs/lzma.o CC build/drivers/ide.o CC build/drivers/intel.o CC build/drivers/newusb/usb.o LD build/filo /home/fuchsk/coreboot/filo/build/libpayload/lib/libpayload.a(sysinfo.o): In fun\ ction `lib_get_sysinfo': sysinfo.c:(.text+0x18): undefined reference to `get_multiboot_info' make: *** [/home/fuchsk/coreboot/filo/build/filo] Error 1 $
Any suggestions for resolving this error?
Sincerely,
Ken Fuchs