linux的make zimage编译出错:dereferencing pointer to incomplete type
drivers/input/keyboard/tq2440_buttons.c:Infunction'tq2440_keys_suspend':drivers/input...
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
drivers/input/keyboard/tq2440_buttons.c: At top level:
drivers/input/keyboard/tq2440_buttons.c:593: warning: initialization discards qualifiers from pointer target type
make[3]: *** [drivers/input/keyboard/tq2440_buttons.o] 错误 1
make[2]: *** [drivers/input/keyboard] 错误 2
make[1]: *** [drivers/input] 错误 2
make: *** [drivers] 错误 2 展开
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
drivers/input/keyboard/tq2440_buttons.c: At top level:
drivers/input/keyboard/tq2440_buttons.c:593: warning: initialization discards qualifiers from pointer target type
make[3]: *** [drivers/input/keyboard/tq2440_buttons.o] 错误 1
make[2]: *** [drivers/input/keyboard] 错误 2
make[1]: *** [drivers/input] 错误 2
make: *** [drivers] 错误 2 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询