We don't have a list of missing functions, but the compiler will warn as shown above.
- Alon On Tue, Mar 11, 2014 at 8:43 PM, Eric.Yang <[email protected]> wrote: > Thank you for your prompt reply. : ) > > How do I know which method is implemented or not? > > and Is there unimplemented method info on the website? > > Thanks a lot again. > > Bruce Mitchener於 2014年3月11日星期二UTC+8下午11時41分26秒寫道: >> >> There's no implementation of getsockopt() in emscripten currently. >> >> - Bruce >> >> >> >> On Tue, Mar 11, 2014 at 10:14 PM, Eric.Yang <[email protected]> wrote: >> >>> Hi all, >>> >>> I used emscripten to compile my code and I met a a warning message not >>> related to embind. >>> ------------------------------------------------------------ >>> ------------------------------------------------------------ >>> --------------- >>> DEBUG root: linking took 0.53 seconds >>> DEBUG root: saving intermediate processing steps to >>> /tmp/emscripten_temp >>> DEBUG root: emcc: LLVM opts: ['-disable-internalize', '-internalize', >>> '-internalize-public-api-list=main,malloc,free', '-std-link-opts', '-S'] >>> DEBUG root: step took 1.87 seconds >>> DEBUG root: LLVM => JS >>> DEBUG root: emscript: ll=>js >>> DEBUG root: emscript: scan took 0.0136179924011 seconds >>> DEBUG root: emscript: split took 0.0173079967499 seconds >>> warning: unresolved symbol: _embind_register_class_function >>> warning: unresolved symbol: _embind_register_class_constructor >>> warning: unresolved symbol: _embind_register_class >>> *warning: unresolved symbol: getsockopt* >>> warning: unresolved symbol: _embind_register_void >>> warning: unresolved symbol: _embind_register_bool >>> warning: unresolved symbol: _embind_register_integer >>> warning: unresolved symbol: _embind_register_float >>> warning: unresolved symbol: _embind_register_std_string >>> warning: unresolved symbol: _embind_register_std_wstring >>> warning: unresolved symbol: _embind_register_emval >>> warning: unresolved symbol: _embind_register_memory_view >>> ------------------------------------------------------------ >>> ------------------------------------------------------------ >>> ----------------- >>> >>> when I tried to run it in browser, I got this error message. There is no >>> _getsockopt >>> function defined in js file. >>> >>> Uncaught ReferenceError: _getsockopt is not defined a.out.js:10743 >>> (anonymous function) a.out.js:10743 >>> __Z14sendAndRecvReqNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEi >>> a.out.js:10743 >>> (anonymous function) a.out.js:7324 >>> __ZN12CBatteryInfo16GetTotalCapacityEv a.out.js:7324 >>> __ZN10emscripten8internal13MethodInvokerIM12CBatteryInfoFivEiPS2_JEE6invokeERKS4_S5_ >>> a.out.js:8703 >>> CBatteryInfo$GetTotalCapacity VM95:8 >>> (anonymous function) >>> >>> >>> So what do I miss when compiling and what should I do to include sys lib? >>> >>> Any comments would be appreciated! >>> >>> Thanks. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "emscripten-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
