On Sat, Apr 21, 2001 at 10:48:14AM +0800, Horace G. Friend III <[EMAIL PROTECTED]> wrote:
> I also d/led the RunningX.c code from mutt.org and compiled it as
> suggested in the code but I get a compile error. I run
> 
> gcc -o RunningX RunningX.c -lX11
> 
> but I get the error
> 
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> 
> I'm on a RH7 box running kernel 2.2.16 and gcc-2.96-69. Can someone pls.
> figure out why I can't compile and what needs to be done?

    Try using the following:
gcc -o RunningX RunningX.c -L/usr/X11R6/lib -lX11

-- 
Bob Bell <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
 "One reason that few people are aware there are programs running the
  internet is that they never crash in any significant way: the free
  software underlying the internet is reliable to the point of
  invisibility. "
   -- Glyn Moody at http://www.guardianunlimited.co.uk/

Reply via email to