[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -lX11



On Fri, May 26, 2000 at 01:31:24PM +0800, Kreaped Ripping Reaper wrote:
> 
> hi.. i tried to compile something that needs -lX11 but gives me an error that says i dont have it... 
> i'm using woody :)
> error is here--------
> 
> [kreaper@kreaper:~/ ]$  gcc -lX11 -lm -o xroy xroy.c
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status

add -L/usr/X11/lib and see if that works.

Cheers,
Chris

-- 
pick, pack, pock, puck: like drops of water in a fountain falling
softly in the brimming bowl.



Reply to: