[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RE: [ns] How to run emulation programs in NS-2?
----- Original Message -----
From:"Schramp, R." <[email protected]>
To:"'mmrenyu'" <[email protected]>, [email protected]
Subject:RE: [ns] How to run emulation programs in NS-2?
Date:Fri, 14 Sep 2001 01:03:26 +0800
>Hello,
>
>To run you should at least compile the nse
>
>download the latest version of ns and type "make nse" to compile it.
>
>For me nse did not work on Linux 7.1 out of the box. I have patched the
>emulation parts for linux.
>
>This patch is downloadable from the ns-user mailing list. As I have only
>recently submited this patch, it is probably not in the snapshots.
>
>Could you please verify that the patched simulator works on your system?
>this will probably help in support for linux in nse.
>
>Best regards,
>
>Ruud Schramp
>
Hi,
The NS installed in my machine is ns-allinone-2.1b8a under Linux 7.1. When I executed "make nse", the following errors appeared:
[root@localhost ns-2.1b8a]# make nse
c++ -c -O2 -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR
-DNDEBUG -DHAVE_STL -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H
-DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DHAVE_CONFIG_H -I.
-I/root/hyp/nsb8a/tclcl-1.0b11 -I/root/hyp/nsb8a/otcl-1.0a7
-I/root/hyp/nsb8a/include -I/root/hyp/nsb8a/include -o emulate/net-pcap.o
emulate/net-pcap.cc
emulate/net-pcap.cc:60:18: pcap.h: No such file or directory
make: *** [emulate/net-pcap.o] Error 1
it seems that the pcap.h file doesnt exist. Why? What's wrong with it?
Also, how to apply your patch?
Best Regards,
Yu Liang
______________________________________
===================================================================
������ѵ������� (http://mail.sina.com.cn)
��������ʮ������ҹ�� ���ͼ۸�����μ� (http://cheese.sina.com.cn/ticket.html)
�����ѣ��ҹ�����������ʵ����Ϣ�������˷�����Ϣ (http://classad.sina.com.cn/)