Reply To: Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF

Home Forums Forums Technical Support for the OzzMaker SARA-R5 LTE-M GPS + 10DOF Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF Reply To: Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF

#18376
paulzx14
Participant

Hi,

I tried it, but the same error I think.

Just check I did it right tho..

I basically replaced this step… “wget -O /usr/bin/rpi-source https://raw.githubusercontent.com/ozzmaker/rpi-source/master/rpi-source” with “sudo apt-get install raspberrypi-kernel-headers”.

Then tried this step “make -C /lib/modules/$(uname -r)/build M=$(pwd) -e CONFIG_N_GSM=m modules”

which produced pages of the same error, which ended in …..

—————————————————————–

…….. In file included from ./include/linux/mmzone.h:19,

from ./include/linux/gfp.h:7,

from ./include/linux/xarray.h:15,

from ./include/linux/radix-tree.h:21,

from ./include/linux/idr.h:15,

from ./include/linux/kernfs.h:12,

from ./include/linux/sysfs.h:16,

from ./include/linux/kobject.h:20,

from ./include/linux/energy_model.h:7,

from ./include/linux/device.h:16,

from /root/linux/drivers/tty/serial/sc16is7xx.c:14:

./include/linux/page-flags-layout.h: At top level:

./include/linux/page-flags-layout.h:6:10: fatal error: generated/bounds.h: No such file or directory

6 | #include <generated/bounds.h>

|          ^~~~~~~~~~~~~~~~~~~~

compilation terminated.

make[2]: *** [scripts/Makefile.build:250: /root/linux/drivers/tty/serial/sc16is7xx.o] Error 1

make[2]: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

make[1]: *** [scripts/Makefile.build:500: /root/linux/drivers/tty/serial] Error 2

make[1]: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

make: *** [Makefile:2012: /root/linux/drivers/tty] Error 2

make: Leaving directory ‘/root/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed’

———————————————————————————————

Let me know if I did something wrong, as what these steps are doing are a bit beyond my level of understanding!

Thanks,

Paul.

 

Blip, blop, bloop…