-
Notifications
You must be signed in to change notification settings - Fork 9
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
Problem compiling Godot with MySQL module #25
Comments
It's probably a problem with the linker. I will refactor the third-party compilation and solve this in the process. |
@majenkotech Is it working on Arch Linux now? |
Alas not, I am still seeing the same FT_* linker problem. |
Have you tried without production and lto options? |
Originally I had tried many permutations. I shall try more later on tonight with the new version. |
With no production and no LTO (just |
I can't reproduce it on ubuntu. |
Maybe it would be simpler if I just knock up an Ubuntu VM for compilation purposes. I'm more than happy to run purely with system-installed libraries if that's a simpler thing to arrange. I don't need portability for what I do with Godot. |
You can guide scons to the folder containing the compiled Boost and Oopenssl libraries. |
Hmm, no, that doesn't seem to make any difference. I'm trying in an Ubuntu VM at the moment to see if that is more successful. |
Aha! I have some success! I switched to LLVM and LLD instead (and it took a good hour to link... :( ) and it looks like it has actually compiled! Now to do more experiments... My working command line:
|
It's a linker issue. Seems Gold is not properly set. |
You said that portability doesn't matter, you are probably using this module on your server, correct? |
Kind of. I am using Godot on my streaming PC to create interactive overlays. I'm the only one using that installation of Godot and what I write is for internal use only and won't be shared with anyone. The database is for saving request queues and state information. |
@majenkotech I made few changes. Could you confirm if you are able to compile now? |
Still fails in the same way with Also, I don't know if this is intentional or not, but it seems to recompile boost every single time now, which makes incremental builds impossible.... |
@majenkotech I've tried with gcc\gold + gold, lld and mold but I still can't reproduce this on Ubuntu.
. There is a config.cfg file where you can't desable the compilations of openssl and/or boost. I'll make it an option of scons in the future.
|
Platform: Arch Linux
Godot Version: Git HEAD 9b522ac1a85cab1a7a867b7a9f3bb102d9376ac2
Compile command:
scons platform=linuxbsd target=editor production=yes lto=full
GCC version: 13.2.1 20230801
Normal Godot compilation is fine. As soon as I add the MySQL module to
modules/
compilation fails with linking errors:I believe these errors are coming from the
text_server_adv
module which is being broken by the MySQL module in some way.The text was updated successfully, but these errors were encountered: