when trying to compile quickbms make errors out with a slew of undefined references so it seem that -ldl does not work even though it is in the cdefs. so i am trying to figure out why the undefined refernces are happening?
https://paste.ee/p/WRGkO
Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
-
- Posts: 11
- Joined: Wed Mar 10, 2021 6:41 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
Please try the current beta:
https://aluigi.org/beta/quickbms_beta.zip
That error and many others should now be all fixed.
https://aluigi.org/beta/quickbms_beta.zip
That error and many others should now be all fixed.
-
- Posts: 11
- Joined: Wed Mar 10, 2021 6:41 pm
Re: Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
i just tried the beta, and i am now getting a new set of errors so here is the log for that to see what is going wrong.
https://paste.ee/p/6VJns
https://paste.ee/p/6VJns
Last edited by silverhikari on Thu Mar 18, 2021 12:06 am, edited 1 time in total.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
Open utils.c with a text editor and comment or remove the lines mentioned in the error.
I will check if there is a way to fix them in the next beta, thanks for the feedback
I will check if there is a way to fix them in the next beta, thanks for the feedback
-
- Posts: 11
- Joined: Wed Mar 10, 2021 6:41 pm
Re: Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
sorry for being the barer of more problems but just removed the problem lines like you said and well more problems have appeared
https://paste.ee/p/dkW7k
https://paste.ee/p/dkW7k
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
What compiler, platform and compiler version are you using?
Just recently I successfully compiled the quickbms beta on Windows (gcc 4 and 10), Linux (gcc 7) and even on Android ARM, and there was none of that new batch of errors you posted.
Please note that the Makefile can't be used on Windows (the exe are already available so no need).
Just recently I successfully compiled the quickbms beta on Windows (gcc 4 and 10), Linux (gcc 7) and even on Android ARM, and there was none of that new batch of errors you posted.
Please note that the Makefile can't be used on Windows (the exe are already available so no need).
-
- Posts: 11
- Joined: Wed Mar 10, 2021 6:41 pm
Re: Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
i am using GCC version 10.2.0 on kubuntu 20.10
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compiling quickbms 10.1 on Ubuntu20.10 using gcc 10 ldl does not seem to work
The new beta fixes the oodle problem and few others.
But I don't understand why there are so many "undefined reference" there, moreover because tomcrypt and mcrypt are disabled in the Makefile.
On my test Linux I used gcc 4 (not 7 as I thought) and it compiles without any error, even MacOS with brew works perfectly.
But I don't understand why there are so many "undefined reference" there, moreover because tomcrypt and mcrypt are disabled in the Makefile.
On my test Linux I used gcc 4 (not 7 as I thought) and it compiles without any error, even MacOS with brew works perfectly.