天嵌 ARM开发社区

 找回密码
 注册
查看: 1756|回复: 6

(求助)make zImage 时出现的错误

[复制链接]
alphanuman 发表于 2013-6-30 12:41:12 | 显示全部楼层 |阅读模式
在编译开发包里的linux源码时,报出以下错误,求教。
CC      drivers/input/keyboard/tq2440_buttons.o
drivers/input/keyboard/tq2440_buttons.c: In function 'tq2440_keys_suspend':
drivers/input/keyboard/tq2440_buttons.c:546: error: dereferencing pointer to incomplete type
drivers/input/keyboard/tq2440_buttons.c:547: error: dereferencing pointer to incomplete type
drivers/input/keyboard/tq2440_buttons.c: In function 'tq2440_keys_resume':
drivers/input/keyboard/tq2440_buttons.c:565: error: dereferencing pointer to incomplete type
drivers/input/keyboard/tq2440_buttons.c:567: error: dereferencing pointer to incomplete type

linux版本为linux-2.6.30.4 ,编译器为arm-linux-gcc  4.3.3,都是光盘里面解压缩出来的。

 楼主| alphanuman 发表于 2013-6-30 15:43:43 | 显示全部楼层
没有人知道吗,我直接编译光盘中的内核就出错了,感觉应该是驱动里面有点bug
回复

使用道具 举报

TQ-lkp 发表于 2013-7-1 09:01:49 | 显示全部楼层
有没有拷贝配置单?
回复

使用道具 举报

亚瑟王 发表于 2013-7-1 11:27:43 | 显示全部楼层
alphanuman 发表于 2013-6-30 15:43
没有人知道吗,我直接编译光盘中的内核就出错了,感觉应该是驱动里面有点bug

不知道你怎么做的,建议详细说一下你的操作步骤。
回复

使用道具 举报

 楼主| alphanuman 发表于 2013-7-2 22:10:32 | 显示全部楼层
我猜可能是配置单配的有些问题,我只是简单的照着那个Linux系统移植手册里面step5里面的对配置单进行了简单配置,没有针对后面的附录5里面的进行配置。
回复

使用道具 举报

 楼主| alphanuman 发表于 2013-7-2 22:12:58 | 显示全部楼层
TQ-lkp 发表于 2013-7-1 09:01
有没有拷贝配置单?

请问什么叫拷贝配置单,我就是打开 /arch/arm/configs/s3c2410_deconfig做出修改,然后保存为.config的
回复

使用道具 举报

TQ-lkp 发表于 2013-7-4 18:35:51 | 显示全部楼层
亲,你要看下手册了,cp config_具体的名字 .config
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-25 17:24 , Processed in 2.038231 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表