SimpleSimonPiMan
SimpleSimonPiMan

Reputation: 11

No rule to make target when building drivers for SIM7600A

Attempting to install the drivers for a Waveshare SIM 7600A-h HAT to provide WWAN access to a Raspberry Pi 4.

Using manufacturer driver software provided from https://www.waveshare.com/wiki/SIM7600A-H_4G_HAT. Followed instructions from included PDF to install GobiSerial driver.

The initial error when trying make was:

make[1]: *** /lib/modules/5.10.17-v7l+/build: No such file or directory.  Stop.
make: *** [Makefile:6: all] Error 2[/code]

After some research I updated the headers and retried, getting this:

 make
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions Module.* modules.order
make -C /lib/modules/5.10.17-v7l+/build M=/home/pi/Desktop/SIM7X00-Driver/Linux driver/gobiserial modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.17-v7l+'
make[1]: *** No rule to make target 'driver/gobiserial'.  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-5.10.17-v7l+'
make: *** [Makefile:6: all] Error 2

Upvotes: 1

Views: 360

Answers (0)

Related Questions