|
发表于 2008-7-27 17:41:56
|
显示全部楼层
我的板子内核是2.4.27-vrsl,驱动是RT73_Linux_STA_Drv1.0.4.0 (rt73) ,也出现如上错误,dos2unix后,确实错误少了很多,但还是没编译出结果,编译器用的2.95.3,主要修改了Makefile文件和Configure文件,不知道有编译成功的高人能否指点一二,
报错如下:
[root@localhost Module]# make
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/EBD2410/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -march=armv4 -DMODULE -DMODVERSIONS -include /root/EBD2410/include/linux/modversions.h -Wall -Wstrict-prototypes -Wno-trigraphs -c -o rtmp_main.o rtmp_main.c
In file included from /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/pci.h:6,
from /root/EBD2410/include/linux/pci.h:616,
from rt_config.h:73,
from rtmp_main.c:40:
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/arch/hardware.h:16: asm/mach-types.h: No such file or directory
In file included from /root/EBD2410/include/linux/netdevice.h:458,
from rt_config.h:74,
from rtmp_main.c:40:
/root/EBD2410/include/linux/interrupt.h:77: warning: `__cpu_raise_softirq' redefined
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/softirq.h:14: warning: this is the location of the previous definition
In file included from /root/EBD2410/include/linux/netdevice.h:458,
from rt_config.h:74,
from rtmp_main.c:40:
/root/EBD2410/include/linux/interrupt.h:79: parse error before `do'
/root/EBD2410/include/linux/interrupt.h: In function `tasklet_disable_nosync':
/root/EBD2410/include/linux/interrupt.h:175: warning: implicit declaration of function `smp_mb__after_atomic_inc'
make: *** [rtmp_main.o] Error 1
[root@localhost Module]# vi Makefile
You have new mail in /var/spool/mail/root
[root@localhost Module]# |
|