-
Notifications
You must be signed in to change notification settings - Fork 2
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
Linking Errors on linux #1
Comments
Okay. I figured out that after adding 0600 as a third argument, |
Great! Do you have patch or pull request?
…On Sat, Sep 8, 2018 at 8:14 AM GeorgeNs ***@***.***> wrote:
Okay. I figured out that after adding 0600 as a third argument,
then I had to configure the makefile.linux and change the -ljuce position
to the beginning of the list and after that i had to add also -ldl, I hope
i did correct.
Now old time classic mammut has been built without errors!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABF9p3bqPikRopIrbTexWargJZL3tvc5ks5uY2BYgaJpZM4WfNri>
.
|
I made a pull request. Hope it will be helpful. This is my first pull request so if you notice anything wrong please let me know.thanks |
Hi. It's very interesting to see the mammut resurrected;)!
The first building step gives this error:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
__open_missing_mode ();
Then on line 392 of linux_threads cpp file i add one more argument in the end:
internal = (void*) open (temp.getFullPathName().toUTF8(), 'a', 0600); (is this correct?)
After that the first make is ok.
Then the last step fails so:
/usr/bin/x86_64-linux-gnu-ld: ../juce_1_44/juce/bin/libjuce.a(juce_linux_Threads.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile.linux:151: recipe for target 'mammut' failed
make: *** [mammut] Error 1
I checked for -ldl in makefile,exists or something else i am missing?
Thanks~
The text was updated successfully, but these errors were encountered: