Ho provato un semplicissimo programmino con le librerie X11 però non lo compila dandomi il seguente output
/tmp/cccumWwk.o: In function `Initialise(void)':
/tmp/cccumWwk.o(.text+0xc): undefined reference to `XOpenDisplay'
/tmp/cccumWwk.o: In function `CreateWindow(unsigned long, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
/tmp/cccumWwk.o(.text+0xd6): undefined reference to `XCreateSimpleWindow'
/tmp/cccumWwk.o(.text+0xef): undefined reference to `XMapWindow'
/tmp/cccumWwk.o: In function `main':
/tmp/cccumWwk.o(.text+0x1db): undefined reference to `XDrawLine'
/tmp/cccumWwk.o(.text+0x200): undefined reference to `XDrawLine'
/tmp/cccumWwk.o(.text+0x213): undefined reference to `XSync'
/tmp/cccumWwk.o(.text+0x227): undefined reference to `XDestroyWindow'
/tmp/cccumWwk.o(.text+0x23b): undefined reference to `XDestroyWindow'
/tmp/cccumWwk.o(.text+0x24c): undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
------------------------
Cosa sbaglio? Non ho una gran esperienza a livello di librerie grafiche....