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

Duplicate symbols when trying to build emscripten version into Retroarch #159

Open
patrickcorrigan opened this issue Jun 13, 2022 · 0 comments

Comments

@patrickcorrigan
Copy link

The core builds successfully using

emmake make -f Makefile platform=emscripten

When I then try to build the core into retroarch using

emmake ./dist-cores.sh emscripten

I get duplicate symbol errors

for example

wasm-ld: error: duplicate symbol: local_to_utf8_string_alloc
>>> defined in obj-emscripten/./libretro-common/encodings/encoding_utf.o
>>> defined in libretro_emscripten.bc

I think this may be because the --version-script flag doesn't seem to be supported by emscripten.

Any ideas on what I could try next to fix this :)?

Thank you

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

1 participant