Hello for all! The Liowsn project was launched. A Linux operating system
Ubuntu 9.10 with all the tools for simulation of wireless sensor networks
already installed. Contains several modules and tools for simulating
networks already configured and ready to use!

Features

     Current Version: 0.1
     Mannasim (Module for simulation of WSN for the NS-2.34)
     Omnet + + (Framework for network simulation)
     Castalia (Simulator for WSN works with, that wheel under Omnet + +)
     Xgraph (Trace file reader)
     Tracegraph (Trace file reader)
     NAM (Network Animator)
     NS-2.34 (Network Simulator)

Website of the project: http://sourceforge.net/projects/liowsn/
Paper posted on the liowsn project:
https://www.ijcaonline.org/archives/volume52/number12/8256-1786

Hugs!

2012/9/8 <ns-users-requ...@isi.edu>

> Send Ns-users mailing list submissions to
>         ns-users@isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
>         ns-users-requ...@isi.edu
>
> You can reach the person managing the list at
>         ns-users-ow...@isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>    1. Re: ns-2.34 validation tests fail (64bit-processor)
>       (Tom Henderson)
>    2. Re: Error while installing NS2.35 to Mac OS(Lion) (Tom Henderson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 08 Sep 2012 12:50:16 -0700
> From: Tom Henderson <t...@tomh.org>
> Subject: Re: [ns] ns-2.34 validation tests fail (64bit-processor)
> To: Behnaz Bostanipour <behnaz.bostanip...@unil.ch>
> Cc: ns-users@isi.edu
> Message-ID: <504ba178.1070...@tomh.org>
> Content-Type: text/plain; charset="windows-1252"
>
> On 08/08/2012 11:38 PM, Behnaz Bostanipour wrote:
> >
> > Hello,
> >
> > I successfuly installed ns2.34 on a MacOS(Lion). My Mac is a (Core
> i7-64bit processor). When I execute "./validate" and these tests fail:
> >
>
>   (snip)
>
>
> I was finally able to get ns-allinone-2.35 to build on my 64-bit OS X
> Mountain Lion machine (details are in another message).  After doing so
> and running the validate script, no errors were reported.  I don't have
> a Lion server around since it was upgraded to Mountain Lion, but I
> remember trying this on Lion a while back and not finding errors.
>
> So, I am curious as to why your system sees errors in some tests.
>
> Could you please try to run through the following steps, and if errors
> are reported, send me the ns-2.35 config.log and the validation report
> of which tests still fail?  (or where the build fails, if you can't build)
>
> start with fresh copy of ns-allinone-2.35.tar.bz2
> apply the attached patch:
> # cd ns-allinone-2.35
> # patch -p1 -i install.osx.patch
> # ./install
> (if everything builds successfully)
> # cd ns-2.35
> # ./validate >& my.validate.out
>
> ------------------------------
>
> Message: 2
> Date: Sat, 08 Sep 2012 12:54:11 -0700
> From: Tom Henderson <t...@tomh.org>
> Subject: Re: [ns] Error while installing NS2.35 to Mac OS(Lion)
> To: Behnaz Bostanipour <behnaz.bostanip...@unil.ch>
> Cc: ns-users@isi.edu
> Message-ID: <504ba263.5020...@tomh.org>
> Content-Type: text/plain; charset="windows-1252"
>
> On 08/08/2012 11:49 PM, Behnaz Bostanipour wrote:
> >
> > Hi all,
> >
> > I've downloaded "ns-allinone-2.35" and extracted into the directory
> /Users/username/ (where username refers to my username on my Mac).
> >
> > Then, I run ./install and it fails to build OTcl-1.14, as you can see
> below:
> >
> >
> > ============================================================
> > * Build OTcl-1.14
> > ============================================================
> > No .configure file found in current directory
> > Continuing with default options...
> > checking build system type... i386-apple-darwin11.3.0
> > checking host system type... i386-apple-darwin11.3.0
> > checking target system type... i386-apple-darwin11.3.0
> > checking for gcc... gcc
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ISO C89... none needed
> > checking for g++... g++
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether g++ accepts -g... yes
> > checking how to run the C preprocessor... gcc -E
> > checking for grep that handles long lines and -e... /usr/bin/grep
> > checking for egrep... /usr/bin/grep -E
> > checking for ANSI C header files... yes
> > checking for sys/types.h... yes
> > checking for sys/stat.h... yes
> > checking for stdlib.h... yes
> > checking for string.h... yes
> > checking for memory.h... yes
> > checking for strings.h... yes
> > checking for inttypes.h... yes
> > checking for stdint.h... yes
> > checking for unistd.h... yes
> > checking for string.h... (cached) yes
> > checking for main in -lXbsd... no
> > checking for socket in -lsocket... no
> > checking for gethostbyname in -lnsl... no
> > checking for dcgettext in -lintl... no
> > checking for getnodebyname in -ldnet_stub... no
> > checking that g++ can handle -O2... no
> > checking standard STL is available... no
> > checking for tcl.h... -I../include
> > checking for tclInt.h... -I../include
> > checking for libtcl8.5... -L../lib -ltcl8.5
> > checking for init.tcl... ../lib/tcl8.5
> > checking for http.tcl... ../lib/tcl8.5/http1.0
> > checking Tcl http.tcl library... yes
> > checking for tclsh8.5.10... no
> > checking for tclsh8.5... ../bin/tclsh8.5
> > checking for tk.h... -I../include
> > checking for libtk8.5... -L../lib -ltk8.5
> > checking for tk.tcl... ../lib/tk8.5
> > checking for X11 header files
> > checking for X11 library archive
> > checking for XOpenDisplay in -lX11... no
> > checking for libXext.a
> > checking for ranlib... ranlib
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking system version (for dynamic loading)... Darwin-11.3.0
> > checking for dlopen in -ldl... yes
> > No explicit static compilation flag; setting V_STATIC to ""
> > no dynamic load lib
> > checking system version (for system-dependent libraries)... Darwin-11.3.0
> > checking for unistd.h... (cached) yes
> > checking for a BSD-compatible install... /usr/bin/install -c
> > configure: creating ./config.status
> > config.status: creating Makefile
> > creating ./gen
> > creating ./bin
> > rm -f libotcl.a otcl.o
> > gcc -c -g -O2 -DNDEBUG -DUSE_SHM -DHAVE_UNISTD_H=1 -I.
> -I/Users/behnaz/ns-allinone-2.35/include
> -I/Users/behnaz/ns-allinone-2.35/include
> -I/Users/behnaz/ns-allinone-2.35/include -I/include  otcl.c
> > otcl.c: In function ?FindProc?:
> > otcl.c:784: warning: cast to pointer from integer of different size
> > otcl.c: In function ?PrimitiveODestroyNoFree?:
> > otcl.c:1008: warning: cast from pointer to integer of different size
> > otcl.c: In function ?OTclODestroyMethod?:
> > otcl.c:1300: warning: cast from pointer to integer of different size
> > ar cq libotcl.a otcl.o
> > ranlib libotcl.a
> > rm -f libotcl otcl.o so_locations
> > gcc -c -g -O2 -DNDEBUG -DUSE_SHM -DHAVE_UNISTD_H=1 -fPIC -I.
> -I/Users/behnaz/ns-allinone-2.35/include
> -I/Users/behnaz/ns-allinone-2.35/include
> -I/Users/behnaz/ns-allinone-2.35/include -I/include  otcl.c
> > otcl.c: In function ?FindProc?:
> > otcl.c:784: warning: cast to pointer from integer of different size
> > otcl.c: In function ?PrimitiveODestroyNoFree?:
> > otcl.c:1008: warning: cast from pointer to integer of different size
> > otcl.c: In function ?OTclODestroyMethod?:
> > otcl.c:1300: warning: cast from pointer to integer of different size
> > o libotcl otcl.o
> > make: o: No such file or directory
> > make: [libotcl] Error 1 (ignored)
> > rm -f libotcl
> > gcc -o otclsh  -g -O2 -I. -I/Users/behnaz/ns-allinone-2.35/include
> -I/Users/behnaz/ns-allinone-2.35/include
> -I/Users/behnaz/ns-allinone-2.35/include -I/include  otclAppInit.c \
> >          -L. -lotcl -L/Users/behnaz/ns-allinone-2.35/lib -ltk8.5
> -L/Users/behnaz/ns-allinone-2.35/lib -ltcl8.5 -L/usr/X11R6/lib -lXext -lX11
>  -lm
> > Undefined symbols for architecture x86_64:
> >    "_CFLocaleCopyCurrent", referenced from:
> >        _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)
> >    "_CFLocaleGetIdentifier", referenced from:
> >        _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)
> >    "_CFStringGetCString", referenced from:
> >        _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)
> >    "_CFRelease", referenced from:
> >        _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)
> >        _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFStringCreateWithCString", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFBundleGetBundleWithIdentifier", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFBundleCopyBundleURL", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFURLCopyLastPathComponent", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFStringCompare", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFURLCreateCopyAppendingPathComponent", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFBundleCreate", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFBundleCopyResourceURL", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFURLGetFileSystemRepresentation", referenced from:
> >        _Tcl_MacOSXOpenVersionedBundleResources in
> libtcl8.5.a(tclMacOSXBundle.o)
> >    "_CFRunLoopGetCurrent", referenced from:
> >        _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopSourceCreate", referenced from:
> >        _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_kCFRunLoopCommonModes", referenced from:
> >        _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopAddSource", referenced from:
> >        _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >        _TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopObserverCreate", referenced from:
> >        _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopAddObserver", referenced from:
> >        _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >        _TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFAbsoluteTimeGetCurrent", referenced from:
> >        _Tcl_SetTimer in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopTimerSetNextFireDate", referenced from:
> >        _Tcl_SetTimer in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopTimerGetNextFireDate", referenced from:
> >        _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_kCFRunLoopDefaultMode", referenced from:
> >        _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_WaitForEvent in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopRunInMode", referenced from:
> >        _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_WaitForEvent in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopSourceSignal", referenced from:
> >        _NotifierThreadProc in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_AlertNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopWakeUp", referenced from:
> >        _NotifierThreadProc in libtcl8.5.a(tclMacOSXNotify.o)
> >        _Tcl_AlertNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopTimerCreate", referenced from:
> >        _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopAddTimer", referenced from:
> >        _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)
> >        _TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopSourceInvalidate", referenced from:
> >        _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopObserverInvalidate", referenced from:
> >        _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "_CFRunLoopTimerInvalidate", referenced from:
> >        _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)
> >    "___CFConstantStringClassReference", referenced from:
> >        CFString in libtcl8.5.a(tclMacOSXNotify.o)
> >        CFString in libtcl8.5.a(tclMacOSXBundle.o)
> >        CFString in libtcl8.5.a(tclMacOSXBundle.o)
> > ld: symbol(s) not found for architecture x86_64
> > collect2: ld returned 1 exit status
> > make: *** [otclsh] Error 1
> > otcl-1.14 make failed! Exiting ...
> > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
> >
> >
> > Do you know how can I solve this problem, please?
> > Best Regards,
> > B.Bostanipour
> >
>
> I debugged this to be basically the lack of "-framework CoreFoundation"
> in the LDFLAGS variable.
>
> The attached workaround patch allows me to build ns-allinone-2.35 on Mac
> OS X Mountain Lion 64-bit server.
>
> cd ns-allinone-2.35
> patch -p1 -i install.osx.patch
> ./install
>
> I'll work on a better patch to the autoconf scripts to properly detect
> and apply this flag.
>
> - Tom
>
> ------------------------------
>
> _______________________________________________
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 105, Issue 7
> ****************************************
>



-- 
att,

Marllus de Melo Lustosa -  Bacharelando em Ciência da Computação - UFPI
Lattes -> http://lattes.cnpq.br/5163268610076256
HomePage -> http://www.marllus.com

Reply via email to