Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
1b237f6a
Commit
1b237f6a
authored
Feb 20, 2024
by
mir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix name clashes between OAI and E2 Agent generated by the linker
parent
1adcd3fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
15 deletions
+8
-15
CMakeLists.txt
CMakeLists.txt
+4
-11
openair2/E2AP/RAN_FUNCTION/CMakeLists.txt
openair2/E2AP/RAN_FUNCTION/CMakeLists.txt
+2
-2
openair2/E2AP/RAN_FUNCTION/read_setup_ran.c
openair2/E2AP/RAN_FUNCTION/read_setup_ran.c
+1
-1
openair2/E2AP/flexric
openair2/E2AP/flexric
+1
-1
No files found.
CMakeLists.txt
View file @
1b237f6a
...
...
@@ -1436,8 +1436,7 @@ target_link_libraries(L2 PRIVATE asn1_lte_rrc_hdrs asn1_nr_rrc_hdrs)
if
(
E2_AGENT
)
target_link_libraries
(
L2 PUBLIC e2_agent e2_agent_arg e2_ran_func_du_cucp_cuup
)
target_compile_definitions
(
L2 PRIVATE E2_AGENT
)
target_compile_definitions
(
L2 PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
)
target_compile_definitions
(
L2 PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
E2_AGENT
)
endif
()
...
...
@@ -1463,8 +1462,7 @@ target_link_libraries(e1_if PRIVATE asn1_nr_rrc_hdrs asn1_lte_rrc_hdrs asn1_f1ap
target_link_libraries
(
L2_NR PRIVATE f1ap x2ap s1ap ngap nr_rrc e1ap nr_rlc
)
if
(
E2_AGENT
)
target_link_libraries
(
L2_NR PUBLIC e2_agent e2_agent_arg e2_ran_func_du_cucp_cuup
)
target_compile_definitions
(
L2_NR PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
)
target_compile_definitions
(
L2_NR PRIVATE E2_AGENT
)
target_compile_definitions
(
L2_NR PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
E2_AGENT
)
endif
()
add_library
(
L2_LTE_NR
...
...
@@ -1983,8 +1981,7 @@ target_link_libraries(lte-softmodem PRIVATE ${T_LIB})
target_link_libraries
(
lte-softmodem PRIVATE asn1_nr_rrc_hdrs asn1_lte_rrc_hdrs
)
if
(
E2_AGENT
)
target_compile_definitions
(
lte-softmodem PRIVATE E2_AGENT
)
target_compile_definitions
(
lte-softmodem PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
)
target_compile_definitions
(
lte-softmodem PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
E2_AGENT
)
endif
()
add_executable
(
oairu
...
...
@@ -2082,7 +2079,7 @@ target_link_libraries(nr-softmodem PRIVATE ${T_LIB})
target_link_libraries
(
nr-softmodem PRIVATE asn1_nr_rrc_hdrs asn1_lte_rrc_hdrs
)
target_link_libraries
(
nr-softmodem PRIVATE asn1_nr_rrc_hdrs asn1_lte_rrc_hdrs
)
if
(
E2_AGENT
)
target_compile_definitions
(
nr-softmodem PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
)
target_compile_definitions
(
nr-softmodem PRIVATE
${
E2AP_VERSION
}
${
KPM_VERSION
}
E2_AGENT
)
endif
()
...
...
@@ -2095,10 +2092,6 @@ endif()
# force the generation of ASN.1 so that we don't need to wait during the build
target_link_libraries
(
nr-softmodem PRIVATE
asn1_lte_rrc asn1_nr_rrc asn1_s1ap asn1_ngap asn1_m2ap asn1_m3ap asn1_x2ap asn1_f1ap asn1_lpp
)
if
(
E2_AGENT
)
target_compile_definitions
(
nr-softmodem PRIVATE E2_AGENT
)
endif
()
add_executable
(
nr-cuup
executables/nr-cuup.c
...
...
openair2/E2AP/RAN_FUNCTION/CMakeLists.txt
View file @
1b237f6a
...
...
@@ -39,5 +39,5 @@ add_library(e2_ran_func_du_cucp_cuup STATIC
../flexric/test/rnd/fill_rnd_data_slice.c
)
target_link_libraries
(
e2_ran_func_du_cucp_cuup PUBLIC asn1_nr_rrc nr_rrc asn1_nr_rrc_hdrs e2_time_obj kpm_ric_info_common_obj 3gpp_derived_ie_obj e2sm_rc_ir_obj sm_common_ie_obj
)
target_compile_definitions
(
e2_ran_func_du_cucp_cuup PUBLIC
${
E2AP_VERSION
}
${
KPM_VERSION
}
NGRAN_GNB_DU NGRAN_GNB_CUCP NGRAN_GNB_CUUP
)
target_link_libraries
(
e2_ran_func_du_cucp_cuup PUBLIC asn1_nr_rrc nr_rrc asn1_nr_rrc_hdrs e2_time_obj kpm_ric_info_common_obj 3gpp_derived_ie_obj e2sm_rc_ir_obj sm_common_ie_obj
e2_agent
)
target_compile_definitions
(
e2_ran_func_du_cucp_cuup PUBLIC
${
E2AP_VERSION
}
${
KPM_VERSION
}
NGRAN_GNB_DU NGRAN_GNB_CUCP NGRAN_GNB_CUUP
)
openair2/E2AP/RAN_FUNCTION/read_setup_ran.c
View file @
1b237f6a
...
...
@@ -29,7 +29,7 @@ void read_setup_ran(void* data, const ngran_node_t node_type)
{
assert
(
data
!=
NULL
);
#ifdef E2AP_V1
(
void
)
node_type
;
#elif defined(E2AP_V2) || defined(E2AP_V3)
arr_node_component_config_add_t
*
dst
=
(
arr_node_component_config_add_t
*
)
data
;
...
...
flexric
@
7c424e88
Subproject commit
29af8408afad3da36824bd7912562202023ae924
Subproject commit
7c424e882adae6ad72a24470d8c3e731189062c0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment