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

nemea make command not working #20

Open
abdulghafor opened this issue Sep 9, 2020 · 7 comments
Open

nemea make command not working #20

abdulghafor opened this issue Sep 9, 2020 · 7 comments

Comments

@abdulghafor
Copy link

We have deployed nemea module .we want to develop it through binary source code .at the time of compilation its gets configured but after we got error please helpt resolve this isssue .

error1

@cejkato2
Copy link
Contributor

cejkato2 commented Sep 9, 2020

Can you provide information about your operating system and compiler version, please?

@cejkato2 cejkato2 changed the title nemea make commond not working nemea make command not working Sep 9, 2020
@abdulghafor
Copy link
Author

abdulghafor commented Sep 10, 2020

Operating system :
Fedora 32: x86_64
Compiler version:
gcc version 10.0.1 20200328 (Red Hat 10.0.1-0.11) (GCC)

@cejkato2
Copy link
Contributor

Ok, thank you for the information, I was able to repeat the issue locally, I'll provide a patch soon.

A temporary workaround for you can be: make clean && ./configure CFLAGS=-fcommon && make

@abdulghafor
Copy link
Author

Thank you very much after executing this command "make clean && ./configure CFLAGS=-fcommon && make" i got a same error.
error

@cejkato2
Copy link
Contributor

Well, it seems to me this time it uses a different location of some previously installed library...
(In /usr/lib64)?

To skip installed libraries and use files from relative paths in the repo during the build, there is a special parameter, so maybe make clean && ./configure --enable-repobuild CFLAGS=-fcommon && make would work better for you.

Also, sending output of configure would be helpful for us.

cejkato2 added a commit to CESNET/Nemea-Framework that referenced this issue Sep 11, 2020
…t least 10

According to https://gcc.gnu.org/gcc-10/changes.html, new gcc has changed
default behavior so we get compile errors without -fno-common.

This should help with: CESNET/Nemea#20
cejkato2 added a commit that referenced this issue Sep 11, 2020
Add gcc version check in UniRec and insert -fcommon flag.

This should solve #20.
@cejkato2
Copy link
Contributor

After updates, I have tested to build everything on a clean Fedora32 using podman container - build succeeded. Can you confirm it's fixed now?

@abdulghafor
Copy link
Author

nemea compilation is successful . now i want to performe testing in order to explore the workin of detector .can you please guide me further so that i can perfome testing .
error
error 2

krkos added a commit to krkos/Nemea-Framework that referenced this issue Jan 20, 2021
According to https://gcc.gnu.org/gcc-10/changes.html, new GCC has changed
default behaviour so we get compile errors without -fcommon.

This is not required for the unirec library itself, which builds fine,
but for (some of) the users in the modules repository.

The unirec usage depends heavily on the -fcommon behaviour and fixing
that would require major redesign, so just explicitly add this option
to keep the old GCC behaviour.

This should help with: CESNET/Nemea#20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants