懂安装ns的进

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
gjq1101520
帖子: 2
注册时间: 2009-03-04 20:14

懂安装ns的进

#1

帖子 gjq1101520 » 2009-03-05 19:33

./common/packet.h:258: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:261: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:264: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:267: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:270: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:272: warning: deprecated conversion from string constant to ‘char*’
g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/home/gjq/ns-allinone-2.31/tclcl-1.19 -I/home/gjq/ns-allinone-2.31/otcl-1.13 -I/home/gjq/ns-allinone-2.31/include -I/home/gjq/ns-allinone-2.31/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/srm-topo.o mcast/srm-topo.cc

为什么啊会反复跳?加Q115015711
头像
netphi
帖子: 1051
注册时间: 2008-08-29 21:31

Re: 懂安装ns的进

#2

帖子 netphi » 2009-03-05 19:38

:em20具体什么问题也不说,只扔下一大堆编译过程产生的信息,然后说“加Q”,服了,好像别人都有义务去加你的Q似的。。。
。。。。。。。。。。。。。
头像
allarem
帖子: 1025
注册时间: 2008-05-31 17:27
来自: SUES
联系:

Re: 懂安装ns的进

#3

帖子 allarem » 2009-03-05 20:35

:em03 ns是什么?
oldbeggar
帖子: 102
注册时间: 2006-01-19 13:14

Re: 懂安装ns的进

#4

帖子 oldbeggar » 2009-03-05 21:23

allarem 写了::em03 ns是什么?
网络模拟软件
oldbeggar
帖子: 102
注册时间: 2006-01-19 13:14

Re: 懂安装ns的进

#5

帖子 oldbeggar » 2009-03-05 21:24

gjq1101520 写了:./common/packet.h:258: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:261: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:264: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:267: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:270: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:272: warning: deprecated conversion from string constant to ‘char*’
g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/home/gjq/ns-allinone-2.31/tclcl-1.19 -I/home/gjq/ns-allinone-2.31/otcl-1.13 -I/home/gjq/ns-allinone-2.31/include -I/home/gjq/ns-allinone-2.31/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/srm-topo.o mcast/srm-topo.cc

为什么啊会反复跳?加Q115015711
没啥,GCC的版本问题。要不就自己改一下代码,要不就无视警告信息

对最后没啥影响
回复