当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 请教:编译安装一个JTAG 驱动出现的问题!!!
帖子发表于 : 2007-07-03 8:48 

注册: 2007-06-08 21:27
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
我在 Ubuntu 7.04 下面安装一个可以在 redhat linux 下面能安装的的 JTAG 驱动,编译的时候提示如下的错误。
linux_wrappers.c:590: error: incompatible types in assignment
是说,不兼容。 我没有改任何的源代码,怎么会出现这样的错误了?????????????




--Installing windrvr6---------------------------------------------
--Checking version.
--File /lib/modules/2.6.20-16-generic/kernel/drivers/misc/windrvr6.ko does not exist.
--File LINUX.2.6.20-16-generic.i386/windrvr6.ko does not exist.
--Setting source version to 900.
--File LINUX.2.6.20-16-generic.i386/windrvr6.ko is newer than the destination file.
loading cache ./config.cache
checking for cpu architecture... i386
checking for WinDriver root directory... /home/install_drivers/linux_drivers/windriver32
checking for linux kernel source... found at /lib/modules/2.6.20-16-generic/build
checking for lib directory... ln -sf $(ROOT_DIR)/lib/$(SHARED_OBJECT).so /usr/lib/$(SHARED_OBJECT).so
checking which directories to include... -I/lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default
checking linux kernel version... 2.6.20-16-generic
checking for modules installation directory... /lib/modules/2.6.20-16-generic/kernel/drivers/misc
checking for gcc kernel version... 4
checking output directory... LINUX.2.6.20-16-generic.i386
checking target... LINUX.2.6.20-16-generic.i386/windrvr6.ko
checking for usb support... yes
checking for regparm kernel option... 1
checking for right linked object... windrvr_gcc_v3_regparm.a
checking for modpost location... /lib/modules/2.6.20-16-generic/build/scripts/mod/modpost
checking for udev support... no
creating ./config.status
creating makefile
rm -f core LINUX.2.6.20-16-generic.i386/windrvr6.ko LINUX.2.6.20-16-generic.i386/*
cc -c -O2 -Wall -DLINUX -D__KERNEL__ -DMODULE -DWINDRIVER_KERNEL -DLINUX_USB_SUPPORT -mpreferred-stack-boundary=2 -mregparm=3 -nostdinc -iwithprefix include -Wstrict-prototypes -Wno-trigraphs -fno-common -pipe -O -I/lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/home/install_drivers/linux_drivers/windriver32/include -I/home/install_drivers/linux_drivers/windriver32 -fno-strict-aliasing -D"KBUILD_STR(s)=#s" -D"KBUILD_MODNAME=KBUILD_STR(windrvr6)" -D"KBUILD_BASENAME=KBUILD_STR(windrvr6)" -include /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h -c -o LINUX.2.6.20-16-generic.i386/linux_wrappers.o linux_wrappers.c
In file included from /lib/modules/2.6.20-16-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.20-16-generic/build/include/linux/list.h:8,
from /lib/modules/2.6.20-16-generic/build/include/linux/pci.h:48,
from linux_wrappers.c:19:
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h: In function 'cpuid_count':
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of '__cpuid' differ in signedness
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of '__cpuid' differ in signedness
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of '__cpuid' differ in signedness
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of '__cpuid' differ in signedness
linux_wrappers.c: In function 'LINUX_bh_alloc':
linux_wrappers.c:590: error: incompatible types in assignment
linux_wrappers.c:592: warning: assignment from incompatible pointer type
linux_wrappers.c: In function 'LINUX_request_irq':
linux_wrappers.c:678: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make: *** [LINUX.2.6.20-16-generic.i386/linux_wrappers.o] Error 1
cc -c -O2 -Wall -DLINUX -D__KERNEL__ -DMODULE -DWINDRIVER_KERNEL -DLINUX_USB_SUPPORT -mpreferred-stack-boundary=2 -mregparm=3 -nostdinc -iwithprefix include -Wstrict-prototypes -Wno-trigraphs -fno-common -pipe -O -I/lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/home/install_drivers/linux_drivers/windriver32/include -I/home/install_drivers/linux_drivers/windriver32 -fno-strict-aliasing -D"KBUILD_STR(s)=#s" -D"KBUILD_MODNAME=KBUILD_STR(windrvr6)" -D"KBUILD_BASENAME=KBUILD_STR(windrvr6)" -include /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h -c -o LINUX.2.6.20-16-generic.i386/linux_wrappers.o linux_wrappers.c
In file included from /lib/modules/2.6.20-16-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.20-16-generic/build/include/linux/list.h:8,
from /lib/modules/2.6.20-16-generic/build/include/linux/pci.h:48,
from linux_wrappers.c:19:
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h: In function 'cpuid_count':
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of '__cpuid' differ in signedness
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of '__cpuid' differ in signedness
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of '__cpuid' differ in signedness
/lib/modules/2.6.20-16-generic/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of '__cpuid' differ in signedness
linux_wrappers.c: In function 'LINUX_bh_alloc':
linux_wrappers.c:590: error: incompatible types in assignment
linux_wrappers.c:592: warning: assignment from incompatible pointer type
linux_wrappers.c: In function 'LINUX_request_irq':
linux_wrappers.c:678: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make: *** [LINUX.2.6.20-16-generic.i386/linux_wrappers.o] Error 1
--make windrvr install rc= 2
--install_windrvr6 rc = 2
--Module windrvr6 is not running.
--Module xpc4drvr is not running.
--Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only
and must be changed to allow access to other users.


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译