Assaf Raman wrote: > @André H.: > This solution solved the same issue for me: > http://groups.google.com/group/native-client-discuss/browse_thread/thread/6791a44917dd8ded > > > ... > > Try linking with -lnosys. > > ... > indeed that helps, but a bit later i get: Code: ../libs/wine/libwine.so: warning: the `_execve' function is not implemented and will always fail /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libnosys.a(_execve.o): In function `_execve': _execve.c:(.text+0x1c): warning: the stub `__errno' is not thread-safe, don't use it in multi-threaded environment /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libcrt_common.a(lib_a-sbrkr.o): In function `_sbrk_r': sbrkr.c:(.text+0xb): warning: the stub `errno' is not thread-safe, don't use it in multi-threaded environment /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libnosys.a(_execve.o): In function `_execve': _execve.c:(.text+0x1c): undefined reference to `__errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libcrt_common.a(lib_a-sbrkr.o): In function `_sbrk_r': sbrkr.c:(.text+0xb): undefined reference to `errno' sbrkr.c:(.text+0x62): undefined reference to `errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libcrt_common.a(lib_a-writer.o): In function `_write_r': writer.c:(.text+0xb): undefined reference to `errno' writer.c:(.text+0x82): undefined reference to `errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libcrt_common.a(lib_a-closer.o): In function `_close_r': closer.c:(.text+0xb): undefined reference to `errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libcrt_common.a(lib_a-closer.o):closer.c:(.text+0x62): more undefined references to `errno' follow /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libcrt_common.a(lib_a-_isatty.o): In function `_isatty': _isatty.c:(.text+0x3c): undefined reference to `__errno' _isatty.c:(.text+0x7c): undefined reference to `__errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libnacl.a(close.o): In function `close': close.c:(.text+0x7c): undefined reference to `__errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libnacl.a(fstat.o): In function `fstat': fstat.c:(.text+0x7c): undefined reference to `__errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libnacl.a(lseek.o): In function `lseek': lseek.c:(.text+0x9c): undefined reference to `__errno' /home/dawncrow/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libnacl.a(read.o):read.c:(.text+0x9c): more undefined references to `__errno' follow ../libs/wine/libwine.so: undefined reference to `___tls_get_addr'