免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2601 | 回复: 1
打印 上一主题 下一主题

[驱动] 咨询在该网站的arm9261大牛们;;;虚心求教的小弟 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-12-12 10:30 |只看该作者 |倒序浏览
各位前辈大牛们好;;;
我用的环境是是
虚拟机下ubuntu11.04
内核;2.6.24
交叉编译器;linux-3.4.5和linux-3.4.1
想要编译一个9261板用的摄像头驱动;;;在make后出现了如下错误
请各位大神大牛们耐心教导小弟;;;将不胜感激
用的是万能驱动gspcav1-20071224
做法是照着 做的
求指导
  1. root@ubuntu:/opt/87197422gspcav1-20071224/gspcav1-20071224# make
  2. make -C /opt/linux-2.6.24 SUBDIRS=/opt/87197422gspcav1-20071224/gspcav1-20071224 CC=/opt/3.4.1/bin/arm-linux-gcc modules
  3. make[1]: Entering directory `/opt/linux-2.6.24'
  4.   CC [M]  /opt/87197422gspcav1-20071224/gspcav1-20071224/gspca_core.o
  5. cc1: error: invalid option `64'
  6. cc1: error: invalid option `no-red-zone'
  7. cc1: error: invalid option `cmodel=kernel'
  8. cc1: error: invalid option `accumulate-outgoing-args'
  9. make[2]: *** [/opt/87197422gspcav1-20071224/gspcav1-20071224/gspca_core.o] Error 1
  10. make[1]: *** [_module_/opt/87197422gspcav1-20071224/gspcav1-20071224] Error 2
  11. make[1]: Leaving directory `/opt/linux-2.6.24'
  12. make: *** [default] Error 2
复制代码

cc1错误.jpg (71.83 KB, 下载次数: 31)

cc1错误.jpg

论坛徽章:
0
2 [报告]
发表于 2012-12-12 19:06 |只看该作者
makefile  内容?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP