PRANAM,
Just check whether you have the following lines in your /etc/ld.so.conf file:
/usr/X11R6/lib
/usr/X11R6/include
if these are not present then insert them and execute the command:
ldconfig
from the shell prompt, as the superuser.
Now compile your code named program1 as:
gcc program1.c -L/usr/X11R6/lib -lX11 -o program1
Regards,
RISHI TANDON
--

On Sun, 23 Feb 2003 20:15:44  
 bharat bhushan wrote:
>
>NAMASKAR sir/madam
>
>i am a beginer in the  X window programming during programming i cannot  use the 
>
>Xopendisplay it says  undefined reference to function XOPENDISPLAY
>
>also i could not include the lX11 libraray it says cannot find lX11
>
>plz help me .
>
> 
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Tax Center - forms, calculators, tips, and more


_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. 
Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to