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位即可。