-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Missing symbols in libuuid.a #5616
Comments
chances are a patch will need to be submitted to the mingw-w64 git on sf.net. Shouldn't be hard to make a quick patch for use locally |
Could it be a problem with the msys2 distribution? When I grep the mingw-w64 sources I find each of those symbols. On the other hand it's only in headers and some are On top of that my understanding of COM is limited. Even less so outside MSVC. |
It's not an msys2 issue it's a CRT in mingw. Go to file in mingw-w64-crt/libsrc/uuid.c that's where your changes would go for the new uuid's anyways I can probably make the change, but I'm heading to bed myself. |
It would be great if you can find the time and make it. How are patches discussed/submitted to mingw-w64? Is it via a mailing list? If I can see an example I could do this myself in the future. |
It's submitted via their mailing list. |
Got 2 of the UUID's implemented, One of them maybe a little more interesting to implement, but once I get the patches generated I'll send it to the mailing list. EDIT: Mind testing these patches against a local mingw-w64 package and see if these work for you? You'll have to build the package from source though. |
It looks great. There's only one error now...
|
Excellent, I'll work on that today and I'll see about getting that in the mailing list. |
A lot of those missing uuid's were actually in objidl.h, so it was a matter of moving them. There was one I had to do a bit of research though and for CSLID_DCOMAccessControl, I'll have to a do a bit of research there too, but it should be easy enough. |
This one should fix the CLSID_DCOMAccessControl undefined. If this works, I'll throw it at the mingw-w64 devs in their mailing list, I honestly don't know if they'll accept it, and I'm not sure @Alexpux would accept the patches in the MinGW CRT package either |
Create pull request for mingw-w64 headers/crt packages and I will review |
Alright, as soon as @joankaradimov tests to see if it fixes his pywin32 package. Then I'll be submitting these patches for mingw-64's mailing list and then I'll make the PR for the mingw crt msys package. |
The last patch works too. And it got me through that step of the compilation.
Well, it doesn't fix the package, but it does fix the compilation of one of the python modules in it :)
@Alexpux: I don't know if that's necessary. I'm not in a hurry. There are quite a few other issues to fix first in pywin32. We can wait and see if this will be merged in master. Right now I have a package that works locally and that's good enough for now. |
@joankaradimov I'll be doing the PR for the packages, because it'll be nice to have that all situated as long as it works. Helping you is actually helping me contribute back to the mingw-w64 project as a whole. Besides fixing those uuid's I'm working on adding some missing includes for OBS Studio that mingw-w64 is missing like wscapi and iwscapi as well as some mmdevapi speaker configs. So like I said, l'll deal with this, as it's a learning experience for me :) |
@ZachBacon: What you are saying makes sense. While getting more modules to compile, I encountered another missing symbol - |
... and some more: There are a lot of those, it appears :/ @ZachBacon Maybe I should take over. I'll understand if you don't have the time to deal with all of these. |
@joankaradimov You underestimate the amount of free time I have now adays. The sad benefits of leaving ones job and in the middle of looking for a new one. Nah, I got this. Though if you do want to help, I've forked the mingw-w64 repo at https://github.com/ZachBacon/mingw-w64 I'm occasionally syncing with upstream so that I can make the proper changes and send them signed off patches. I can give you commit access there, that way we can both work on it. |
No need. It's better to open PRs in your repo. This way you can review the changes. Maybe I can start backwards alphabetically and do IID_ITask* stuff first. |
Some GUIDS:
|
in other form:
|
Not tested, but may be helpful:
from winsdk-10
from winsdk-10
from here |
excellent, I'll get those in later tonight or tomorrow, if things test out well, I'll send in the patches as a unified patch to the mingw-w64 project as well. What I'd like to do eventually, any problematic packages that won't compile due to something missing in mingw-w64 but compiles with msvc, I'd like to try and make patches to the mingw-w64 sdk, help expand the compatibility and expand what we can carry in the repository potentially. |
Got the UUID's in, Gonna work on the FMTID_AudioSummaryInformation in next |
Apologies for delays, other things kinda took my attention. I'll submit a PR soon regarding the missing uuid's |
No problem. Thank you for getting involved in this!
Could you review my PR in your repo and potentially squash it into you changes? |
yeah I could do that. |
And patches sent to the mingw-w64-public mailing lists |
Sometime this week, I'm going to attempt to make a PR for the patches we made for the headers/crt packages, due to the fact they are now pushed to the mailing list for mingw-w64, and this should now allow the pywin32 package to be compiled for msys2 |
And got confirmation, the patches got applied upstream. |
They have also landed in MSYS2 with commit 8146fdb. This is fixed. I'm closing the issue. Thanks, @ZachBacon, and thanks everyone! |
I'm trying to get a
python-pywin32
build running in MinGW. Here is some of my progress. However, I encountered some missing symbols inlibuuid.a
. They are all present inUuid.Lib
shipped with the Microsoft SDK.Here's the output from
ld
:The text was updated successfully, but these errors were encountered: