Home > other >  NS2 in the compilation of the newly added agreement encountered the following problem, I don't
NS2 in the compilation of the newly added agreement encountered the following problem, I don't

Time:09-17

Common/mobilenode. O: function In ` mobilenode: : command (int, char * const const *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/common/mobilenode. Cc: 173: undefined reference to ` EnergyModel: : start_powersaving ()
'Mobile/god. O: function In ` god: : CountNewData (int *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/mobile/god. Cc: 596: undefined reference to ` Data_Hash_Table: : GetHash (int *) '
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/mobile/god. Cc: 598: undefined reference to ` Data_Hash_Table: : PutInHash (int *) '
The trace/cmu - trace. O: function In ` strcpy ':
The/usr/include/x86_64 - - the gnu/Linux bits/string3. H: 104: undefined reference to ` Simulator: : instance_ '
The trace/cmu - trace. O: function In ` hdr_caodv: : access (Packet const *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/./caodv caodv_packet. H: 82: undefined reference to ` hdr_caodv: : offset_ '
The trace/cmu - trace. O: function In ` CMUTrace: : nam_format (Packet *, int) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1402: undefined reference to ` Nam802_15_4: : Nam_Status'
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1416: undefined reference to ` findAttrLink (unsigned int, int, int) '
The trace/cmu - trace. O: function In ` hdr_lrwpan: : access (Packet const *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/./wpan p802_15_4pkt. H: 218: undefined reference to ` hdr_lrwpan: : offset_ '
The trace/cmu - trace. O: function In ` CMUTrace: : nam_format (Packet *, int) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1502: undefined reference to ` Nam802_15_4: : Nam_Status'
The trace/cmu - trace. O: function In ` hdr_cdiff: : access (Packet const *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/./coursing together/diff_header. H: 120: undefined reference to ` hdr_cdiff: : offset_ '
The trace/cmu - trace. O: function In ` CMUTrace: : nam_format (Packet *, int) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1402: undefined reference to ` Nam802_15_4: : Nam_Status'
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1520: undefined reference to ` Nam802_15_4: : Nam_Status'
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1418: undefined reference to ` findAttrLink (unsigned int, int, int) '
The trace/cmu - trace. O: function In ` hdr_lrwpan: : access (Packet const *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/./wpan p802_15_4pkt. H: 218: undefined reference to ` hdr_lrwpan: : offset_ '
The trace/cmu - trace. O: function In ` CMUTrace: : nam_format (Packet *, int) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1408: undefined reference to ` p802_15_4macSA (Packet *) '
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/trace/cmu - trace. Cc: 1409: undefined reference to ` p802_15_4macDA (Packet *) '
MAC/MAC - simple. O: function In ` MacSimple: : MacSimple () ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/./trace/basetrace. H: 89: undefined reference to ` basetrace: : basetrace ()
'/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/./trace/basetrace. H: 89: undefined reference to ` vtable for EventTrace '
Satellite/sat - In HDLC. O: function In ` In HDLC: : sendDown (Packet *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/satellite/sat - in HDLC. Cc: 485: undefined reference to ` SatLL: : getRoute (Packet *) '
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/satellite/sat - in HDLC. Cc: 520: undefined reference to ` SatLL: : channel ()
'/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/satellite/sat - in HDLC. Cc: 521: undefined reference to ` SatChannel: : find_peer_mac_addr (int) '
Satellite/sat - In HDLC. O: function In ` In HDLC: : recvOutgoing (Packet *) ':
/home/chichihuhu/Downloads/ns - allinone - 2.35/ns - 2.35/satellite/sat - in HDLC. Cc: 110: undefined reference to ` SatLL: : getRoute (Packet *) '
Satellite/sat - in HDLC. O: (. Rodata. _ZTI4HDLC [_ZTI4HDLC] + 0 x10) : undefined reference to ` typeinfo for SatLL '
Satellite/sat - in HDLC. O: (. Rodata. _ZTV4HDLC [_ZTV4HDLC] + 0 x20) : undefined reference to ` SatLL: : command (int, char * const const *) '
Satellite/sat - in HDLC. O: (. Rodata. _ZTV4HDLC [_ZTV4HDLC] + 0 x88) : undefined reference to ` SatLL: : sendUp (Packet *) '
Collect2: error: ld returned 1 exit status
Make: * * * ns Error 1

CodePudding user response:

Header file is wrong, check the NS - 2. Xx under the Makefile file is modified
  • Related