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

Make error #1249

Open
dilip-1234 opened this issue Oct 27, 2024 · 2 comments
Open

Make error #1249

dilip-1234 opened this issue Oct 27, 2024 · 2 comments
Assignees
Milestone

Comments

@dilip-1234
Copy link

while installing omnetpp-6.1 i am getting error at running "make" command
this error i am getting
"resultitems.cc
resultitems.cc:26:29: error: external linkage required for symbol 'omnetpp::scave::NULLSTRING' because of 'dllexport' attribute
26 | const SCAVE_API std::string NULLSTRING = "";
| ^~~~~~~~~~
make[2]: *** [Makefile:75: /c/Users/dilip/Downloads/omnetpp-6.1/out/gcc-release/src/scave/resultitems.o] Error 1
make[1]: *** [Makefile:138: scave] Error 2
make: *** [Makefile:35: allmodes] Error 2"

Screenshot 2024-10-27 150456

@rhornig
Copy link
Contributor

rhornig commented Oct 29, 2024

Could you please to try this also with the default clang compiler (i.e. do not turn off PREFER_CLANG in configure.user)? Is this specific to the GCC compiler only?

@rhornig rhornig self-assigned this Oct 31, 2024
@ScaloraG
Copy link

ScaloraG commented Dec 3, 2024

Hello, I get the exact same problem on my windows machine, I tried running with multiple configuration flags but trying to keep gcc/g++ as the preferred compiler (setting PREFER_CLANG = no) I could build with the clang before, the same exact omnetpp version. Has any solution been found to this or what else could I try out? Thanks in advance!

@rhornig rhornig added this to the 6.x milestone Dec 4, 2024
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

3 participants