[RK3399][Android7.1] 调试笔记 --- 编译GSL5680 touch提示错误

Platform: RK3399
OS: Android 7.1
Kernel: v4.4.83

现象:

之前在rk3288平台上使用过GSL5680的Touch,现在移植过来一直报如下错误:

make[1]: `include/generated/vdso-offsets.h' is up to date.
  CHK     include/generated/compile.h
  CC      drivers/input/touchscreen/gslx680/rockchip_gslX680_NEW.o
  LD      drivers/input/touchscreen/gslx680/built-in.o
drivers/input/touchscreen/gslx680/gsl_point_id: error adding symbols: File in wrong format
make[4]: *** [drivers/input/touchscreen/gslx680/built-in.o] Error 1
make[3]: *** [drivers/input/touchscreen/gslx680] Error 2
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make[1]: *** Waiting for unfinished jobs....

原因:

gsl_point_id是个已经编译好的.o文件,之前在rk3288是32位,而在rk3399需要使用64位的才可以。


解决方法:

替换成64位即可。

猜你喜欢

转载自blog.csdn.net/kris_fei/article/details/80832773