Fixing linking flag -lpthread -> -pthread so linking works under Linux Mint 17.2#6
Open
Qqwy wants to merge 1 commit intofbb-git:masterfrom
Open
Fixing linking flag -lpthread -> -pthread so linking works under Linux Mint 17.2#6Qqwy wants to merge 1 commit intofbb-git:masterfrom
-lpthread -> -pthread so linking works under Linux Mint 17.2#6Qqwy wants to merge 1 commit intofbb-git:masterfrom
Conversation
Author
|
I have tried building master using the As discussed by mail, I'll check the results with |
Author
|
All right. With |
Owner
|
Dear Qqwy, you wrote:
All right. With `LDFLAGS = ""` it also works fine.
OK, thx for your help: I'll change it in the next distribution (at
github already at the next commit, i.e., the one following the commit dated
Fri Nov 25 11:02:35 2016 +0100 (99ca3d6)).
…--
Frank B. Brokken
Center for Information Technology, University of Groningen
(+31) 50 363 9281
Public PGP key: http://pgp.surfnet.nl
Key Fingerprint: DF32 13DE B156 7732 E65E 3B4D 7DB2 A8BE EAE4 D8AA
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I had problems with the compilation process. To be more exact, I encountered the following error:
After trying out some different things, I changed the
-lpthreadflag to-pthread. This works, at least on my architecture (Linux Mint 17.2, kernel: x86_64 Linux 3.16.0-38-generic). I expect this to work on other systems as well (But of course, please do test). See more information about the difference between the two flags here: http://stackoverflow.com/questions/23250863/difference-between-pthread-and-lpthread-while-compiling#23251828🙂
~Wiebe-Marten