Firefly开源社区

firefly PAD SDK //synatics (新思) 驱动编译不通过,请帮忙指点问题!

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2015-6-19 08:23:46     

请帮忙指点调试,感谢.
回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2015-6-19 11:36:25     
使用最新的同步 SDK ::
以后就可以直接从 bitbucket 处更新:
git pull bitbucket pad:pad
到 file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/%25W@GJ$ACOF(TYDYECOKVDYB.pnghttps://bitbucket.org/T-Firefly/firefly-rk3288/commits/branch/pad 在线浏览源码。
______________________________________________________________________________________________________________
CC      drivers/input/touchscreen/synaptics_i2c_rmi4.o
drivers/input/touchscreen/synaptics_i2c_rmi4.c:33:34: fatal error: linux/earlysuspend.h: No such file or directory
drivers/input/touchscreen/synaptics_i2c_rmi4.c:38:23: fatal error: mach/gpio.h: No such file or directory
compilation terminated.
drivers/input/touchscreen/synaptics_i2c_rmi4.c:39:24: fatal error: mach/board.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/input/touchscreen/synaptics_i2c_rmi4.o] 错误 1
make[2]: *** [drivers/input/touchscreen] 错误 2
make[1]: *** [drivers/input] 错误 2
make[1]: *** 正在等待未完成的任务....
make: *** [drivers] 错误 2

没有找到以下文件:
#include <linux/earlysuspend.h>  
#include <mach/gpio.h>
#include <mach/board.h>

drivers/input/touchscreen/synaptics_i2c_rmi4.c:247:23: error: field 'm_early_suspend' has incomplete type
drivers/input/touchscreen/synaptics_i2c_rmi4.c: In function 'synaptics_rmi4_work_func':
drivers/input/touchscreen/synaptics_i2c_rmi4.c:708:2: error: implicit declaration of function 'gpio_get_value' [-Werror=implicit-function-declaration]
drivers/input/touchscreen/synaptics_i2c_rmi4.c: In function 'synpatics_rmi4_touchpad_config':
drivers/input/touchscreen/synaptics_i2c_rmi4.c:919:9: warning: unused variable 'buf' [-Wunused-variable]
drivers/input/touchscreen/synaptics_i2c_rmi4.c: At top level:
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1222:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'synaptics_rmi4_probe'
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1409:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'synaptics_rmi4_remove'
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1554:1: warning: data definition has no type or storage class [enabled by default]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1554:1: warning: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Wimplicit-int]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1554:1: warning: parameter names (without types) in function declaration [enabled by default]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1560:11: warning: "CONFIG_HAS_EARLYSUSPEND" is not defined [-Wundef]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1566:12: error: 'synaptics_rmi4_probe' undeclared here (not in a function)
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1567:2: error: implicit declaration of function '__devexit_p' [-Werror=implicit-function-declaration]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1567:25: error: 'synaptics_rmi4_remove' undeclared here (not in a function)
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1595:16: error: expected declaration specifiers or '...' before string constant
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1596:15: error: expected declaration specifiers or '...' before string constant
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1597:20: error: expected declaration specifiers or '...' before string constant
drivers/input/touchscreen/synaptics_i2c_rmi4.c:1598:14: error: expected declaration specifiers or '...' before string constant
drivers/input/touchscreen/synaptics_i2c_rmi4.c:106:27: warning: 'syna_client' defined but not used [-Wunused-variable]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:389:12: warning: 'synaptics_rmi4_i2c_block_write' defined but not used [-Wunused-function]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:689:13: warning: 'synaptics_rmi4_work_func' defined but not used [-Wunused-function]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:728:20: warning: 'synaptics_rmi4_irq' defined but not used [-Wunused-function]
drivers/input/touchscreen/synaptics_i2c_rmi4.c:993:12: warning: 'synaptics_rmi4_i2c_query_device' defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[3]: *** [drivers/input/touchscreen/synaptics_i2c_rmi4.o] 错误 1
make[2]: *** [drivers/input/touchscreen] 错误 2
make[1]: *** [drivers/input] 错误 2
make[1]: *** 正在等待未完成的任务....
make: *** [drivers] 错误 2

回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2015-6-25 13:50:29     
firefly PAD SDK //synaptics (新思) 驱动编译不通过,请帮忙指点问题!
回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2015-6-25 13:56:17     
firefly上用的是kernel/drivers/input/touchscreen/synaptics_dsx/
回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2015-6-26 11:46:11     
詹工 , 我们是用的这个 ; 全部 使用 Git UPDATA ----  https://bitbucket.org/TFirefly/f ... a0d168605b52?at=pad

"Firefly-RK3288  de50de7  kernel->Touch: add synaptics dsx driver  Branchespad    2015-04-17 "

编译MAKE 出错, 而停止.
回复

使用道具 举报

265

积分

5

威望

6

贡献

实习版主

Rank: 7Rank: 7Rank: 7

积分
265

活跃会员热心会员突出贡献

发表于 2015-6-26 12:11:42     
synaptics_dsx这个驱动可以编译过啊,刚验证
回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2015-6-26 15:26:45     
s[*]   Synaptics DSX touchscreen  --->  ynaptics_dsx这个驱动可以编译过了!   感谢!

选择 <*>   synaptics touchscreen panel support 这个就出现以上错误!

   --- Touchscreens                                                               │ │  
  │ │         [*]   Synaptics DSX touchscreen  --->                                          │ │  
  │ │         <*>   synaptics touchscreen panel support                                      │ │  
  │ │         < >   gslX680 touchscreen panel support   
________________________________________________________________________________________________________
CC      drivers/input/touchscreen/synaptics_i2c_rmi4.o
drivers/input/touchscreen/synaptics_i2c_rmi4.c:33:32: fatal error: linux/earlysuspend.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/input/touchscreen/synaptics_i2c_rmi4.o] 错误 1
make[2]: *** [drivers/input/touchscreen] 错误 2
make[1]: *** [drivers/input] 错误 2
make[1]: *** 正在等待未完成的任务....
回复

使用道具 举报

265

积分

5

威望

6

贡献

实习版主

Rank: 7Rank: 7Rank: 7

积分
265

活跃会员热心会员突出贡献

发表于 2015-6-26 15:46:18     
drivers/input/touchscreen/synaptics_i2c_rmi4.o 你编译这个文件干嘛,用synaptics_dsx文件夹里的就得了吧
回复

使用道具 举报

21

积分

0

威望

0

贡献

游客

积分
21
发表于 2017-5-25 17:18:29     
编译FocalTech FT5x06 I2C Touchscreen support 的时候同样遇到 "early_suspend"  has incomplete type的错误,这个怎么解
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表