mag frontier openinkpot kexec-hanlin linux-2 11 make CROSS_COMPILE arm

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
[mag@frontier:~/openinkpot/kexec-hanlin/linux-2.6.11.7]2% make CROSS_COMPILE=arm-9tdmi-linux-gnu- ARCH=arm scripts/mod/modpost
arm-9tdmi-linux-gnu-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fno-omit-frame-pointer -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mlittle-endian -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -Uarm -D__KERNEL__ -Iinclude scripts/mod/modpost.c -o scripts/mod/modpost
In file included from scripts/mod/modpost.c:15:
scripts/mod/modpost.h:12:23: elfconfig.h: No such file or directory
scripts/mod/modpost.c: In function `handle_modversions':
scripts/mod/modpost.c:346: error: `MODULE_SYMBOL_PREFIX' undeclared (first use in this function)
scripts/mod/modpost.c:346: error: (Each undeclared identifier is reported only once
scripts/mod/modpost.c:346: error: for each function it appears in.)
scripts/mod/modpost.c:346: error: parse error before string constant
scripts/mod/modpost.c:348: error: parse error before string constant
scripts/mod/modpost.c:352: error: case label not within a switch statement
scripts/mod/modpost.c:361: error: parse error before string constant
scripts/mod/modpost.c:379: error: `default' label not within a switch statement
scripts/mod/modpost.c:381: error: parse error before string constant
scripts/mod/modpost.c:337: warning: unused variable `crc'
scripts/mod/modpost.c:351: error: break statement not within loop or switch
scripts/mod/modpost.c:356: error: break statement not within loop or switch
scripts/mod/modpost.c:359: error: break statement not within loop or switch
scripts/mod/modpost.c:368: error: break statement not within loop or switch
scripts/mod/modpost.c:378: error: break statement not within loop or switch
make: *** [scripts/mod/modpost] Error 1
[mag@frontier:~/openinkpot/kexec-hanlin/linux-2.6.11.7]2%