Dear all,
I have installed ns-allinone-2.34 succcesfully. I have also run a few of
examples and they are running fine. But when I run trace analysis example
where xgraph is used it gives me follwoing error:
ns: finish: couldn't execute "xgraph": no such file or directory
while executing
"exec xgraph out0.tr out1.tr out2.tr -geometry 800x400 &"
(procedure "finish" line 8)
invoked from within
"finish"
I searched on the web and figured out that xgraph is not installed. I went
to ns-allinone-2.34 folder and looked into installation guide of xgraph.
According to the guide, I did './configure'. It went well, but when I typed
'make' and hit enter it gave me follwoing error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c
dialog.c: In function ‘make_msg_box’:
dialog.c:780: warning: passing argument 2 of ‘getline’ from incompatible
pointer type
/usr/include/stdio.h:653: note: expected ‘size_t * __restrict__’ but
argument is of type ‘char *’
dialog.c:780: error: too few arguments to function ‘getline’
dialog.c: In function ‘getline’:
dialog.c:899: error: argument ‘lptr’ doesn’t match prototype
/usr/include/stdio.h:653: error: prototype declaration
dialog.c:899: error: number of arguments doesn’t match prototype
/usr/include/stdio.h:653: error: prototype declaration
make: *** [dialog.o] Error 1
Can anyone help me with this error. What am I doing wrong and where am I
making a mistake???
Please help me in installing xgraph...
Thanks in anticipation
Regards,
Bilal A. Khan
-----
Regards,
Bilal A. Khan
--
View this message in context:
http://www.nabble.com/xgraph-compiling-error-with-ns-allinone-2.34-tp25200415p25200415.html
Sent from the ns-users mailing list archive at Nabble.com.