1
Q:
host Executable: emulator_renderer (out/host/linux-x86/obj/EXECUTABLES/emulator_renderer_intermediates/emulator_renderer)
/usr/bin/ld: out/host/linux-x86/obj/EXECUTABLES/emulator_renderer_intermediates/main.o: undefined reference to symbol 'XInitThreads'
/usr/bin/ld: note: 'XInitThreads' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld 返回 1
make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_renderer_intermediates/emulator_renderer] 错误 1
A:
development/tools/emulator/opengl/host/renderer/Android.mk
中加入一行:
LOCAL_LDLIBS += -lX11
2
> while the complieing of android 4.0, i got the error:
> host/linux-x86/bin/dexopt: error while loading shared libraries:
> libdvm.so: cannot enable executable stack as shared object requires:
> Permission denied
> please help me!
If you want to make the change persist across reboots,
setsebool -P allow_execstack=1