Closed shawnchain closed 1 year ago
Can you try compiling with -latomic
?
It fixes the atomic reference error and now only 1 left:
miniaudio/miniaudio.o: In function `ma_job_queue_cas':
miniaudio.c:(.text+0x4e4): undefined reference to `__sync_val_compare_and_swap_8'
collect2: error: ld returned 1 exit status
Can you try the dev branch? By a very strange coincidence, someone on my Discord server reported the exact same issue just a few hours after your report and I did a potential fix this morning in response (only difference is theirs was relating to PowerPC).
I applied commit 1ac2abc and compile success. I Will test the binary later. Thank you for kind help.
Thanks for checking that and for the report. The person who reported it on Discord has reported that it's working at runtime for them. I'll go ahead and close this one, but if you encounter any runtime issues feel free to reopen this. I've just released version 0.11.15 which includes this fix.
miniaudio compile error under MIPS toolchain "mipsel-openwrt-linux-musl-g++" with following parameters an error message
error:
Affected version: possibly all ?