Closed OmidID closed 2 years ago
Are you enabling this option on a >=4.0 kernel?
config BR2_LINUX_KERNEL_EXT_FBTFT
bool "FB TFT drivers"
select BR2_PACKAGE_FBTFT
help
Linux Framebuffer drivers for small TFT LCD display modules,
e.g. Adafruit PiTFT displays for Raspberry Pi (this extra
package is only needed for linux kernels until v3.19, since
v4.0 the drivers are included in the staging area).
If so that's your problem.
Hello @notro . thanks for the answer. Yes, that is enabled
Unless you use an old kernel you need to disable that.
I using 5.17
. Actually, I tried both, disabled and enabled. the result will be the same :(
Is there any flag or something that I must set to the gcc?
Currently, I using gcc 11.
fbtft doesn't use struct timespec
in 5.17, it uses ktime_t
so I don't know how you can get the same compile error: https://elixir.bootlin.com/linux/v5.17/source/drivers/staging/fbtft/fbtft.h#L228
YOU RIGHT!!! I confused. How did I end up with this problem! :D Maybe something is wrong with the Buildroot. Do you have any idea what can check?
If you disable the config option but doesn't clean the builddir, the driver stays around and you keep getting the error. The buildroot dependency system doesn't detect things like this.
I did clean before each make run. each time I waited for 1-2 hours.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Hello,
I trying to build my custom kernel using buildroot for RPi3 and I get error that I cannot get rid of it.
I also try to change the gcc to 11 but same error.
Any suggestion that I can fix this issue?
Thanks a lot. :)