Build host is Ubuntu 8.04.1, gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu3). I followed the steps at <a href="http://coreboot.org/Filo">coreboot.org/Filo</a>, console output below. build.sh seems to work fine.<br><br>Thanks,<br>Corey<br>
<br>corey@Mobulus:~/coreboot/filo$ cd libpayload/<br>corey@Mobulus:~/coreboot/filo/libpayload$ make menuconfig<br>#<br># configuration written to .config<br>#<br><br><br>*** End of libpayload configuration.<br>*** Execute 'make' to build or try 'make help'.<br>
<br>corey@Mobulus:~/coreboot/filo/libpayload$ make<br>  CC      build/i386/head.S.o<br>  CC      build/i386/main.o<br>  CC      build/i386/sysinfo.o<br>  CC      build/i386/timer.o<br>  CC      build/i386/coreboot.o<br>  CC      build/i386/util.S.o<br>
  CC      build/i386/exec.S.o<br>  CC      build/i386/virtual.o<br>  CC      build/crypto/sha1.o<br>  CC      build/libc/malloc.o<br>  CC      build/libc/printf.o<br>  CC      build/libc/console.o<br>  CC      build/libc/string.o<br>
  CC      build/libc/memory.o<br>  CC      build/libc/ctype.o<br>  CC      build/libc/ipchecksum.o<br>  CC      build/libc/lib.o<br>  CC      build/libc/rand.o<br>  CC      build/libc/time.o<br>  CC      build/libc/lar.o<br>
  CC      build/libc/exec.o<br>  CC      build/libc/readline.o<br>  CC      build/drivers/pci.o<br>  CC      build/drivers/speaker.o<br>  CC      build/drivers/serial.o<br>  CC      build/drivers/keyboard.o<br>  CC      build/drivers/nvram.o<br>
  CC      build/drivers/options.o<br>  CC      build/drivers/video/video.o<br>  CC      build/drivers/video/vga.o<br>  CC      build/curses/keyboard.o<br>  CC      build/curses/tinycurses.o<br>  CC      build/curses/colors.o<br>
  AR      build/lib/libpayload.a<br>corey@Mobulus:~/coreboot/filo/libpayload$ cd ../<br>corey@Mobulus:~/coreboot/filo$ make menuconfig<br>#<br># configuration written to .config<br>#<br><br><br>*** End of FILO configuration.<br>
*** Execute 'make' to build or try 'make help'.<br><br>corey@Mobulus:~/coreboot/filo$ make<br>  CC      build/i386/context.o<br>/home/corey/coreboot/filo/i386/context.c:24:24: error: libpayload.h: No such file or directory<br>
In file included from /home/corey/coreboot/filo/i386/context.c:27:<br>/home/corey/coreboot/filo/i386/context.h:24: error: expected specifier-qualifier-list before 'u16'<br>/home/corey/coreboot/filo/i386/context.h:55: error: expected ')' before '*' token<br>
/home/corey/coreboot/filo/i386/context.c:41: error: unknown field 'gdt_base' specified in initializer<br>/home/corey/coreboot/filo/i386/context.c:41: error: 'u32' undeclared here (not in a function)<br>/home/corey/coreboot/filo/i386/context.c:41: warning: excess elements in struct initializer<br>
/home/corey/coreboot/filo/i386/context.c:41: warning: (near initialization for 'main_ctx')<br>/home/corey/coreboot/filo/i386/context.c:41: error: expected '}' before 'gdt'<br>/home/corey/coreboot/filo/i386/context.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'image_stack'<br>
/home/corey/coreboot/filo/i386/context.c: In function 'start_main':<br>/home/corey/coreboot/filo/i386/context.c:75: warning: implicit declaration of function 'virt_to_phys'<br>/home/corey/coreboot/filo/i386/context.c:81: warning: implicit declaration of function 'phys_to_virt'<br>
/home/corey/coreboot/filo/i386/context.c:81: error: 'struct context' has no member named 'eax'<br>/home/corey/coreboot/filo/i386/context.c: At top level:<br>/home/corey/coreboot/filo/i386/context.c:90: error: expected ')' before '*' token<br>
/home/corey/coreboot/filo/i386/context.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'start_elf'<br>make: *** [/home/corey/coreboot/filo/build/i386/context.o] Error 1<br><br>