-
Notifications
You must be signed in to change notification settings - Fork 86
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
Make fails with warning: missing initializer for field ‘retval’ of ‘sp_config_keyword’ #436
Comments
What compiler (and version) are you using? |
|
5cfe176 should fix it :) Also, your version of gcc isn't supported upstream anymore, you might want to update it. |
Unfortunately I'm still having trouble even after the update. First, I deleted all local files and cloned the repository again to ensure I was working with the latest data. git log:
phpize:
configure:
make:
|
Can you try to remove the Anyway, it looks like your version of gcc is being overzealous, and is likely hitting the following bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960#c18 You should update your compiler :) |
Thanks for pointing out the potential bug. Unfortunately this compiler is provided by the PlatformSH docker image, which I don't have control over directly (and am using to build in the cloud), but I can raise the issue with them and switch to building locally with a recent compiler version as a workaround. Remove
|
An additional note: it's probably not the linked bug that is the cause of this issue, as the final comment says it was fixed from 8.1, and I am using 8.3. |
I'm trying to build this extension from source so that I can use it on platform.sh, but I'm running into an error (
warning: missing initializer for field ‘retval’ of ‘sp_config_keyword’
) when I runmake
.I don't really understand this error so I'd appreciate if you can give me any suggestions about what may be wrong.
Running PHP 8.1
Next configure:
And finally make:
The text was updated successfully, but these errors were encountered: