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@Mobulus:~/coreboot/filo$ cd libpayload/ corey@Mobulus:~/coreboot/filo/libpayload$ make menuconfig # # configuration written to .config #
*** End of libpayload configuration. *** Execute 'make' to build or try 'make help'.
corey@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@Mobulus:~/coreboot/filo/libpayload$ cd ../ corey@Mobulus:~/coreboot/filo$ make menuconfig # # configuration written to .config #
*** End of FILO configuration. *** Execute 'make' to build or try 'make help'.
corey@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
On Wed, Nov 05, 2008 at 02:39:11AM -0500, Corey Osgood wrote:
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.
The wiki needed a small fix (done).
After typing 'make' in libpayload, you have to also do:
$ make DESTDIR=../build install
The rest of the instructions will then work fine.
Uwe.
On 05/11/08 10:37 +0100, Uwe Hermann wrote:
On Wed, Nov 05, 2008 at 02:39:11AM -0500, Corey Osgood wrote:
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.
The wiki needed a small fix (done).
After typing 'make' in libpayload, you have to also do:
$ make DESTDIR=../build install
The rest of the instructions will then work fine.
You could also set LIBPAYLOAD_PREFIX=./libpayload.
Uwe.
http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
On Wed, Nov 05, 2008 at 09:12:05AM -0700, Jordan Crouse wrote:
On 05/11/08 10:37 +0100, Uwe Hermann wrote:
On Wed, Nov 05, 2008 at 02:39:11AM -0500, Corey Osgood wrote:
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.
The wiki needed a small fix (done).
After typing 'make' in libpayload, you have to also do:
$ make DESTDIR=../build install
The rest of the instructions will then work fine.
You could also set LIBPAYLOAD_PREFIX=./libpayload.
Yes, but that won't work in the current form of libpayload, as it's config.h collides with FILO's config.h (it's not a problem if you do the 'make DESTDIR=../build install' as that renames libpayload's config.h to libpayload-config.h. We could of course change that...
Uwe.