-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fedora x86_64 - winebuild: ld failed with status 1 #3129
Comments
Per instructions in #5, can you also set |
Yep, with VERBOSE=1, I get:
|
From what I'm reading with the other bug report (which doesn't really explain the workaround, leaving us to infer), this occurs if The workaround shims this with the following pseudo logic:
If your bug is the same cause, it may as simple as the above test is failing. Can you post the output of Disclaimer, I'm not an expert on this, just reading between the lines on the aforementioned bug. |
Sure, @tresf, here is the output of
|
Thanks. Again, this is just a guess ,but can you change # workaround for broken wineg++ in WINE 1.4 (shipped e.g. with Ubuntu Precise)
EXEC_PROGRAM( ${WINE_CXX} ARGS "-v -m32 /dev/zero" OUTPUT_VARIABLE WINEBUILD_OUTPUT)
- if("${WINEBUILD_OUTPUT}" MATCHES ".*x86_64-linux-gnu/wine/libwinecrt0.a.*")
+ if("${WINEBUILD_OUTPUT}" MATCHES ".*lib64/wine/libwinecrt0.a.*")
SET(EXTRA_FLAGS ${EXTRA_FLAGS} -nodefaultlibs /usr/lib/i386-linux-gnu/wine/libwinecrt0.a -luser32 -lkernel32 -lgdi32)
ENDIF() |
Just one more thing, does anyone know why the application quite different from (and more fully featured than) the one provided by my Fedora repositories? |
Fedora offers 1.1.3. The version you've compiled is 1.2.0-RC1 with some additional changes before the 1.2.0-RC2 release.
Can you provide the exact Fedora steps you performed ( We can shim the |
To solve this issue in Fedora, first look for libwinecrt0.a on your system with the following command: (1)
You will get several package names including
Be careful not to install every wine-related package you see as some conflict with each other and you might need to erase some to install some. If I knew how, I would list here all wine packages I have on my Fedora, before starting the build.
Now, lmms should build fine. |
Can/should I or apply this patch to CMakeLists.txt? How can I do this? |
Sure. You look like you're well on your way. I've added some comments to your pull request. Please free to commit additional changes to your branch and they will automatically be reflected in your pull request. |
@jasonMisaq I've added your Fedora hint to our compilation tutorial here: https://github.com/LMMS/lmms/wiki/Compiling-lmms#building-on-linux Once the Pull Request is completed, we'll merge and close out this issue. |
Thank you @tresf. It is great pleasure to be part of this great community 👍 |
A similar issue has already been discussed on #15, but those instructions are mostly for Ubuntu and I could not solve this on Fedora x86_64. Also, if anyone can tell me where I should use the workaround given by user @tobydox on the same page linked above, I would appreciate it. Currently, the complete output for my make is as follows:
The text was updated successfully, but these errors were encountered: