Have you already seen this HOWTO? It doesn't address compiling new
modules directly, but it might be helpful in getting the initial
cross-compiler set up and working.
ftp://oz.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/ts-7260_kernel_compile_guide.txt
Don
On 6/26/2012 9:09 AM, Damian wrote:
Hello:
I am using a ts-7260 with the standard Linux installed. I am also trying to
compile a kernel modules using the crosscompiler offered by TS in an x86
architecture PC.I manage to create the module however when trying to compile it
like this:
-/home/damian/Desktop/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc
gps_driver.c -o executable -lm -mcpu=arm9 -Wall
I got the following error;
/home/damian/Desktop/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/sys-include/asm/arch/irqs.h:11:28:
asm/mach-types.h: No such file or directory
I follow the path described and there is no such file in the specified folder,
however some of the incli=ude file make reference of it.
I would like why that is happening.As always thank you all for any inputs
Damian
smime.p7s
Description: S/MIME Cryptographic Signature
|