From owner-freebsd-ppc@FreeBSD.ORG Wed Dec 6 03:00:35 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F96916A403 for ; Wed, 6 Dec 2006 03:00:35 +0000 (UTC) (envelope-from zhaotongyi@gmail.com) Received: from nz-out-0102.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3116D43CA3 for ; Wed, 6 Dec 2006 02:59:51 +0000 (GMT) (envelope-from zhaotongyi@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so52591nzh for ; Tue, 05 Dec 2006 19:00:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=hejyCJRg4oRJzIq+N1YHsw0FouUMA+zfWBwLySZg4yMFNkhkiuQSWmaxusB/zOOjO0crTTf/GjxLEJqbrArCytw9bAC1tF11QHsGXJoMHJd4yvjnBWDlKYRZrssu1NHo3ZhaJoyilxGVHVF66WDaURxdPp94lAvphsVVIX6fgZs= Received: by 10.65.234.3 with SMTP id l3mr417970qbr.1165374033870; Tue, 05 Dec 2006 19:00:33 -0800 (PST) Received: by 10.65.232.9 with HTTP; Tue, 5 Dec 2006 19:00:33 -0800 (PST) Message-ID: <380d4510612051900l29b3d36eo54653b1c78a8dc0f@mail.gmail.com> Date: Wed, 6 Dec 2006 11:00:33 +0800 From: "Zhao Tongyi" To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: build error for openbios X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 03:00:35 -0000 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 #else #include #endif two : which ofm are you used? how to build it? -- Best regards, Tongyi ,Zhao