Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Veins and Simu5G Installation on OMNeT++ #232

Open
rimsayegh opened this issue Aug 20, 2024 · 1 comment
Open

Problem with Veins and Simu5G Installation on OMNeT++ #232

rimsayegh opened this issue Aug 20, 2024 · 1 comment

Comments

@rimsayegh
Copy link

rimsayegh commented Aug 20, 2024

Hi everyone,

I'm encountering an issue during the installation of Veins with Simu5G in OMNeT++. Here are the details of my setup:

Simu5G version: 1.2.2
INET version: 4.5
Veins version: 5.2
OMNeT++ version: 6.0.1
Operating System: Windows 10

I followed the instructions provided in the Simu5G documentation. However, I received the following error:

ld.lld: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:121: ../out/clang-debug/src/libveins_inet_dbg.dll] Error 1
make[1]: Leaving directory '/c/omnetpp/omnetpp-6.0.1/veins_inet/src'
make: *** [Makefile:36: all] Error 2
"make MODE=debug -j12 all" terminated with exit code 2. Build might be incomplete.

It seems to be a linker issue. Could this be related to the INET version being too new for the current versions of Veins or Simu5G?
If so, which versions should I use, or are there any workarounds to resolve this issue?

Thank you for your help!

@Thanoon12k
Copy link

Thanoon12k commented Sep 21, 2024

Simu5G version: 1.2.2
INET version: 4.5
Veins version: 5.2
OMNeT++ version: 6.0
Operating System: Windows 10

make MODE=debug -j4 all
make[1]: Entering directory '/d/omnetpp/Simu5G_github/src'
Creating shared library: ../out/clang-debug/src/libsimu5g_dbg.dll
lld-link: error: duplicate symbol: inet::SharingTagSet::setTag(int, inet::IntrusivePtr<inet::TagBase const> const&)

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingTagSet.h:165
../out/clang-debug/src/apps/mec/RealTimeVideoStreamingApp/RTVideoStreamingSender.o
defined at libINET_dbg.dll

lld-link: error: duplicate symbol: inet::SharingTagSet::operator=(inet::SharingTagSet const&)

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingTagSet.h:144
../out/clang-debug/src/stack/rlc/am/LteRlcAm.o
defined at libINET_dbg.dll

lld-link: error: duplicate symbol: inet::SharingRegionTagSet::getTagForUpdate(int)

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingRegionTagSet.h:316
../out/clang-debug/src/apps/mec/DeviceApp/DeviceApp.o
defined at libINET_dbg.dll

lld-link: error: duplicate symbol: inet::SharingRegionTagSet::getRegionTagForUpdate(int)

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingRegionTagSet.h:326
../out/clang-debug/src/apps/mec/DeviceApp/DeviceApp.o
defined at libINET_dbg.dll

lld-link: error: duplicate symbol: inet::SharingRegionTagSet::setTag(int, inet::IntrusivePtr<inet::TagBase const> const&)

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingRegionTagSet.h:306
../out/clang-debug/src/apps/mec/DeviceApp/DeviceApp.o
defined at libINET_dbg.dll

lld-link: error: duplicate symbol: inet::SharingRegionTagSet::operator=(inet::SharingRegionTagSet const&)

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingRegionTagSet.h:285
../out/clang-debug/src/apps/alert/AlertPacket_m.o
defined at libINET_dbg.dll

lld-link: error: duplicate symbol: inet::SharingRegionTagSet::getRegionTag(int) const

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingRegionTagSet.h:321
../out/clang-debug/src/apps/mec/DeviceApp/DeviceApp.o
defined at libINET_dbg.dll

lld-link: error: duplicate symbol: inet::SharingRegionTagSet::getTag(int) const

defined at D:/5G-NR-Simulation/inet/src/inet/common/packet/tag/SharingRegionTagSet.h:311
../out/clang-debug/src/apps/mec/RealTimeVideoStreamingApp/MecRTVideoStreamingReceiver.o
defined at libINET_dbg.dll
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
D:\omnetpp\omnetpp-6.0\tools\win32.x86_64\mingw64\bin/llvm-ar.exe: error: unable to load '../out/clang-debug/src/libsimu5g_dbg.dll.a': No such file or directory
make[1]: *** [Makefile:428: ../out/clang-debug/src/libsimu5g_dbg.dll] Error 1
make: *** [Makefile:2: all] Error 2
make[1]: Leaving directory '/d/omnetpp/Simu5G_github/src'
"make MODE=debug -j4 all" terminated with exit code 2. Build might be incomplete.

16:59:01 Build Failed. 2 errors, 0 warnings. (took 25s.362ms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants