Open VamCriss opened 1 year ago
sysctl
is used to adjust Linux kernel params, I think? I don't believe we support that level of Linux compatibility. Does your project actually need this, or perhaps just avoiding those calls will work?
(I was confused for a moment when I read this, because I thought we do support it, but I was thinking of ioctl
.)
Hmm, we should probably remove that header, since I don't think we have ever supported that function.
The header was added back in 06b2dd819a8cf2f0605e22f40449524f32f8e32b
Version of emscripten/emsdk:
Failing command line in full: Source Code
Command: emcc hello.c -s WASM=0 -o hello.html
Full link command and output with -v appended: Output with -v
Besides,if this is the right system library path, I found the definition of sysctl in system/include/compat/sys/sysctl.h. But I'm confused why this function is undefined.