View Single Post
Old 09-12-2021, 09:40 PM   #1
Junior Member
Join Date: Aug 2021
Posts: 2
Default make[1]: *** /lib/modules/5.10.17-v7l+/build: No such file or directory.

Trying to install these drivers on Rasbian Buster. I think they might be for Ubuntu but I read somewhere that the Ubuntu drivers can be ported to other versions of Linux by changing some addresses. I'm wondering what is supposed to go in the build directory?

Thanks you.

pi@raspberrypi:~/Downloads/displaylink $ dir
displaylink-blit.c displaylink.h displaylink-main.c drm_edid.h Module.markers displaylink-fb.c displaylink-ioctl.c displaylink-usb.c Makefile modules.order

pi@raspberrypi:~/Downloads/displaylink $ make

make -C /lib/modules/`uname -r`/build SUBDIRS=/home/pi/Downloads/displaylink modules
make[1]: *** /lib/modules/5.10.17-v7l+/build: No such file or directory. Stop.
make: *** [Makefile:5: all] Error 2

pi@raspberrypi:~/Downloads/evdi-devel $ dir
ci docs library Makefile mkdocs.yml module

pi@raspberrypi:~/Downloads/evdi-devel $ make

CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers " make -C module
make[1]: Entering directory '/home/pi/Downloads/evdi-devel/module'
make -C /lib/modules/5.10.17-v7l+/build M=$PWD
make[2]: Entering directory '/home/pi/Downloads/evdi-devel/module'
make[2]: *** /lib/modules/5.10.17-v7l+/build: No such file or directory. Stop.
make[2]: Leaving directory '/home/pi/Downloads/evdi-devel/module'
make[1]: *** [Makefile:77: module] Error 2
make[1]: Leaving directory '/home/pi/Downloads/evdi-devel/module'
make: *** [Makefile:8: all] Error 2
CantSeeMyScreen is offline   Reply With Quote