/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/sys-include/asm-generic/local.h:
In function `local_add':
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/sys-include/asm-generic/local.h:79:
error: invalid type argument of `->'
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/sys-include/asm-generic/local.h:79:
error: invalid type argument of `->'
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/sys-include/asm-generic/local.h:
In function `local_sub':
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/sys-include/asm-generic/local.h:86:
error: invalid type argument of `->'
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/sys-include/asm-generic/local.h:86:
error: invalid type argument of `->'
hellomod.c: In function `init_module':
hellomod.c:14: warning: implicit declaration of function `printk'
hellomod.c: In function `cleanup_module':
hellomod.c:20: error: `KERN_ALERT' undeclared (first use in this
function)
hellomod.c:20: error: parse error before string constant
hellomod.c: At top level:
hellomod.c:23: error: `module' undeclared here (not in a function)
hellomod.c:24: error: `module' undeclared here (not in a function)
hellomod.c:23: warning: `__initcall_module' defined but not used
hellomod.c:24: warning: `__exitcall_module' defined but not used
~]$ $PATH