Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2006 12:39:52 -0800
From:      David Sharp <daimon@dev-random.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        arm@freebsd.org
Subject:   Re: trampoline
Message-ID:  <20061030203952.GA27807@mail.secure.net>
In-Reply-To: <20061030.133745.887360854.imp@bsdimp.com>
References:  <20061030202732.GE6575@mail.secure.net> <20061030.133745.887360854.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-current as of an hour or two ago.


On 2006.10.30 13:37:45 +0000, M. Warner Losh wrote:
> In message: <20061030202732.GE6575@mail.secure.net>
>             David Sharp <daimon@dev-random.org> 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 <sys/types.h> 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
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061030203952.GA27807>