Ns22.29 problems with linux installation-Linux Enterprise Application-Linux server application information. For details, refer to the following section. NS-2.29 installation under Cygwin
This is because we are engaged in multimedia communication Research, mainly from the theoretical and practical perspectives. Theoretical knowledge focuses on information theory (Video Coding) and network theory (such as TCP/IP protocol stacks, CDMA, signal processing, and Communication Principles ), in terms of tools, the main focus is on three major tools. First, it is necessary for VC to develop C ++ language. Second, of course, it is matlab, no one who does scientific research does not need matlab, and the third is to study the NS-2 needed by the communication network.
Because of the needs of the study, NS-2 needs to be installed. For convenience, use cygwin to install the NS-2 under windows xp, the basic situation is as follows, the first is to download and install cygwin, the second is to start to install the ns-allinone-2.29. But since I'm using bash 3.1.17, There's Something incompatible with the officially downloaded ns-allinone-2.29.2. There are four main problems:
1. in xgraph, because of the dialog in the xgraph-12.1. the getline (& lineptr, line) of Row 3 of c has an error. The original definition is int getline (tptr, lptr) char ** tptr; char * lptr; however, because the getline function is defined in the system, see stdio in/usr/include/sys. h. So the solution is to change the name of the getline function in dialog. c. I will change it to get_line and compile OK.
2. Because the Tcl and Tk configuration files of version 8.4.11 and 8.4.12 are not compatible with bash-3.1. Therefore, an error occurs. The error is as follows:
Tcl-8.4.11:./configure: line 7624: syntax error near unexpected token ')'./configure: line 7624: 'osf *)'
Tcl-8.4.12:./configure: line 7653: syntax error near unexpected token ')'./configure: line 7653: 'osf *)'
Tk-8.4.11 :. /configure: line 5963: syntax error near unexpected token '('. /configure: line 5963: case (ac_space = ''; set | grep ac_space) 2> & 1 'in'
Tk-8.4.12 :. /configure: line 6067: syntax error near unexpected token '('. /configure: line 6067: case (ac_space = ''; set | grep ac_space) 2> & 1 'in'
And in the otcl-1.11 will also have errors. The second major problem is to find the configure configuration file under tcl8.4.11 and tk8.4.11 and the otcl-1.11 directory, and then execute
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service