Hi,
not much of a programmer but can speak fluently 3GPP TS’ish. I tried to setup it up on a clean ubuntu according to | free5GC When I run the AMF it gives and error about the NGAP (probably because there is no corresponding gNB). When i then tried to install the UPF, the make -j nproc
gave many errors regarding to N4 and PFCP support (not SBI core network interface, so this is the protocol that replaces the S1_C from 4G). The look like this:
/home/myname/go/src/free5gc/src/upf/src/n4/n4_pfcp_handler.c:488:52: error: taking address of packed member of ‘struct _PfcpOuterHdr’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
488 | 0, &(outerHdr->addr4),
| ^~~~~~~~~~~~~~~~~~
Any help appreciated, and best on “for dummies level”, but feel free to ask me about how a mobile network works…
here the final “verdict” of the make:
make[2]: *** [src/CMakeFiles/free5GC_UPF_main.dir/build.make:89: src/CMakeFiles/free5GC_UPF_main.dir/n4/n4_pfcp_handler.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:168: src/CMakeFiles/free5GC_UPF_main.dir/all] Error 2
make: *** [Makefile:84: all] Error 2