error: (_o3 cmd line 1) invoked from within...
Hi everyone!
I'm simulating Handoff between Wlan and UMTS networks, but I got some error: (_o3 cmd line 1) invoked from within "_o3 cmd create-Umtsnode" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o3" line 2) (SplitObject unknown line 2) invoked from within "$ns create-Umtsnode" invoked from within "set rnc [$ns create-Umtsnode] " (file "quynh.tcl" line 35) Can you guide me how to fix those! thanks you so much! |
please! someone help me! i'm in deadline
|
Quote:
Quote:
Secondly, you've posted a few lines of code, in this, and in your other thread: http://www.linuxquestions.org/questi...ax-4175604225/ ...with zero context. You haven't said where you got this code, what your goal is, versin/distro of Linux you're using, or even how you changed the code to do what you want and why you did what you did. Unless you provide details, we cannot help you. Also, by coming back a few hours later, all you did was remove your post from the zero-reply list, making it LESS visible, and LESS LIKELY to get you help. |
@designermp : Welcome to LQ.
Quote:
Your file : Please attach quynh.tcl as quynh.tcl.txt . Attachments : The paper clip tool in the 'Advanced Editor'. - |
@TBOne
Actually! I have 2 homeworks! i'm just want to do all of it! I'm sorry about that! |
Re #5.
You will still have to answer the above post #4. Upload the file quynh.tcl . And tell about the additions you made to ns2. And specify ns2 version. Also : http://www.linuxquestions.org/questi...-4175604225/#3 ... My questions must be answered : 1. and 2. - |
Quote:
|
1 Attachment(s)
I really hope you help me!
I have just install MIH- criteria tool and done! but before and after i istall these tool, I run code and I still got such error! my OS version:ubuntu 12.4.5, X86-64. Ns2.35 version. I have just attached a code file. please help me fix this error! i'm not good at English, i'm sorry for inconvenient! |
Re #8.
Repeat : You cannot use MIH-Multi-criteria with Ubuntu 12.04.5 - x86_64. And not with ns-2.35 : The files are for ns-2.29 ! I tested your file with CentOS 6.9 - i686. The package 'nist-pmip6-ns_229-ubuntu12_i386.deb' was installed. Link https://drive.google.com/file/d/0B7S...ew?usp=sharing The package provides /usr/local/bin/ns229-nist-pmip6-el6 (The files were build with CentOS 6.8 - i686 (el6) a year ago, and a package created on Ubuntu 12.04 - i686) Your file : $ ns229-nist-pmip6-el6 wlan-umts.tcl ... I did some edits by comparing with the example umts__ridzi.tcl ... from nist-examples-Oct2015.tar.gz https://drive.google.com/file/d/0B7S...ew?usp=sharing There is also another file with a similar setup : handoff_umts-802.11_r0.tcl Please have a look at the edited file, wlan-umts_edit-21Apr017.tcl ... Not complete, I got a few missing lines added. (I may have added too much.) But something for you to work with. Link to "edit" https://drive.google.com/file/d/0B7S...ew?usp=sharing - |
thank you knudfl!
I will install a new OS: Ubuntu 12.04 - i686 then I install package 'nist-pmip6-ns_229-ubuntu12_i386.deb' can you suggest me how to install package! i don't know much some commands in terminal in ubuntu.please! |
Re #10.
Assume the package is downloaded to Downloads/. cd Downloads/ sudo dpkg -i nist-pmip6-ns_229-ubuntu12_i386.deb P.S. : The examples can be run from any location in /home/[name]/ cd ex-nist-Oct2015/ ns229-nist-pmip6-el6 handoff_umts-802.11_r0.tcl cd scripts/ ./ABCpref.sh ./distance.sh Note : Not sure how well it will work with Ubuntu ! Else : Install CentOS 6.9 - i386. Very easy to use ... - |
when i install CentOS 6.9 - i386 as your link http://ftp.funet.fi/pub/mirrors/cent...86-LiveDVD.iso the process of install faster than ubuntu, it done! i download ns2.29.3 to install.when i shutdown OS, then I turn it on i found that ns2.29.3 gone!i think that in this OS version, i turn off my OS, everything I install will be erase! I so nervous! how can i do?
|
Re #12.
? Where did you install ns-allinone-2.29.3 ? Default is /home/[name]/ns2/ns-allinone-2.29/ Or /home/[name]/nist/ns-allinone-2.29/ Not Desktop/ . And not /tmp/ . - |
thank you so much! I have been resoved this problem! but
when i install ns2.29.3,i type: "./install" in the terminal, some error appear: Cygwin not detected, proceeding with regular install. ============================================================ * Build XGraph-12.1 ============================================================ loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking if malloc debugging is wanted... no checking for gcc... gcc34 checking whether the C compiler (gcc34 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** No targets specified and no makefile found. Stop. Can not create xgraph; But xgraph is an optional package, continuing... ============================================================ * Build CWeb ============================================================ Making cweb gcc -g -c -o ctangle.o ctangle.c make: gcc: Command not found make: *** [ctangle.o] Error 127 cweb failed to make, but it's optional chmod: cannot access `cweave': No such file or directory chmod: cannot access `ctangle': No such file or directory ln: creating symbolic link `cweave': File exists ln: creating symbolic link `ctangle': File exists ============================================================ * Build Stanford GraphBase ============================================================ Making sgb if test -r gb_io.ch; then ctangle gb_io.w gb_io.ch; else ctangle gb_io.w; fi /bin/sh: ctangle: command not found make: *** [gb_io.c] Error 127 Unable to create sgb library, but it's optional, so continuing... ============================================================ * Build GT-ITM ============================================================ sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing.. ============================================================ * Build zlib ============================================================ Building static library libz.a version 1.2.3 with gcc34. Checking for unistd.h... No. Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf() Checking for snprintf() in stdio.h... No. WARNING: snprintf() not found, falling back to sprintf(). zlib can build but will be open to possible buffer-overflow security vulnerabilities. Checking for return value of sprintf()... No. WARNING: apparently sprintf() does not return a value. zlib can build but will be open to possible string-format security vulnerabilities. Checking for errno.h... No. Checking for mmap support... No. gcc34 -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o example.c make: gcc34: Command not found make: *** [example.o] Error 127 Zlib make failed, but it's optional Continue ... ============================================================ * Build tcl8.4.11 ============================================================ loading cache ./config.cache checking whether to use symlinks for manpages... no checking whether to compress the manpages... no checking whether to add a package name suffix for the manpages... no checking for gcc... gcc34 checking whether the C compiler (gcc34 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns project. how can i fix them? |
Re #14.
Like any other OS, the ns2 prerequisites must be installed before building ns2. su [enter root password] yum install gcc-c++ compat-gcc-34-c++ autoconf automake libtool libXmu-devel |
All times are GMT -5. The time now is 08:00 PM. |