1.提示
Syntax error: Unterminated quoted string
Solution:
将
ns-allinone-2.27\tcl8.4.11\unix\configure
ns-allinone-2.27\tcl8.4.11\unix\tcl.m4
ns-allinone-2.27\tk8.4.11\unix\configure
ns-allinone-2.27\tk8.4.11\unix\tcl.m4
ns-allinone-2.27\otcl-1.11\configure
中.relid'`替换成.relid`
2
./mobile/god.h:88: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator=’ 上
./mobile/god.h:93: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator+=’ 上
./mobile/god.h:98: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator==’ 上
./mobile/god.h:101: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator!=’ 上
make: *** [src_rtg/sragent.o] 错误 1
Ns make failed!
此时打开mobile/god.h文件 将88、93、98和101行上面vector::operator的vector::去掉
3.提示
dsr/dsragent.cc:828: 错误:‘XmitFlowFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc: In member function ‘void DSRAgent::sendOutPacketWithRoute (SRPacket&, bool, Time)’:
dsr/dsragent.cc:1385: 错误:
‘XmitFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc:1386: 错误:
‘XmitFlowFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc:1403:
错误:‘XmitFailureCallback’ 在此作用域中尚未声明
make: ***
[dsr/dsragent.o] 错误 1
Ns make failed!
dsr/dsragent.cc 搜索XmitFlowFailureCallback和XmitFailureCallback,在文件后面还有这两个函数声明,把这两个函数声明移到文件前面
Syntax error: Unterminated quoted string
Solution:
将
ns-allinone-2.27\tcl8.4.11\unix\configure
ns-allinone-2.27\tcl8.4.11\unix\tcl.m4
ns-allinone-2.27\tk8.4.11\unix\configure
ns-allinone-2.27\tk8.4.11\unix\tcl.m4
ns-allinone-2.27\otcl-1.11\configure
中.relid'`替换成.relid`
2
./mobile/god.h:88: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator=’ 上
./mobile/god.h:93: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator+=’ 上
./mobile/god.h:98: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator==’ 上
./mobile/god.h:101: 错误:有多余的限定 ‘vector::’ 在成员 ‘operator!=’ 上
make: *** [src_rtg/sragent.o] 错误 1
Ns make failed!
此时打开mobile/god.h文件 将88、93、98和101行上面vector::operator的vector::去掉
3.提示
dsr/dsragent.cc:828: 错误:‘XmitFlowFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc: In member function ‘void DSRAgent::sendOutPacketWithRoute (SRPacket&, bool, Time)’:
dsr/dsragent.cc:1385: 错误:
‘XmitFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc:1386: 错误:
‘XmitFlowFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc:1403:
错误:‘XmitFailureCallback’ 在此作用域中尚未声明
make: ***
[dsr/dsragent.o] 错误 1
Ns make failed!
dsr/dsragent.cc 搜索XmitFlowFailureCallback和XmitFailureCallback,在文件后面还有这两个函数声明,把这两个函数声明移到文件前面