Date: Wed, 6 Dec 2006 11:00:33 +0800 From: "Zhao Tongyi" <zhaotongyi@gmail.com> To: freebsd-ppc@freebsd.org Subject: build error for openbios Message-ID: <380d4510612051900l29b3d36eo54653b1c78a8dc0f@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
First . I don't kown post the thread here in properly.I am sorry. but I don't kown where will be post it. I have read README file and #config/scripts/switch-arch cross-ppc #gmake /usr/local/bin/xsltproc Building OpenBIOS on x86 for ppc Cleaning up... ok Initializing build tree...ok. Creating target Makefile...ok. Creating config files...ok. Building...error: gmake[1]: Entering directory `/usr/home/icesky/openbios-devel' gcc -Os -Wall -W -DFCOMPILER -DBOOTSTRAP -USWAP_ENDIANNESS -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH -Iinclude -Ikernel/include -Iobj-ppc/target/include -c -o obj-ppc/host/kernel/bootstrap.o kernel/bootstrap.c In file included from include/openbios/sysinclude.h:5, from kernel/bootstrap.c:9: obj-ppc/target/include/asm/types.h:34:20: endian.h: No such file or directory gmake[1]: *** [obj-ppc/host/kernel/bootstrap.o] Error 1 gmake[1]: Leaving directory `/usr/home/icesky/openbios-devel' I check the types.h /* endianess */ #ifdef HAVE_ENDIAN_H #include <endian.h> #else #include <machine/endian.h> #endif two : which ofm are you used? how to build it? -- Best regards, Tongyi ,Zhao
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380d4510612051900l29b3d36eo54653b1c78a8dc0f>