LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2012, 07:49 AM   #1
sanaa
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Problem with xgraph on NS-2.34


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
 
Old 02-12-2012, 07:35 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.


Xgraph is easy to get : sudo apt-get install xgraph
.... Or install xgraph with your 'Package Manager'.

( Your link http://erl1.wordpress.com/2011/10/14...t/#comment-232
says : sudo apt-get install xorg-dev g++ xgraph )

.

Last edited by knudfl; 02-13-2012 at 03:54 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in installing "xgraph 12.1" in fedora for ns 2.34 raihana74 Linux - Newbie 29 11-20-2013 10:26 PM
problem in xgraph-12.1 sukrutha Linux - Newbie 1 10-13-2011 12:19 PM
plot the xgraph adel.elkabbany Linux - Newbie 13 05-04-2011 11:52 AM
problem in installing "xgraph 12.1" in ubuntu 9.1 for ns 2.34 neeraj.dwivedi Linux - Newbie 5 03-10-2010 08:01 AM
Problem on launching x11 graphical session of nam/ xgraph for NS-2 aboutjeab Linux - Newbie 5 04-21-2008 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration