[OpenBIOS] build error at freebsd

Zhao Tongyi zhaotongyi at gmail.com
Wed Dec 6 07:34:27 CET 2006


I have fixed it ,
change types.h
#include "endian.h"
to
#include "autoconf.h"


On 06/12/06, Zhao Tongyi <zhaotongyi at gmail.com> wrote:
>
> 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
>
>
> --
> Best regards,
>
> Tongyi ,Zhao




-- 
Best regards,

Tongyi ,Zhao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openbios.org/pipermail/openbios/attachments/20061206/80601aa9/attachment.htm 


More information about the OpenBIOS mailing list