I've been trying to compile the kernel for my Pi (on Xbian 1.0 beta 1.1) to add fbtft to it.
I followed the instructions here : https://github.com/notro/fbtft/wiki/FBT ... ld-process
and here : http://elinux.org/RPi_Kernel_Compilation
It works when I cross compile on a Ubuntu 64bit it works fine, but when I try on the Pi, I have this:
Code: Select all
drivers/video/fbtft/fbtft-core.c: In function âfbtft_free_gpiosâ:
drivers/video/fbtft/fbtft-core.c:172:20: error: dereferencing pointer to incomplete type
drivers/video/fbtft/fbtft-core.c: In function âfbtft_register_framebufferâ:
drivers/video/fbtft/fbtft-core.c:838:3: error: implicit declaration of function âplatform_set_drvdataâ [-Werror=implicit-function-declaration]
drivers/video/fbtft/fbtft-core.c: In function âfbtft_probe_commonâ:
drivers/video/fbtft/fbtft-core.c:1103:14: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[3]: *** [drivers/video/fbtft/fbtft-core.o] Error 1
Anything I could change to make it work on the Pi? it worked on my first try but not since then.