PrinzOwO / gtp5g

Linux kernel module 5G GTP-U

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help:gtp5g Makefile error

gzzx2021 opened this issue · comments

**~/gtp5g$ make
make -C /usr/src/linux-headers-5.11.0-31-generic/ M=/home/gzzx/gtp5g modules
make[1]: “/usr/src/linux-headers-5.11.0-31-generic”
CC [M] /home/gzzx/gtp5g/gtp5g.o
/home/gzzx/gtp5g/gtp5g.c:1499:27: error: ‘ip_tunnel_get_stats64’ undeclared here (not in a function); did you mean ‘ip_tunnel_get_ttl’?
1499 | .ndo_get_stats64 = ip_tunnel_get_stats64,
| ^~~~~~~~~~~~~~~~~~~~~
| ip_tunnel_get_ttl
make[2]: *** [scripts/Makefile.build:287:/home/gzzx/gtp5g/gtp5g.o] error 1
make[1]: *** [Makefile:1848:/home/gzzx/gtp5g] error 2
make[1]: “/usr/src/linux-headers-5.11.0-31-generic”
make: *** [Makefile:15:all] error 2
**

Highlighted the README.md

Note:1

The latest implementation of gtp5g and libgtp5gnl is in

https://github.com/free5gc/gtp5g

https://github.com/free5gc/libgtp5gnl