[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [X Programming prob...]



I donot think the program would have compiled as stated, in AIX without some
default settings. See below:

"Karthik K H" <karthik_kh@xxxxxxxxxxxx> wrote:
> HI ,
>     I am facing a problem ( which I think maybe specific to Linux ).
>  I have written a simple X Windows program to test my new installation of
RHL5.2 
> When I try to compile it with
> "gcc -g -I/usr/include -I/usr/X11R6/include 
> -l/usr/X11R6/lib/Xt -l/usr/X11R6/lib/Xmu 
> -l/usr/X11R6/lib/X11 XHello.c "
> 
Should be "gcc -g -I/usr/include -I/usr/X11R6/include -L/usr/X11R6/lib -lXt
- -lXmu -l<other_libraries_here> XHello.c

HTH
- -swaps

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------