<div>No, I never was able to compile anything with X11 support. I tried the test program, but with modifications. I changedt he three first includes to:</div><div>#include "/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/include/X11/Xlib.h"</div><div>#include "/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/include/X11/Xutil.h"</div><div>#include "/media/34GB/Arquivos-de-Programas-Linux/xorg/Xproto-7.0.17/include/X11/Xos.h"</div><div> </div><div>and invoked gcc with: gcc -o test-X11 test-X11.c >> error.txt 2>&1 (I do not have a X11R6 dir to use the -L and don't know the libraires's name to look for. Same with -lxcb</div><div> </div><div>The three first error messages were:</div><div><div>/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/include/X11/Xlib.h:44:19: error: X11/X.h: No such file or directory</div><div>/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/include/X11/Xlib.h:47:28: error: X11/Xfuncproto.h: No such file or directory</div><div>/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/include/X11/Xlib.h:48:25: error: X11/Xosdefs.h: No such file or directory</div><div> </div><div>I think I already received these error messages(or something quite similar) when trying to compile something else before</div></div><div><br /></div><div><br /></div><div>05.09.2020, 11:37, "Uli Schlachter" <psychon@znc.in>:</div><blockquote><p>Hi,<br /><br />Am 05.09.20 um 03:06 schrieb alexandre schenberg:<br /></p><blockquote class="210e7a848e8fcb45wmi-quote"> configure:20422: gcc -o conftest -g -O2 conftest.c -lm <br /> -L/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib/ -lX11 >&5<br /> /media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib//libX11.so: undefined <br /> reference to `xcb_wait_for_reply64'<br /> /media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib//libX11.so: undefined <br /> reference to `xcb_poll_for_queued_event'<br /> /media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib//libX11.so: undefined <br /> reference to `xcb_poll_for_reply64'<br /> collect2: ld returned 1 exit status<br /></blockquote><p><br />This sounds like your libX11.so is broken. I am not sure what program<br />configure is trying to build here, but I bet that libX11.so contains<br />those undefined references / does not link against libxcb.so.<br /><br />Can you compile other programs against this libX11.so?<br /><br />Google found<br /><a href="https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/">https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/</a>.<br />Can you try compiling that program? Does it work?<br /><br />Cheers,<br />Uli<br /></p><span class="f55bbb4eeef208e8wmi-sign">-- <br />"Every once in a while, declare peace. It confuses the hell out of your<br />enemies"<br /> - 79th Rule of Acquisition<br /></span></blockquote>