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
Compilation fails on linux #1374
Comments
Yeah although you are running gentoo, you have an outdated version of gcc installed I guess. Try updating your server. |
I can't, it's a semi-managed hosting. I don't have root access. |
Then contact the support. The current version of GCC is 4.9 so they are already a few versions behind. |
Also that looks like a gcc driver compiler mismatch. We don't actually pass that flag to gcc anywhere. |
Of course you do! You automatically give the compiler the -Wall flag which shows all the warnings |
I don't think passing -Wall should enable a flag that the compiler doesn't know |
@madmaxoft whats the command line cmake's feeding gcc? If you compile with VERBOSE=1 to the makefile it should tell you. |
Yes, it is there, although I have no idea where it came from:
|
What cmake version are you running? |
2.8.12.2 |
There's something weird going on with your cmake. I'd check the defaults for the |
How do I do that? Remember, I'm a linux noob |
I'd create a cmakelist thet is just:
Then try and build it. |
Remember--you can compile GCC! If all else fails, that's what you can do, that or downloading a newer GCC binary (but not installing it). |
Both CXX and C flags are empty. I used the following CMakeLists.txt file:
The output is:
|
Found the problem. SQLiteCPP are inserting the flag. They recommend 4.7.2 but if you can't use that I suggest you raise the issue with them. |
I tried compiling MCS on my VPS and the compilation failed:
g++ --version
reports:The text was updated successfully, but these errors were encountered: