[coreboot] filo fails to compile

Corey Osgood corey.osgood at gmail.com
Wed Nov 5 08:39:11 CET 2008


Build host is Ubuntu 8.04.1, gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu3). I followed
the steps at coreboot.org/Filo, console output below. build.sh seems to work
fine.

Thanks,
Corey

corey at Mobulus:~/coreboot/filo$ cd libpayload/
corey at Mobulus:~/coreboot/filo/libpayload$ make menuconfig
#
# configuration written to .config
#


*** End of libpayload configuration.
*** Execute 'make' to build or try 'make help'.

corey at Mobulus:~/coreboot/filo/libpayload$ make
  CC      build/i386/head.S.o
  CC      build/i386/main.o
  CC      build/i386/sysinfo.o
  CC      build/i386/timer.o
  CC      build/i386/coreboot.o
  CC      build/i386/util.S.o
  CC      build/i386/exec.S.o
  CC      build/i386/virtual.o
  CC      build/crypto/sha1.o
  CC      build/libc/malloc.o
  CC      build/libc/printf.o
  CC      build/libc/console.o
  CC      build/libc/string.o
  CC      build/libc/memory.o
  CC      build/libc/ctype.o
  CC      build/libc/ipchecksum.o
  CC      build/libc/lib.o
  CC      build/libc/rand.o
  CC      build/libc/time.o
  CC      build/libc/lar.o
  CC      build/libc/exec.o
  CC      build/libc/readline.o
  CC      build/drivers/pci.o
  CC      build/drivers/speaker.o
  CC      build/drivers/serial.o
  CC      build/drivers/keyboard.o
  CC      build/drivers/nvram.o
  CC      build/drivers/options.o
  CC      build/drivers/video/video.o
  CC      build/drivers/video/vga.o
  CC      build/curses/keyboard.o
  CC      build/curses/tinycurses.o
  CC      build/curses/colors.o
  AR      build/lib/libpayload.a
corey at Mobulus:~/coreboot/filo/libpayload$ cd ../
corey at Mobulus:~/coreboot/filo$ make menuconfig
#
# configuration written to .config
#


*** End of FILO configuration.
*** Execute 'make' to build or try 'make help'.

corey at Mobulus:~/coreboot/filo$ make
  CC      build/i386/context.o
/home/corey/coreboot/filo/i386/context.c:24:24: error: libpayload.h: No such
file or directory
In file included from /home/corey/coreboot/filo/i386/context.c:27:
/home/corey/coreboot/filo/i386/context.h:24: error: expected
specifier-qualifier-list before 'u16'
/home/corey/coreboot/filo/i386/context.h:55: error: expected ')' before '*'
token
/home/corey/coreboot/filo/i386/context.c:41: error: unknown field 'gdt_base'
specified in initializer
/home/corey/coreboot/filo/i386/context.c:41: error: 'u32' undeclared here
(not in a function)
/home/corey/coreboot/filo/i386/context.c:41: warning: excess elements in
struct initializer
/home/corey/coreboot/filo/i386/context.c:41: warning: (near initialization
for 'main_ctx')
/home/corey/coreboot/filo/i386/context.c:41: error: expected '}' before
'gdt'
/home/corey/coreboot/filo/i386/context.c:59: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'image_stack'
/home/corey/coreboot/filo/i386/context.c: In function 'start_main':
/home/corey/coreboot/filo/i386/context.c:75: warning: implicit declaration
of function 'virt_to_phys'
/home/corey/coreboot/filo/i386/context.c:81: warning: implicit declaration
of function 'phys_to_virt'
/home/corey/coreboot/filo/i386/context.c:81: error: 'struct context' has no
member named 'eax'
/home/corey/coreboot/filo/i386/context.c: At top level:
/home/corey/coreboot/filo/i386/context.c:90: error: expected ')' before '*'
token
/home/corey/coreboot/filo/i386/context.c:127: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'start_elf'
make: *** [/home/corey/coreboot/filo/build/i386/context.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081105/93d576e0/attachment.html>


More information about the coreboot mailing list