|
楼主 |
发表于 2006-7-28 15:45:58
|
显示全部楼层
jiangtao9999老大,我将指向asm-i386的asm改为指向arm,
#rm -rf asm
#ln -s -d asm-arm asm
结果如下:
[root@localhost include]# ll
总用量 108
lrwxrwxrwx 1 root root 7 7月 28 14:48 asm -> asm-arm
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-alpha
drwxr-xr-x 21 root root 4096 7月 28 14:47 asm-arm
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-cris
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-generic
drwxr-xr-x 2 root root 4096 7月 28 14:46 asm-i386
drwxr-xr-x 3 root root 4096 7月 10 23:23 asm-ia64
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-m68k
drwxr-xr-x 18 root root 4096 7月 10 23:23 asm-mips
drwxr-xr-x 11 root root 4096 7月 10 23:23 asm-mips64
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-parisc
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-ppc
drwxr-xr-x 3 root root 4096 7月 10 23:23 asm-ppc64
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-s390
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-s390x
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-sh
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-sparc
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-sparc64
drwxr-xr-x 2 root root 4096 7月 10 23:23 asm-x86_64
drwxr-xr-x 14 root root 12288 7月 10 23:23 linux
drwxr-xr-x 2 root root 4096 7月 10 23:23 math-emu
drwxr-xr-x 4 root root 4096 7月 10 23:23 net
drwxr-xr-x 2 root root 4096 7月 10 23:23 pcmcia
drwxr-xr-x 2 root root 4096 7月 10 23:23 rxrpc
drwxr-xr-x 2 root root 4096 7月 10 23:23 scsi
drwxr-xr-x 2 root root 4096 7月 10 23:23 video
[root@localhost include]#
对网卡驱动程序make之后,又出现如下错误了
[root@localhost RT25USB-SRC-V2.0.7.0]# ls
assoc.c rt2570sw.h rtusb_info.c
auth.c rt_config.h rtusb_init.c
auth_rsp.c md5.c rtmp_ckipmic.h rtusb_io.c
config.mk md5.h rtmp_def.h rtusb_main.c
config.new mlme.c rtmp_tkip.c sanity.c
Configure mlme.h rtmp_type.h sha1.h
connect.c oid.h rtmp_wep.c Stdincl.h
iwpriv_usage.txt readme rtusb_bulk.c sync.c
LINUX_RACONFIG_V2.0.0.7 ReleaseNote rtusb_data.c wpa.c
Makefile rt2570.h rtusb.h wpa.h
[root@localhost RT25USB-SRC-V2.0.7.0]# make
arm-linux-gcc -DRT2500_DBG -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -Wall -Wstrict-prototypes -Wno-trigraphs -c -o rtusb_main.o rtusb_main.c
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
from rt_config.h:60,
from rtusb_main.c:38:
/usr/src/linux-2.4.20-8/include/asm/processor.h:39:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:900,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
from rt_config.h:60,
from rtusb_main.c:38:
/usr/src/linux-2.4.20-8/include/asm/processor.h:40:1: warning: "MCA_bus" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:900,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/i386_ksyms.ver:226:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-8/include/asm/pci.h:19,
from /usr/src/linux-2.4.20-8/include/linux/pci.h:657,
from rt_config.h:68,
from rtusb_main.c:38:
/usr/src/linux-2.4.20-8/include/asm/io.h:147:1: warning: "iounmap" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:900,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/i386_ksyms.ver:159:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-8/include/asm/semaphore.h:10,
from /usr/src/linux-2.4.20-8/include/linux/fs.h:200,
from /usr/src/linux-2.4.20-8/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-8/include/linux/binfmts.h:4,
from /usr/src/linux-2.4.20-8/include/linux/sched.h:10,
from /usr/src/linux-2.4.20-8/include/linux/skbuff.h:19,
from /usr/src/linux-2.4.20-8/include/linux/netdevice.h:147,
from rt_config.h:69,
from rtusb_main.c:38:
/usr/src/linux-2.4.20-8/include/linux/rwsem.h:29:65: asm/rwsem.h: 没有那个文件或目录
In file included from /usr/src/linux-2.4.20-8/include/asm/semaphore.h:10,
from /usr/src/linux-2.4.20-8/include/linux/fs.h:200,
from /usr/src/linux-2.4.20-8/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-8/include/linux/binfmts.h:4,
from /usr/src/linux-2.4.20-8/include/linux/sched.h:10,
from /usr/src/linux-2.4.20-8/include/linux/skbuff.h:19,
from /usr/src/linux-2.4.20-8/include/linux/netdevice.h:147,
from rt_config.h:69,
from rtusb_main.c:38:
/usr/src/linux-2.4.20-8/include/linux/rwsem.h: In function `down_read':
/usr/src/linux-2.4.20-8/include/linux/rwsem.h:46: warning: implicit declaration
of function `__down_read_R6ebd46a5'
/usr/src/linux-2.4.20-8/include/linux/rwsem.h: In function `down_read_trylock':
/usr/src/linux-2.4.20-8/include/linux/rwsem.h:57: warning: implicit declaration
of function `__down_read_trylock_Ra1529dcc'
/usr/src/linux-2.4.20-8/include/linux/rwsem.h: In function `down_write':
/usr/src/linux-2.4.20-8/include/linux/rwsem.h:68: warning: implicit declaration
of function `__down_write_R7fd54c5c'
/usr/src/linux-2.4.20-8/include/linux/rwsem.h: In function `down_write_trylock':/usr/src/linux-2.4.20-8/include/linux/rwsem.h:79: warning: implicit declaration
of function `__down_write_trylock_R99c5de2a'
/usr/src/linux-2.4.20-8/include/linux/rwsem.h: In function `up_read':
/usr/src/linux-2.4.20-8/include/linux/rwsem.h:90: warning: implicit declaration
of function `__up_read_R5783e8ec'
/usr/src/linux-2.4.20-8/include/linux/rwsem.h: In function `up_write':
/usr/src/linux-2.4.20-8/include/linux/rwsem.h:100: warning: implicit declaration of function `__up_write_R70ec8bc6'
In file included from /usr/src/linux-2.4.20-8/include/linux/fs.h:298,
from /usr/src/linux-2.4.20-8/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-8/include/linux/binfmts.h:4,
from /usr/src/linux-2.4.20-8/include/linux/sched.h:10,
from /usr/src/linux-2.4.20-8/include/linux/skbuff.h:19,
from /usr/src/linux-2.4.20-8/include/linux/netdevice.h:147,
from rt_config.h:69,
from rtusb_main.c:38:
/usr/src/linux-2.4.20-8/include/linux/ext3_fs_i.h: At top level:
/usr/src/linux-2.4.20-8/include/linux/ext3_fs_i.h:75: field `truncate_sem' has incomplete type
In file included from /usr/src/linux-2.4.20-8/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-8/include/linux/binfmts.h:4,
from /usr/src/linux-2.4.20-8/include/linux/sched.h:10,
from /usr/src/linux-2.4.20-8/include/linux/skbuff.h:19,
from /usr/src/linux-2.4.20-8/include/linux/netdevice.h:147,
from rt_config.h:69,
from rtusb_main.c:38:
/usr/src/linux-2.4.20-8/include/linux/fs.h:757: field `s_umount' has incomplete
type
/usr/src/linux-2.4.20-8/include/linux/fs.h:1054: confused by earlier errors, bailing out
make: *** [rtusb_main.o] Error 1
[root@localhost RT25USB-SRC-V2.0.7.0]#
jiangtao9999老大,帮忙看看哪里出错的啊!! |
|