Free5gc-stage-1 Build Error

I am installing free5gc-stage-1 following the guideline in Bitbucket. When I compile the source code using "make -j nproc", the following errors occurs.

sctp.c: In function ‘fd_sctp_recvmeta’:
sctp.c:1262:9: error: ‘SCTP_SEND_FAILED_EVENT’ undeclared (first use in this function); did you mean ‘SCTP_SEND_FAILED’?
1262 | case SCTP_SEND_FAILED_EVENT:
| ^~~~~~~~~~~~~~~~~~~~~~
| SCTP_SEND_FAILED
sctp.c:1262:9: note: each undeclared identifier is reported only once for each function it appears in
sctp.c:1274:9: error: ‘SCTP_NOTIFICATIONS_STOPPED_EVENT’ undeclared (first use in this function)
1274 | case SCTP_NOTIFICATIONS_STOPPED_EVENT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:530: sctp.lo] Error 1
make[5]: *** Waiting for unfinished jobs…

The version of free5GC: v1.0.0
Ubuntu versoin: 20.04
Kernel version: 5.14.0

Attached is the full output log.

Thank you for you help!

install_log.txt (14.2 KB)

Hi egg988,
Please checkout the latest version of free5GC. It is currently at version 3.4.1, which was released on March 28, 2024.
The github link is here : https://github.com/free5gc/free5gc