From owner-freebsd-arm@FreeBSD.ORG Mon Oct 30 20:28:28 2006 Return-Path: X-Original-To: arm@freebsd.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB4A716A407 for ; Mon, 30 Oct 2006 20:28:28 +0000 (UTC) (envelope-from daimon@dev-random.org) Received: from sharp.org (sharp.org [161.58.2.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5605443D6B for ; Mon, 30 Oct 2006 20:28:22 +0000 (GMT) (envelope-from daimon@dev-random.org) Received: from betty.wa.sharp.org (sharp.org [161.58.2.117]) by sharp.org (8.12.11.20060614/8.12.9) with ESMTP id k9UKSKfr027190 for ; Mon, 30 Oct 2006 13:28:21 -0700 (MST) Received: from betty.wa.sharp.org (e5027c2d75b84f92fe8937c25d177f20@localhost [127.0.0.1]) by betty.wa.sharp.org (8.13.6/8.13.3) with ESMTP id k9UKRXbl027609 for ; Mon, 30 Oct 2006 12:27:33 -0800 (PST) (envelope-from daimon@dev-random.org) Received: (from djs@localhost) by betty.wa.sharp.org (8.13.6/8.13.6/Submit) id k9UKRWkp027608 for arm@freebsd.org; Mon, 30 Oct 2006 12:27:32 -0800 (PST) (envelope-from daimon@dev-random.org) X-Authentication-Warning: betty.wa.sharp.org: djs set sender to daimon@dev-random.org using -f Date: Mon, 30 Oct 2006 12:27:32 -0800 From: David Sharp To: arm@freebsd.org Message-ID: <20061030202732.GE6575@mail.secure.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Subject: trampoline X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 20:28:28 -0000 when doing a 'make trampoline' i get the errors: cc -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.arm.tramp ../../../arm/arm/elf_trampoline.c ../../../arm/arm/inckern.S ../../../arm/arm/cpufunc_asm_arm7tdmi.S ../../../arm/arm/cpufunc_asm_arm8.S ../../../arm/arm/cpufunc_asm_arm9.S ../../../arm/arm/cpufunc_asm_sa1.S ../../../arm/arm/cpufunc_asm_arm10.S ../../../arm/arm/cpufunc_asm_xscale.S ../../../arm/arm/cpufunc_asm.S -o kernel.tramp In file included from /usr/obj/arm/usr/src/tmp/usr/include/sys/elf32.h:32, from ../../../arm/arm/elf_trampoline.c:28: /usr/obj/arm/usr/src/tmp/usr/include/sys/elf_common.h:46: error: syntax error before "u_int32_t" In file included from ../../../arm/arm/elf_trampoline.c:28: /usr/obj/arm/usr/src/tmp/usr/include/sys/elf32.h:38: error: syntax error before "Elf32_Addr" /usr/obj/arm/usr/src/tmp/usr/include/sys/elf32.h:39: error: syntax error before adding #include toward the top of sys/arm/arm/elf_trampoline.c fixes it. someone with a commit bit may want to fix this. david.