ورود به حساب ثبت نام جدید فراموشی کلمه عبور
برای ورود به حساب کاربری خود، نام کاربری و کلمه عبورتان را در زیر وارد کرده و روی “ ورود به حساب” کلیک کنید.





اگر فرم ثبت نام برای شما نمایش داده نمیشود، اینجا را کلیک کنید.









اگر فرم بازیابی کلمه عبور برای شما نمایش داده نمیشود، اینجا را کلیک کنید.





سفارش شبیه سازی مقالات و پایان نامه
انجام پروژه و شبیه سازی با متلب
آموزش برنامه نویسی رایگان
نمایش نتایج: از 1 به 2 از 2
  1. #1
    baayan2003
    کاربر عادی
    تاریخ عضویت
    Oct 2017
    نوشته ها
    2
    0
    0

    خطای نصب ns-allinone-2.35 در ubonto 17.04

    دوستان میتونن مشکل کجاست؟

    mdart/mdart_adp.cc: In member function ‘void ADP::sendDarq(nsaddr_t, int)’:
    mdart/mdart_adp.cc:108:21: error: reference to ‘hash’ is ambiguous
    nsaddr_t dstAdd_ = hash(reqId);
    ^~~~
    In file included from ./mdart/mdart.h:52:0,
    from ./mdart/mdart_adp.h:51,
    from mdart/mdart_adp.cc:47:
    ./mdart/mdart_function.h:230:17: note: candidates are: nsaddr_t hash(nsaddr_t)
    inline nsaddr_t hash(nsaddr_t id) {
    ^~~~
    In file included from /usr/include/c++/6/bits/basic_string.h:5643:0,
    from /usr/include/c++/6/string:52,
    from /usr/include/c++/6/bitset:47,
    from ./mdart/mdart_function.h:62,
    from ./mdart/mdart.h:52,
    from ./mdart/mdart_adp.h:51,
    from mdart/mdart_adp.cc:47:
    /usr/include/c++/6/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
    struct hash;
    ^~~~
    mdart/mdart_adp.cc: In member function &lsquo;void ADP::sendDaup()&rsquo;:
    mdart/mdart_adp.cc:396:21: error: reference to &lsquo;hash&rsquo; is ambiguous
    nsaddr_t dstAdd_ = hash(mdart_->id_);
    ^~~~
    In file included from ./mdart/mdart.h:52:0,
    from ./mdart/mdart_adp.h:51,
    from mdart/mdart_adp.cc:47:
    ./mdart/mdart_function.h:230:17: note: candidates are: nsaddr_t hash(nsaddr_t)
    inline nsaddr_t hash(nsaddr_t id) {
    ^~~~
    In file included from /usr/include/c++/6/bits/basic_string.h:5643:0,
    from /usr/include/c++/6/string:52,
    from /usr/include/c++/6/bitset:47,
    from ./mdart/mdart_function.h:62,
    from ./mdart/mdart.h:52,
    from ./mdart/mdart_adp.h:51,
    from mdart/mdart_adp.cc:47:
    /usr/include/c++/6/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
    struct hash;
    ^~~~
    Makefile:93: recipe for target &#39;mdart/mdart_adp.o&#39; failed
    make: *** [mdart/mdart_adp.o] Error 1
    Ns make failed!
  2. #2
    noavarangermi
    مدیر کل
    تاریخ عضویت
    Mar 2016
    نوشته ها
    594
    125
    388
    برای حل این مشکل توی ubuntu باید اول با یوزر root وارد سیستم بشین بعد اقدام به نصب ns2 بکنید
    نوآوران گرمی | مرجع فیلم های آموزشی و همیار دانشجو
نمایش نتایج: از 1 به 2 از 2

کلمات کلیدی این موضوع

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •