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 under Fedora 32 fails: No rule to make target '-lgomp' #170

Open
boom1 opened this issue Oct 15, 2020 · 5 comments
Open

make under Fedora 32 fails: No rule to make target '-lgomp' #170

boom1 opened this issue Oct 15, 2020 · 5 comments

Comments

@boom1
Copy link

boom1 commented Oct 15, 2020

$ make
make: *** No rule to make target '-lgomp', needed by 'src/HexEditorGui.o'. Stop.

IMHO it is not good to try to create $(LIBS), especially not "-lgomp".
Below patch fixes this by introducing $(LOCAL_LIBS), which are meant to be "made" by make. Then $(LIBS) is just "-lgomp", which is an external dependency of the project.
patch.txt

PS: Maybe there is a better name than LOCAL_LIBS.

@Eddi-z
Copy link

Eddi-z commented Oct 16, 2020

i try to compile in OpenSUSE, and i run into the same issue.

additionally, after applying your patch, i run into this issue that "itab.h" is missing, which seems to be related to this: vmt/udis86#105

@wtywtykk
Copy link

i try to compile in OpenSUSE, and i run into the same issue.

additionally, after applying your patch, i run into this issue that "itab.h" is missing, which seems to be related to this: vmt/udis86#105

I run into this problem on fedora32, I tried:

goto the udis86 directory,and

autoreconf -i
./configure
make

then everything is fine.

@beluxx
Copy link

beluxx commented Nov 4, 2020

grep lgomp

./COMPILE:122:Opps! I forgot to say that, you probably need to remove -lgomp flag from Makefile. ./Makefile:4:LIBS += -lgomp

remove LIBS += -lgomp, it worked

@trick2011
Copy link

What does -lgomp even do? I needed to remove it too from the Makefile to compile it on Ubuntu 22.04

sidenote: why does the readme say "just make" and the COMPILE file has large instructions to actually do it. Which also explains this issue for macosx but not for other OS'es

@EUA
Copy link
Owner

EUA commented Oct 19, 2023

-lgomp flag makes wxHexEditor enable multi-processing library functions.
Why does it required? Well, if you search on a TB SSD, that will increase search speed. That's all.

I don't know proper way to add this libraries into makefile.
Might be, it's better to remove all those libraries and use them as an external library do the job.

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

6 participants