-
Notifications
You must be signed in to change notification settings - Fork 63
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
cannot build pkgi - SYS_MUTEX_ATTR_PSHARED not defined #107
Comments
@mohasi I haven't taken it out but renamed, as the compiler already suggests. I'll create a PR for it. But for now, to make sure the rest compiles fine, can you change from SYS_MUTEX_ATTR_PSHARED to SYS_MUTEX_ATTR_NOT_PSHARED on this line? |
@shagkur TBH, I gave up, instead I went back to using a pre-compiled older version of the toolchain from @bucanero. The current batch of changes being done in the To reproduce the error will need to do things in this order:
The error should present itself. I hope that is enough. |
yes, from what I see, the only change that affects my code is a rename from: #define SYS_MUTEX_ATTR_PSHARED 0x0200 to: #define SYS_MUTEX_ATTR_NOT_PSHARED 0x0200 The value is still the same (0x200), so changing the line should fix it: mutex_attr.attr_pshared = SYS_MUTEX_ATTR_NOT_PSHARED; |
@bucanero Can you give the whole build a try? Currently i'm really busy with other stuff, so i cant/wont test myself as i'd have to gather all the dependencies. But please let me know if there're other compile errors |
sure, first I need to checkout the latest upstream changes to PSL1GHT and rebuild my local environment. Then I'll try to rebuild my homebrew apps with the latest version and see how it goes. When I get the results I'll share my feedback. |
quick update: yesterday I re-built the whole ps3toolchain+PSL1GHT+ps3libraries without issues, using the latest code available. (as of 2020-07-17) Now I need to test building my own homebrew apps to see if everything works as expected. I'll update later with more information. |
only 2 small changes required:
mutex_attr.attr_pshared = SYS_MUTEX_ATTR_NOT_PSHARED;
This issue can be closed; I'll add these changes to my pkgi-ps3 repository later. 👍 cheers |
@shagkur You took out
SYS_MUTEX_ATTR_PSHARED
frommutex.h
in your recentlibspumars
commit which is making https://github.com/bucanero/pkgi-ps3 fail to build :Will it be put back?
The text was updated successfully, but these errors were encountered: