somewhere in... blog
x
ফোনেটিক ইউনিজয় বিজয়

NS2- part3

১১ ই জুন, ২০০৯ সকাল ১০:৫১
এই পোস্টটি শেয়ার করতে চাইলে :

/ sctp / sctp.h: 705: error: extra qualification 'SctpAgent::' on member 'DumpSendBuffer'
make: *** [trace/trace.o] Error 1 make: *** [trace / trace.o] Error 1

Soltuion:
Search and open the file sctp.h .
Find line 705 , it is :

void SctpAgent::DumpSendBuffer();

Now, remove the extra qualification vector SctpAgent, i.e. change the line to ,

void DumpSendBuffer();

Now save the file and run ./install again. Or , installation can be done after editing the few other files which will generate the error again.

. / mobile / god.h: 88: error: extra qualification 'vector::' on member 'operator ='
./mobile/god.h:93: error:extra qualification 'vector::' on member 'operator+=' . / mobile / god.h: 93: error: extra qualification 'vector::' on member 'operator + ='
./mobile/god.h:98: error:extra qualification 'vector::' on member 'operator==' . / mobile / god.h: 98: error: extra qualification 'vector::' on member 'operator =='
./mobile/god.h:101: error:extra qualification 'vector::' on member 'operator!=' . / mobile / god.h: 101: error: extra qualification 'vector::' on member 'operator! ='


Soltuion:
Open god.h in the text editor and go to the respective lines , and remove vector:: from the lines just as above.
Example:
inline void operator=(const vector a) {


./mac/mac-802_11.h: 620: error: extra qualification 'Mac802_11::' on member 'calFreq'
make: *** [mac/mac-802_11.o] Error 1 make: *** [mac/mac-802_11.o] Err

Solution:
Now open mac-802_11.h and go to line 620 and remove Mac802_11:: just as above.

dsr / dsragent.cc: 1386: error: 'XmitFlowFailureCallback' was not declared in this scope
dsr/dsragent.cc:1403: error: 'XmitFailureCallback' was not declared in this scope dsr / dsragent.cc: 1403: error: 'XmitFailureCallback' was not declared in this scope
make: *** [dsr/dsragent.o] Error 1 make: *** [dsr / dsragent.o] Error 1

So now open dsragent.cc , find the respective lines containing XmitFlowFailureCallback or XmitFailureCallback.
See, they are called inside a function first and then declared later on.
So , just add the following lines ,before the void XXX ( where they were called):
void XmitFlowFailureCallback (Packet * pkt, void * data);
void XmitFailureCallback(Packet *pkt, void *data); void XmitFailureCallback (Packet * pkt, void * data);


diffusion / diffusion.cc: In member function 'void DiffusionAgent:: MACprepare (Packet *, nsaddr_t, int, bool)':
diffusion/diffusion.cc:429: error: 'XmitFailedCallback' was not declared in this scope diffusion / diffusion.cc: 429: error: 'XmitFailedCallback' was not declared in this scope
make: *** [diffusion/diffusion.o] Error 1 make: *** [diffusion / diffusion.o] Error 1

Open diffusion.cc, add the follwoing line:
void XmitFailedCallback(Packet *pkt, void *data);
before,
void DiffusionAgent::MACprepare(Packet *pkt, nsaddr_t next_hop, int type, bool lk_dtct)


diffusion / omni_mcast.cc: In member function 'void OmniMcastAgent:: MACprepare (Packet *, nsaddr_t, unsigned int, bool)':
diffusion/omni_mcast.cc:388: error: 'OmniMcastXmitFailedCallback'was not de clared in this scope diffusion / omni_mcast.cc: 388: error: 'OmniMcastXmitFailedCallback'was not de clared in this scope
make: *** [diffusion/omni_mcast.o] Error 1 make: *** [diffusion / omni_mcast.o] Error 1

Open omni_mcast.cc , add the following line :
void OmniMcastXmitFailedCallback(Packet *pkt, void *data);
before,
void OmniMcastAgent::MACprepare(Packet *pkt, nsaddr_t next_hop, unsigned int type, bool lk_dtc
সর্বশেষ এডিট : ১১ ই জুন, ২০০৯ সকাল ১১:০০
০টি মন্তব্য ০টি উত্তর

আপনার মন্তব্য লিখুন

ছবি সংযুক্ত করতে এখানে ড্রাগ করে আনুন অথবা কম্পিউটারের নির্ধারিত স্থান থেকে সংযুক্ত করুন (সর্বোচ্চ ইমেজ সাইজঃ ১০ মেগাবাইট)
Shore O Shore A Hrosho I Dirgho I Hrosho U Dirgho U Ri E OI O OU Ka Kha Ga Gha Uma Cha Chha Ja Jha Yon To TTho Do Dho MurdhonNo TTo Tho DDo DDho No Po Fo Bo Vo Mo Ontoshto Zo Ro Lo Talobyo Sho Murdhonyo So Dontyo So Ho Zukto Kho Doye Bindu Ro Dhoye Bindu Ro Ontosthyo Yo Khondo Tto Uniswor Bisworgo Chondro Bindu A Kar E Kar O Kar Hrosho I Kar Dirgho I Kar Hrosho U Kar Dirgho U Kar Ou Kar Oi Kar Joiner Ro Fola Zo Fola Ref Ri Kar Hoshonto Doi Bo Dari SpaceBar
এই পোস্টটি শেয়ার করতে চাইলে :
আলোচিত ব্লগ

লালনের বাংলাদেশ থেকে শফি হুজুরের বাংলাদেশ : কোথায় যাচ্ছি আমরা?

লিখেছেন কাল্পনিক সত্ত্বা, ০৫ ই মে, ২০২৪ দুপুর ১:১৪



মেটাল গান আমার নিত্যসঙ্গী। সস্তা, ভ্যাপিড পপ মিউজিক কখনোই আমার কাপ অফ টি না। ক্রিয়েটর, ক্যানিবল কর্পস, ব্লাডবাথ, ডাইং ফিটাস, ভাইটাল রিমেইনস, ইনফ্যান্ট এনাইহিলেটর এর গানে তারা মৃত্যু, রাজনীতি,... ...বাকিটুকু পড়ুন

আমেরিকার গ্র্যান্ড কেনিয়ন পৃথিবীর বুকে এক বিস্ময়

লিখেছেন কাছের-মানুষ, ০৫ ই মে, ২০২৪ দুপুর ১:৪১


প্রচলিত কিংবদন্তি অনুসারে হাতে গাছের ডাল আর পরনে সাধা পোশাক পরিহিত এক মহিলার ভাটাকতে হুয়ে আতমা গ্র্যান্ড কেনিয়নের নীচে ঘুরে বেড়ায়। লোকমুখে প্রচলিত এই কেনিয়নের গভীরেই মহিলাটি তার... ...বাকিটুকু পড়ুন

চুরি! চুরি! সুপারি চুরি। স্মৃতি থেকে(১০)

লিখেছেন নূর আলম হিরণ, ০৫ ই মে, ২০২৪ দুপুর ২:৩৪


সে অনেকদিন আগের কথা, আমি তখন প্রাইমারি স্কুলে পড়ি। স্কুলে যাওয়ার সময় আব্বা ৩ টাকা দিতো। আসলে দিতো ৫ টাকা, আমরা ভাই বোন দুইজনে মিলে স্কুলে যেতাম। আপা আব্বার... ...বাকিটুকু পড়ুন

যেকোন বাংগালীর ইন্টারভিউর সময়, 'লাই-ডিটেক্টটর' যোগ করে ইন্টারভিউ নেয়ার দরকার।

লিখেছেন সোনাগাজী, ০৫ ই মে, ২০২৪ বিকাল ৫:০৭



আপনার এনলাকার এমপি, প্রাক্তন অর্থমন্ত্রী কামাল সাহেব, যেকোন সেক্রেটারী, যেকোন মেয়র, বসুন্ধরা গ্রুপের চেয়ারম্যান, বিএনপি'র রিজভী, আওয়ামী লীগের ওয়ায়দুল কাদের, আপনার থানার ওসি, সীমান্তের একজন বিজিবি সদস্য, ঢাকার... ...বাকিটুকু পড়ুন

তাবলীগ এর ভয়ে ফরজ নামাজ পড়ে দৌড় দিয়েছেন কখনো?

লিখেছেন লেখার খাতা, ০৫ ই মে, ২০২৪ রাত ৯:২৬


আমাদের দেশের অনেক মসজিদে তাবলীগ এর ভাইরা দ্বীন ইসলামের দাওয়াত দিয়ে থাকেন। তাবলীগ এর সাদামাটাভাবে জীবনযাপন খারাপ কিছু মনে হয়না। জামাত শেষ হলে তাদের একজন দাঁড়িয়ে বলেন - °নামাজের... ...বাকিটুকু পড়ুন

×