From 42f0ff23ea7b0c2fafdf423a1055880634f738eb Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Wed, 11 Dec 2013 10:15:01 +0000 Subject: [PATCH] - Fix undefined reference when RAL disabled git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4662 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/SIMU/USER/oaisim_functions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targets/SIMU/USER/oaisim_functions.c b/targets/SIMU/USER/oaisim_functions.c index 6d1c3bae2b..2081749086 100644 --- a/targets/SIMU/USER/oaisim_functions.c +++ b/targets/SIMU/USER/oaisim_functions.c @@ -149,7 +149,9 @@ void get_simulation_options(int argc, char *argv[]) { omg_period = atoi(optarg); printf("OMG period is %d\n", omg_period); } - } else if (! strcmp(long_options[option_index].name, "enb-ral-listening-port")) { + } +#if defined(ENABLE_RAL) + else if (! strcmp(long_options[option_index].name, "enb-ral-listening-port")) { if (optarg) { g_conf_enb_ral_listening_port = strdup(optarg); printf("eNB RAL listening port is %s\n", g_conf_enb_ral_listening_port); @@ -220,6 +222,7 @@ void get_simulation_options(int argc, char *argv[]) { printf("UE MIH-F id is %s\n", g_conf_ue_mihf_id); } } +#endif break; case 'L': // set FDD flag_LA = atoi(optarg); -- GitLab