From owner-freebsd-arm@FreeBSD.ORG Mon Oct 30 20:39:04 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 D5EFC16A40F for ; Mon, 30 Oct 2006 20:39:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BE6543D60 for ; Mon, 30 Oct 2006 20:38:52 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k9UKbJVa079897; Mon, 30 Oct 2006 13:37:20 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 30 Oct 2006 13:37:45 -0700 (MST) Message-Id: <20061030.133745.887360854.imp@bsdimp.com> To: daimon@dev-random.org From: "M. Warner Losh" In-Reply-To: <20061030202732.GE6575@mail.secure.net> References: <20061030202732.GE6575@mail.secure.net> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 30 Oct 2006 13:37:20 -0700 (MST) Cc: arm@freebsd.org Subject: Re: 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:39:04 -0000 In message: <20061030202732.GE6575@mail.secure.net> David Sharp writes: : : 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. -current or stable? Warner