|
You probably need to link the x11 libraries .. -lX11 etc, and also point gcc to the right location of the headers... with -I/path/to/X-headers
If the libraries are in non-standard location, pass the location of the libraries with -L/path/to/libs
Oh and install the x development packages (i.e., the -devel packages in your distribution mostly)
|