free5gc / gtp5g

GTP-U Linux Kernel Module
GNU General Public License v2.0
53 stars 63 forks source link

/lib/modules/5.15.0/build: No such file or directory. Stop. #84

Open zxm-bupt opened 11 months ago

zxm-bupt commented 11 months ago

when I make gtp5g, I meet problems as follow

make -C /lib/modules/5.15.0/build M=/root/gtp5g modules
make[1]: *** /lib/modules/5.15.0/build: No such file or directory.  Stop.
make: *** [Makefile:83: module] Error 2

my system is ubuntu 20.04, the CPU in my pc is phytium D2000. the kernel is 5.10.0 on arm, which is custom made。

eesss34690 commented 10 months ago

@zxm-bupt I downgraded my kernel module by myself and faced the same issue. It is because you do not install header module This may be helpful for you

zxm-bupt commented 8 months ago

thank you for your help.