Hi,
I am getting the following error when building oai directory in magma.
I am compiling with the command make run in /magma/lte/gateway.
The machine is installed with ubuntu 18.04.
Linux magma-dev 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux
Make Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ASYNC_GRPC
linked by target "LIB_DIRECTORYD" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/directoryd
linked by target "LIB_PCEF" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/pcef
linked by target "LIB_MOBILITY_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/mobility_client
linked by target "LIB_S6A_PROXY" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/s6a_proxy
linked by target "LIB_SGS_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/sgs_client
linked by target "LIB_SMS_ORC8R_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/sms_orc8r_client
linked by target "LIB_EVENT_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/event_client
linked by target "TASK_SERVICE303" in directory /home/vagrant/magma/lte/gateway/c/oai/tasks/service303
CONFIG
linked by target "redis_utils" in directory /home/vagrant/magma/lte/gateway/c/oai/common/redis_utils
linked by target "LIB_DIRECTORYD" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/directoryd
linked by target "LIB_PCEF" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/pcef
linked by target "LIB_S6A_PROXY" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/s6a_proxy
linked by target "LIB_SGS_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/sgs_client
linked by target "LIB_SMS_ORC8R_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/sms_orc8r_client
linked by target "TASK_S1AP" in directory /home/vagrant/magma/lte/gateway/c/oai/tasks/s1ap
linked by target "TASK_SERVICE303" in directory /home/vagrant/magma/lte/gateway/c/oai/tasks/service303
EVENTD
linked by target "LIB_EVENT_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/event_client
SERVICE303_LIB
linked by target "mme" in directory /home/vagrant/magma/lte/gateway/c/oai/oai_mme
linked by target "TASK_SERVICE303" in directory /home/vagrant/magma/lte/gateway/c/oai/tasks/service303
SERVICE_REGISTRY
linked by target "LIB_DIRECTORYD" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/directoryd
linked by target "LIB_PCEF" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/pcef
linked by target "LIB_MOBILITY_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/mobility_client
linked by target "LIB_S6A_PROXY" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/s6a_proxy
linked by target "LIB_SGS_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/sgs_client
linked by target "LIB_SMS_ORC8R_CLIENT" in directory /home/vagrant/magma/lte/gateway/c/oai/lib/sms_orc8r_client
linked by target "TASK_SERVICE303" in directory /home/vagrant/magma/lte/gateway/c/oai/tasks/service303
-- Configuring incomplete, errors occurred!
See also "/home/vagrant/exe/oai/CMakeFiles/CMakeOutput.log".
See also "/home/vagrant/exe/oai/CMakeFiles/CMakeError.log".
Makefile:143: recipe for target 'build_oai' failed
make: *** [build_oai] Error 1
vagrant@magma-dev:~/magma/lte/gateway$
------------------------------------------------------------------------------------------------------
The S1ap_Cause.h file is not include in the magma code.
home/vagrant/magma/lte/gateway/c/oai/lib/3gpp/3gpp_36.413.h:144:3: error: ‘S1ap_Cause_t’ does not name a type
S1ap_Cause_t cause;
^~~~~~~~~~~~
In file included from /home/vagrant/magma/lte/gateway/c/oai/include/messages_types.h:41:0,
from /home/vagrant/magma/lte/gateway/c/oai/lib/itti/intertask_interface_types.h:70,
from /home/vagrant/magma/lte/gateway/c/oai/lib/itti/intertask_interface.h:47,
from /home/vagrant/magma/lte/gateway/c/oai/lib/pcef/pcef_handlers.h:27,
from /home/vagrant/magma/lte/gateway/c/oai/lib/pcef/pcef_handlers.cpp:35:
/home/vagrant/magma/lte/gateway/c/oai/include/s1ap_messages_types.h:209:3: error: ‘S1ap_Cause_t’ does not name a type
S1ap_Cause_t cause;
Also oai doesnot not generating certain library. .
Thanks,
Jayshankar
Thanks,
Jayshankar