Hello,
I installed NS-2.34 on ubuntu 11.10 by following these instructions
http://erl1.wordpress.com/2011/10/14...t/#comment-232
At the end of installation, I have this comment:
Quote:
Please compile your xgraph separately
|
.
When I did that, I have this error
Quote:
~/ns-allinone-2.34/xgraph-12.1$ make
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c
dialog.c: In function ‘make_msg_box’:
dialog.c:780:5: warning: passing argument 2 of ‘getline’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:671:20: note: expected ‘size_t * __restrict__’ but argument is of type ‘char *’
dialog.c:780:5: error: too few arguments to function ‘getline’
/usr/include/stdio.h:671:20: note: declared here
dialog.c: In function ‘getline’:
dialog.c:893:9: error: argument ‘lptr’ doesn’t match prototype
/usr/include/stdio.h:671:20: error: prototype declaration
dialog.c:899:1: error: number of arguments doesn’t match prototype
/usr/include/stdio.h:671:20: error: prototype declaration
make: *** [dialog.o] Error 1
|
Can someone help me to install xgraph?
Thank you in advance