Closed levis-creator closed 1 month ago
Hi, have you checked if drm/drm_fbdev_generic.h is located under your headers? Also, which dependencies have you installed and which kernel version you're building on?
(also, please, paste your build output directly (inside 'code' tag) instead of posting terminal screenshots from now on, in order to get life easier for people helping out)
same here:
ragnarok@ragnarok:~/src/fl2000_drm-rhgndf$ make
make CHECK="/usr/bin/sparse" -C /lib/modules/6.1.0-20-amd64/build M=/home/ragnarok/src/fl2000_drm-rhgndf modules
make[1]: se entra en el directorio '/usr/src/linux-headers-6.1.0-20-amd64'
CC [M] /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_drv.o
CC [M] /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_registers.o
CC [M] /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_interrupt.o
CC [M] /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_streaming.o
CC [M] /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_connector.o
CC [M] /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_i2c.o
CC [M] /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_drm.o
/home/ragnarok/src/fl2000_drm-rhgndf/fl2000_drm.c:15:10: fatal error: drm/drm_fbdev_generic.h: No existe el fichero o el directorio
15 | #include <drm/drm_fbdev_generic.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-6.1.0-20-common/scripts/Makefile.build:255: /home/ragnarok/src/fl2000_drm-rhgndf/fl2000_drm.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.1.0-20-common/Makefile:2035: /home/ragnarok/src/fl2000_drm-rhgndf] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-6.1.0-20-amd64'
make: *** [Makefile:18: modules] Error 2
ragnarok@ragnarok:~/src/fl2000_drm-rhgndf$ uname -a
Linux ragnarok 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux
Hello i am using debian 12, i followed the instructions as per the read me file. and i am getting the error below