Skip to content
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

Error from emcc when compiling io.c #6

Closed
jez opened this issue Feb 1, 2022 · 3 comments
Closed

Error from emcc when compiling io.c #6

jez opened this issue Feb 1, 2022 · 3 comments

Comments

@jez
Copy link
Contributor

jez commented Feb 1, 2022

I see this error when attempting to follow the instructions in the README:

io.c:10081:12: error: expected ')'
                                   "(%"PRI_OFFT_PREFIX"d, "
                                       ^
.ext/include/wasm32-emscripten/ruby/config.h:134:25: note: expanded from macro 'PRI_OFFT_PREFIX'
#define PRI_OFFT_PREFIX PRI_LL_PREFIX
                        ^
io.c:10080:28: note: to match this '('
        VALUE message = rb_sprintf("%"PRIsVALUE" "
                                  ^
1 error generated.

I've included the full output from running sh build.sh in the following gist:

https://gist.github.com/jez/3ff0a869cba838d6a6364b084f307e92#file-error-txt-L6-L15

If this error looks expected to you, I'd love help with possible workarounds. Otherwise I'll keep looking for a solution on my own. Thanks for putting this repo together!

@jez
Copy link
Contributor Author

jez commented Feb 1, 2022

Not sure if this matters:

❯ cat /etc/os-release
NAME="Pop!_OS"
VERSION="20.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
LOGO=distributor-logo-pop-os

@mame mame closed this as completed in bc0af66 Feb 1, 2022
@mame
Copy link
Owner

mame commented Feb 1, 2022

Sorry, I was aware of the issue and forgot to push the fix! Could you update the build.sh and retry it?

@mame mame reopened this Feb 1, 2022
@jez
Copy link
Contributor Author

jez commented Feb 1, 2022

That worked, thanks!

@jez jez closed this as completed Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants