Fred R. McDavid wrote:

> /usr/bin/ld: cannot open -lX11: No such file or directory
> Is there a gcc option that I'm missing perhaps?

You need -L/usr/X11R6/lib/ somewhere infront of -lX11

It tells the compiler to search for function libraries in /usr/X11R6/lib
as well as the standard locations (/lib and /usr/lib, plus some compiler
specific location)

---
Henrik Nordström

Reply via email to