Hi,
(beginer) I'm having an issues running 'make' in the directory for a usb driver i'm trying to install.
folder for the driver contains these files:
This is a new install using the raspberry pi imager for bookworm (12). after running through general updates, updated to get the appropriate kernel headers.
then went into directory:
I'm getting the error:
looking in that directory '/lib/modules/6.1.0-rpi8-rpi-v8/build/include/linux/' there is no file 'modversions.h'
Not sure if i missed something along the way. I would appreciate any light on path forward![Very Happy :D]()
(beginer) I'm having an issues running 'make' in the directory for a usb driver i'm trying to install.
folder for the driver contains these files:
.h
.c
Makefile
Rules.make
This is a new install using the raspberry pi imager for bookworm (12). after running through general updates, updated to get the appropriate kernel headers.
Code:
sudo apt updatesudo apt install raspberrypi-kernel-headers
Code:
cd Documents/ftdi_sio/make
Code:
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/6.1.0-rpi8-rpi-v8/build/include -D__SMP__ -DSMP -DMODVERSIONS -include /lib/modules/6.1.0-rpi8-rpi-v8/build/include/linux/modversions.h -I/usr/src/linux-6.1.0-rpi8-rpi-v8/drivers/usb/serial/ -O -c -o ftdi_sio.o ftdi_sio.c<command-line>: fatal error: /lib/modules/6.1.0-rpi8-rpi-v8/build/include/linux/modversions.h: No such file or directorycompilation terminated.make: *** [<builtin>: ftdi_sio.o] Error 1
Not sure if i missed something along the way. I would appreciate any light on path forward

Statistics: Posted by nxb9753 — Thu Feb 01, 2024 8:23 pm