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

Re: [ns] Problem with Xgraph



Probably -lx11 should be changed to -lX11 

It is looking for the library libx11 but at least on my redhat system I
only have libX11.



Salvatore Ascione wrote:
> 
> Hi all,
> I successfully installed ns2.1b8
> But I have a problem with Xgraph.
> 
> OS: Mandrake 7.0
> ns: ns-allinone-2.1b8a.tar.gz
> 
> 
> error message:
> 
> gcc -g -o xgraph xgraph.o xgx.o hard_devices.o dialog.o hpgl.o ps.o idr
> aw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivate.o -l
> x11 -lm
> /usr/bin/ld: cannot find -lx11
> collect2: ld returned 1 exit status
> make: *** [xgraph] error 1
> 
> Best regards,
> Salvatore Ascione