|
为什么头文件会有那么多的错误呢???????请大侠们帮忙啊!敢时间完成爱!
[root@localhost arm]# arm-elf-gcc -msoft-float -mcpu=arm7tdmi -fomit-frame-pointer -fsigned-char -mcpu=arm7tdmi -Os -Wall -DEMBED -D_uclinux_
-D__KERNEL__ -c -elf2flt -o adc3 adc3.c
In file included from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/string.h:19,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/fs.h:23,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/capability.h:17,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/binfmts.h:5,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/sched.h:9,
from adc3.c:6:
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/asm/string.h:16: warning: conflicting types for built-in function `memcpy'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/asm/string.h:26: warning: conflicting types for built-in function `memset'
In file included from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/fs.h:23,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/capability.h:17,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/binfmts.h:5,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/sched.h:9,
from adc3.c:6:
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/string.h:79: warning: conflicting types for built-in function `memcmp'
In file included from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda_fs_i.h:14,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/fs.h:308,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/capability.h:17,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/binfmts.h:5,
from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/sched.h:9,
from adc3.c:6:
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:259: parse error before `u_quad_t'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:259: warning: no semicolon at end of struct or union
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:267: parse error before `va_bytes'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:267: warning: data definition has no type or storage class
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:268: parse error before `va_filerev'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:268: warning: data definition has no type or storage class
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:435: field `attr' has incomplete type
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:443: field `attr' has incomplete type
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:485: field `attr' has incomplete type
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:494: field `attr' has incomplete type
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:539: field `attr' has incomplete type
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:546: field `attr' has incomplete type
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/linux/coda.h:566: field `attr' has incomplete type
[root@localhost arm]# |
|