{"action":"opened","issue":{"url":"https://api.github.com/repos/linux-sunxi/meta-sunxi/issues/134","repository_url":"https://api.github.com/repos/linux-sunxi/meta-sunxi","labels_url":"https://api.github.com/repos/linux-sunxi/meta-sunxi/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/linux-sunxi/meta-sunxi/issues/134/comments","events_url":"https://api.github.com/repos/linux-sunxi/meta-sunxi/issues/134/events","html_url":"https://github.com/linux-sunxi/meta-sunxi/issues/134","id":140134101,"number":134,"title":"mali driver x11 problem","user":{"login":"yamak","id":2978923,"avatar_url":"https://avatars.githubusercontent.com/u/2978923?v=3","gravatar_id":"","url":"https://api.github.com/users/yamak","html_url":"https://github.com/yamak","followers_url":"https://api.github.com/users/yamak/followers","following_url":"https://api.github.com/users/yamak/following{/other_user}","gists_url":"https://api.github.com/users/yamak/gists{/gist_id}","starred_url":"https://api.github.com/users/yamak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamak/subscriptions","organizations_url":"https://api.github.com/users/yamak/orgs","repos_url":"https://api.github.com/users/yamak/repos","events_url":"https://api.github.com/users/yamak/events{/privacy}","received_events_url":"https://api.github.com/users/yamak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-11T09:23:53Z","updated_at":"2016-03-11T09:23:53Z","closed_at":null,"body":"Hi,\r\nI try to build an image for bananaPro withot x11 and wayland support.But I get following error during mali test binary compilation\r\n\r\n> make: Leaving directory '/home/yusuf/yocto/poky/bananaProHf/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/sunxi-mali/git-r0/git/include'\r\nmake -C test test\r\nmake[1]: Entering directory '/home/yusuf/yocto/poky/bananaProHf/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/sunxi-mali/git-r0/git/test'\r\narm-poky-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a7 --sysroot=/home/yusuf/yocto/poky/bananaProHf/tmp/sysroots/bananapro  -O2 -pipe -g -feliminate-unused-debug-types -I../include -L../../image/usr/lib -o test test.c -lEGL -lGLESv2 -lX11\r\nIn file included from ../include/EGL/egl.h:36:0,\r\n                 from test.c:32:\r\n../include/EGL/eglplatform.h:89:22: fatal error: X11/Xlib.h: No such file or directory\r\ncompilation terminated.\r\nMakefile:8: recipe for target 'test' failed\r\n\r\nWhen I view 0001-fix-test-build.patch file,I see following lines\r\n\r\n>  test: ../config.mk test.c\r\n-\t$(CC) $(CFLAGS) -o $@ test.c -lEGL -lGLESv2\r\n+\t$(CC) $(CFLAGS) -I../include -L../../image/usr/lib -o $@ test.c -lEGL -lGLESv2 -lX11\r\n \r\n clean:\r\n \trm -f test\r\n-- \r\nSince the image doesn't support X11, I assumed the X11 libraries shouldn't be included. Isn't that true?\r\nHow can I solve this problem? "}}