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
Hi,
I tried the next step which is the “Build the N-GSM Kernal module” (the line that says “make -C /lib/modules/$(uname -r)/build M=$(pwd) -e CONFIG_N_GSM=m modules”
…and it throws up pages of warnings, the last section of which looks like this….
————————————————————————
./arch/arm64/include/asm/memory.h:231:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
231 | u64 __addr = (__force u64)(addr); \
| ^
./arch/arm64/include/asm/signal.h:21:9: note: in expansion of macro ‘untagged_addr’
21 | return untagged_addr(addr);
| ^~~~~~~~~~~~~
./arch/arm64/include/asm/memory.h:233:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
233 | (__force __typeof__(addr))__addr; \
| ^
./arch/arm64/include/asm/signal.h:21:9: note: in expansion of macro ‘untagged_addr’
21 | return untagged_addr(addr);
| ^~~~~~~~~~~~~
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’