newman0708@debian:/work/eclipse_projects/TQ2440_Test/src$ make
arm-linux-gcc -I"../inc/" -S -Wall -O2 -c 2440init.s -o 2440init.o
arm-linux-gcc -I"../inc/" -S -Wall -O2 -c 2440slib.s -o 2440slib.o
arm-linux-gcc -I"../inc/" -S -Wall -O2 -c Main.c -o Main.o
In file included from Main.c:11:
../inc/2440addr.h: In function `ClearPending':
../inc/2440addr.h:677: warning: type defaults to `int' in declaration of `i'
../inc/2440addr.h: In function `ClearSubPending':
../inc/2440addr.h:685: warning: type defaults to `int' in declaration of `i'
In file included from Main.c:12:
../inc/2440lib.h:27:1: warning: "NULL" redefined
In file included from /work/tools/gcc-3.4.5-glibc-2.3.6/lib/gcc/arm-linux/3.4.5/../../../../arm-linux/sys-include/string.h:33,
from Main.c:8:
/work/tools/gcc-3.4.5-glibc-2.3.6/lib/gcc/arm-linux/3.4.5/include/stddef.h:402:1: warning: this is the location of the previous definition
Main.c: At top level:
Main.c:18: error: stray '$' in program
Main.c:18: error: stray '$' in program
Main.c:18: error: syntax error before "RO"
Main.c:18: error: stray '$' in program
Main.c:18: error: stray '$' in program
Main.c:18: warning: type defaults to `int' in declaration of `Limit'
Main.c:18: warning: data definition has no type or storage class
Main.c:19: error: stray '$' in program
Main.c:19: error: stray '$' in program
Main.c:19: error: syntax error before "RO"
Main.c:19: error: stray '$' in program
Main.c:19: error: stray '$' in program
Main.c:19: warning: type defaults to `int' in declaration of `Base'
Main.c:19: warning: data definition has no type or storage class
Main.c:20: error: stray '$' in program
Main.c:20: error: stray '$' in program
Main.c:20: error: syntax error before "RW"
Main.c:20: error: stray '$' in program
Main.c:20: error: stray '$' in program
Main.c:20: warning: type defaults to `int' in declaration of `Limit'
Main.c:20: warning: data definition has no type or storage class
Main.c:21: error: stray '$' in program
Main.c:21: error: stray '$' in program
Main.c:21: error: syntax error before "RW"
Main.c:21: error: stray '$' in program
Main.c:21: error: stray '$' in program
Main.c:21: warning: type defaults to `int' in declaration of `Base'
Main.c:21: warning: data definition has no type or storage class
Main.c:22: error: stray '$' in program
Main.c:22: error: stray '$' in program
Main.c:22: error: syntax error before "ZI"
Main.c:22: error: stray '$' in program
Main.c:22: error: stray '$' in program
Main.c:22: warning: type defaults to `int' in declaration of `Limit'
Main.c:22: warning: data definition has no type or storage class
Main.c:23: error: stray '$' in program
Main.c:23: error: stray '$' in program
Main.c:23: error: syntax error before "ZI"
Main.c:23: error: stray '$' in program
Main.c:23: error: stray '$' in program
Main.c:23: warning: type defaults to `int' in declaration of `Base'
Main.c:23: warning: data definition has no type or storage class
Main.c:67: error: stray '$' in program
Main.c:67: error: stray '$' in program
Main.c:67: error: syntax error before "RW"
Main.c:67: error: stray '$' in program
Main.c:67: error: stray '$' in program
Main.c:67: warning: type defaults to `int' in declaration of `Limit'
Main.c:67: warning: data definition has no type or storage class
Main.c:68: error: stray '$' in program
Main.c:68: error: stray '$' in program
Main.c:68: error: `Image' undeclared here (not in a function)
Main.c:68: error: syntax error before "RW"
Main.c:68: error: stray '$' in program
Main.c:68: error: stray '$' in program
Main.c: In function `Clk0_Enable':
Main.c:312: warning: suggest parentheses around arithmetic in operand of |
Main.c:313: warning: suggest parentheses around arithmetic in operand of |
Main.c: In function `Clk1_Enable':
Main.c:317: warning: suggest parentheses around arithmetic in operand of |
Main.c:318: warning: suggest parentheses around arithmetic in operand of |
Main.c: At top level:
Main.c:67: warning: array 'Limit' assumed to have one element
Main.c:23: warning: array 'Base' assumed to have one element
make: *** [Main.o] Error 1