Comments (9)
Hello Joe,
I have pushed a fix for that. Thank you for identifying.
Best regards
Kumar
from srsran-e2.
Now I'm getting the following error:
/usr/bin/ld: CMakeFiles/enb_metrics_test.dir/__/src/metrics_stdout.cc.o:(.bss+0x0): multiple definition of `srsenb::pdcp_kpm'; CMakeFiles/enb_metrics_test.dir/enb_metrics_test.cc.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/enb_metrics_test.dir/__/src/metrics_csv.cc.o:(.bss+0x0): multiple definition of `srsenb::pdcp_kpm'; CMakeFiles/enb_metrics_test.dir/enb_metrics_test.cc.o:(.bss+0x20): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [srsenb/test/CMakeFiles/enb_metrics_test.dir/build.make:121: srsenb/test/enb_metrics_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:12388: srsenb/test/CMakeFiles/enb_metrics_test.dir/all] Error 2
from srsran-e2.
This is a linker error that is showing duplicate symbols. I'm guessing we need to remove either metrics_std.cc
or metrics_csv.cc
from srsran-e2.
Fixed the issue. Please try to rebuild and let me know if you face any issues.
from srsran-e2.
[ 84%] Building CXX object srsenb/src/ric/CMakeFiles/srsenb_ric.dir/e2ap_encode.cc.o
In file included from /home/srsran1/src/oaic/srsRAN-e2/srsenb/src/ric/e2ap_encode.cc:2:
/home/srsran1/src/oaic/srsRAN-e2/srsenb/hdr/ric/e2ap_encode.h:4:10: fatal error: E2AP_E2AP-PDU.h: No such file or directory
4 | #include "E2AP_E2AP-PDU.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [srsenb/src/ric/CMakeFiles/srsenb_ric.dir/build.make:63: srsenb/src/ric/CMakeFiles/srsenb_ric.dir/e2ap_encode.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:12358: srsenb/src/ric/CMakeFiles/srsenb_ric.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
from srsran-e2.
This is odd because it's clearly visible in e2_bindings/E2AP-v01.01/E2AP_E2AP-PDU.h
from srsran-e2.
I'm also getting a warning when running cmake
:
CMake Warning:
Manually-specified variables were not used by the project:
RIC_GENERATED_E2SM_NI_BINDING_DIR
-- Build files have been written to: /home/srsran1/src/oaic/srsRAN-e2/build
from srsran-e2.
For the CMake Warning: We can remove the parameter -DRIC_GENERATED_E2SM_NI_BINDING_DIR=${SRS}/e2_bindings/E2SM-NI \ when doing cmake
from srsran-e2.
Well, I re-built it successfully. Not sure what the issue was. Closing this out. Will open new issues as they arise
from srsran-e2.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srsran-e2.