Hello ,everyone
I have a problem when I make the code of Mali™ GPU User Interface Engine which I download today.
my system is ubuntu 14.0 --32bit .And I had install the Xlib by apt-get install libX11-dev
after I enter the command :
make all CONFIG=release VARIANT=x11linux-gles20 TOOLCHAIN=gcc
the following is the echo errors:
/usr/bin/ld: build/gcc-i686-linux-release-x11linux-gles20/lib/libmde.a(x11_event_handler.small.o): undefined reference to symbol 'XNextEvent'
/usr/lib/i386-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [build/gcc-i686-linux-release-x11linux-gles20/bin/mde_test/mde_test] Error 1
I had check it on the Internet that the errors was link error rather than the compilers error .but I can't find how to solve the problem .
http://stackoverflow.com/a/20206371 contains something potentially helpful, it looks like the error is trying to say that libX11 exposes that symbol but is missing from your linker command line. Does the makefile include "-lX11" in the linker args?
Hth,
Chris