GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 27-Feb-2009, 13:09
RodolfoAlvizu RodolfoAlvizu is offline
New Member
 
Join Date: Feb 2009
Posts: 12
RodolfoAlvizu is on a distinguished road

Problem executing nam-1.13


Hi all, I have installed 64 bit version off fedora 10 because need to work with ns.
I have downloaded ns-allnone-2.33.tar.gz and unzipped it and executed "./install" from the ns-allinone-2.33 directory.
After instalation I get this msg:

Please put /opt/ns-allinone-2.33/bin:/opt/ns-allinone-2.33/tcl8.4.18/unix:/opt/ns-allinone-2.33/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.

IMPORTANT NOTICES:

(1) You MUST put /opt/ns-allinone-2.33/otcl-1.13, /opt/ns-allinone-2.33/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>

(2) You MUST put /opt/ns-allinone-2.33/tcl8.4.18/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.

After these steps, you can now run the ns validation suite with
cd ns-2.33; ./validate


So I edit teh .bashrc file and add the folow lines

# LD_LIBRARY_PATH
OTCL_LIB=/opt/ns-allinone-2.33/otcl-1.13
NS2_LIB=/opt/ns-allinone-2.33/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LI B:$X11_LIB:$USR_LOCAL_LIB

# TCL_LIBRARY
TCL_LIB=/opt/ns-allinone-2.33/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB

# PATH
XGRAPH=/opt/ns-allinone-2.33/bin:/opt/ns-allinone-2.33/tcl8.4.18/unix:/opt/ns-allinone-2.33/tk8.4.18/unix
NS=/opt/ns-allinone-2.33/ns-2.33/
NAM=/opt/ns-allinone-2.33/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM
Here is what I do and the error message:

[root@rodolfopc Rodolfo]# ns Documentos/ns/exampleCBR.tcl
ns: finish: couldn't execute "nam": permission denied
while executing
"exec nam out.nam &"
(procedure "finish" line 6)
invoked from within
"finish"

and this if try to run nam from the prompt:
[root@rodolfopc Rodolfo]# nam
bash: nam: command not found
Any help will be greatly appreciated.
  #2  
Old 27-Feb-2009, 14:56
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Problem executing nam-1.13


Quote:
Originally Posted by RodolfoAlvizu
...
and this if try to run nam from the prompt:
[root@rodolfopc Rodolfo]# nam
bash: nam: command not found
...

First of all: As a general practice, I highly recommend that you make sure you are logged in as your "regular self," not root.

Now, for getting to the bottom of things:

Open up a new terminal window
Then execute the following from the command line:
Code:
echo $PATH

What do you see?

Regards,

Dave
  #3  
Old 27-Feb-2009, 15:14
RodolfoAlvizu RodolfoAlvizu is offline
New Member
 
Join Date: Feb 2009
Posts: 12
RodolfoAlvizu is on a distinguished road

Re: Problem executing nam-1.13


Hello Dave,

first thanks for replying

[Rodolfo@rodolfopc ~]$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/Rodolfo/bin:/opt/ns-allinone-2.33/bin:/opt/ns-allinone-2.33/tcl8.4.18/unix:/opt/ns-allinone-2.33/tk8.4.18/unix
for a coment, I did the installation process as root.
  #4  
Old 27-Feb-2009, 15:53
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Problem executing nam-1.13


Quote:
Originally Posted by RodolfoAlvizu
[Rodolfo@rodolfopc ~]$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/Rodolfo/bin:/opt/ns-allinone-2.33/bin:/opt/ns-allinone-2.33/tcl8.4.18/unix:/opt/ns-allinone-2.33/tk8.4.18/unix

Where is the "nam" executable?

Open a new terminal window. Navigate to /opt/ns-allinone-2.33

Execute the following:

Code:
find . -name nam

What do you see?

Regards,

Dave
  #5  
Old 27-Feb-2009, 16:01
RodolfoAlvizu RodolfoAlvizu is offline
New Member
 
Join Date: Feb 2009
Posts: 12
RodolfoAlvizu is on a distinguished road

Re: Problem executing nam-1.13


[Rodolfo@rodolfopc ns-allinone-2.33]$ find . -name nam
./ns-2.33/nam
thanks^n
  #6  
Old 27-Feb-2009, 16:06
RodolfoAlvizu RodolfoAlvizu is offline
New Member
 
Join Date: Feb 2009
Posts: 12
RodolfoAlvizu is on a distinguished road

Re: Problem executing nam-1.13


but that is a directory
[Rodolfo@rodolfopc ns-2.33]$ ls -l
total 17856
drwxr-xr-x 2 root root 4096 feb 27 09:46 adc
drwxr-xr-x 2 root root 4096 mar 31 2008 allinone
drwxr-xr-x 2 root root 4096 mar 31 2008 AllinOne
drwxr-xr-x 2 root root 4096 feb 27 09:46 aodv
drwxr-xr-x 2 root root 4096 feb 27 09:46 apps
drwxr-xr-x 2 root root 4096 feb 27 09:46 asim
-rw-r--r-- 1 root root 2501 feb 27 09:46 autoconf.h
-rw-r--r-- 1 root root 2449 mar 31 2008 autoconf.h.in
-rw-r--r-- 1 root root 3874 mar 31 2008 autoconf-win32.h
-rw-r--r-- 1 root root 5 mar 31 2008 BASE-VERSION
drwxr-xr-x 2 root root 4096 feb 27 09:46 baytcp
drwxr-xr-x 3 root root 4096 mar 31 2008 bin
drwxr-xr-x 2 root root 4096 mar 31 2008 bitmap
-rw-r--r-- 1 root root 259030 mar 31 2008 CHANGES.html
drwxr-xr-x 2 root root 4096 feb 27 09:46 classifier
drwxr-xr-x 2 root root 4096 feb 27 09:46 common
drwxr-xr-x 2 root root 4096 mar 31 2008 conf
-rwxr-xr-x 1 root root 44892 mar 31 2008 config.guess
-rw-r--r-- 1 root root 8340 mar 31 2008 config.h
-rw-r--r-- 1 root root 55153 feb 27 09:46 config.log
-rwxr-xr-x 1 root root 35700 feb 27 09:46 config.status
-rwxr-xr-x 1 root root 33387 mar 31 2008 config.sub
-rwxr-xr-x 1 root root 325800 mar 31 2008 configure
-rw-r--r-- 1 root root 2704 mar 31 2008 configure.in
-rw-r--r-- 1 root root 1362 mar 31 2008 COPYRIGHTS
drwxr-xr-x 2 root root 4096 feb 27 09:46 delaybox
drwxr-xr-x 2 root root 4096 feb 27 09:46 diffserv
drwxr-xr-x 2 root root 4096 feb 27 09:46 diffusion
drwxr-xr-x 10 root root 4096 mar 31 2008 diffusion3
drwxr-xr-x 7 root root 4096 mar 31 2008 doc
drwxr-xr-x 2 root root 4096 feb 27 09:46 dsdv
drwxr-xr-x 2 root root 4096 feb 27 09:46 dsr
drwxr-xr-x 5 root root 4096 feb 27 09:46 empweb
drwxr-xr-x 3 root root 4096 mar 31 2008 emulate
-rw-r--r-- 1 root root 107999 mar 31 2008 FILES
drwxr-xr-x 2 root root 4096 feb 27 09:46 gaf
drwxr-xr-x 2 root root 4096 feb 27 09:46 gen
-rw-r--r-- 1 root root 1438 mar 31 2008 HOWTO-CONTRIBUTE
drwxr-xr-x 2 root root 4096 mar 31 2008 html
drwxr-xr-x 2 root root 4096 feb 27 09:46 imep
drwxr-xr-x 10 root root 4096 mar 31 2008 indep-utils
-rwxr-xr-x 1 root root 4772 mar 31 2008 install-sh
-rw-r--r-- 1 root root 3623 mar 31 2008 INSTALL.WIN32
drwxr-xr-x 2 root root 4096 feb 27 09:46 lib
-rw-r--r-- 1 root root 3212 mar 31 2008 LICENSES
drwxr-xr-x 2 root root 4096 feb 27 09:46 link
drwxr-xr-x 2 root root 4096 feb 27 09:46 linkstate
drwxr-xr-x 2 root root 4096 feb 27 09:46 mac
-rw-r--r-- 1 root root 20017 feb 27 09:46 Makefile
-rw-r--r-- 1 root root 19556 mar 31 2008 Makefile.in
-rw-r--r-- 1 root root 18727 mar 31 2008 makefile.vc
drwxr-xr-x 2 root root 4096 feb 27 09:46 mcast
drwxr-xr-x 2 root root 4096 feb 27 09:46 mobile
drwxr-xr-x 2 root root 4096 feb 27 09:46 mpls
drwxr-xr-x 2 root root 4096 mar 31 2008 nam
drwxr-xr-x 2 root root 4096 feb 27 09:46 nix
-rwxrwxr-x 1 root root 7809410 feb 27 09:46 ns
-rw-r--r-- 1 root root 91827 mar 31 2008 ns.1
-rw-r--r-- 1 root root 1747 mar 31 2008 ns_tclsh.cc
-rwxrwxr-x 1 root root 8749840 feb 27 09:46 nstk
-rwxr-xr-x 1 root root 94 feb 25 12:57 out.nam
drwxr-xr-x 2 root root 4096 feb 27 09:46 packmime
drwxr-xr-x 2 root root 4096 feb 27 09:46 pgm
drwxr-xr-x 2 root root 4096 feb 27 09:46 plm
drwxr-xr-x 2 root root 4096 feb 27 09:46 pushback
drwxr-xr-x 2 root root 4096 feb 27 09:46 qs
drwxr-xr-x 2 root root 4096 feb 27 09:46 queue
drwxr-xr-x 2 root root 4096 feb 27 09:46 rap
-rw-r--r-- 1 root root 1213 mar 31 2008 README
drwxr-xr-x 2 root root 4096 feb 27 09:46 realaudio
-rw-r--r-- 1 root root 3187 mar 31 2008 release_steps.txt
drwxr-xr-x 2 root root 4096 feb 27 09:46 routealgo
drwxr-xr-x 2 root root 4096 feb 27 09:46 routing
drwxr-xr-x 2 root root 4096 mar 31 2008 rtproto
drwxr-xr-x 2 root root 4096 feb 27 09:46 satellite
drwxr-xr-x 2 root root 4096 feb 27 09:46 sctp
drwxr-xr-x 2 root root 4096 mar 31 2008 sensor-nets
drwxr-xr-x 2 root root 4096 feb 27 09:46 src_rtg
drwxr-xr-x 29 root root 4096 mar 31 2008 tcl
drwxr-xr-x 3 root root 4096 feb 27 09:46 tcp
-rwxr-xr-x 1 root root 283 mar 31 2008 test-all
drwxr-xr-x 2 root root 4096 mar 31 2008 test-output
-rw-r--r-- 1 root root 18120 mar 31 2008 TODO.html
drwxr-xr-x 2 root root 4096 feb 27 09:46 tools
drwxr-xr-x 2 root root 4096 feb 27 09:46 tora
drwxr-xr-x 2 root root 4096 feb 27 09:46 trace
-rwxr-xr-x 1 root root 6510 mar 31 2008 validate
-rw-r--r-- 1 root root 279703 mar 31 2008 validate.out
-rw-r--r-- 1 root root 5 mar 31 2008 VERSION
drwxr-xr-x 2 root root 4096 feb 27 09:46 webcache
drwxr-xr-x 2 root root 4096 feb 27 09:46 wpan
drwxr-xr-x 2 root root 4096 feb 27 09:46 xcp

  #7  
Old 27-Feb-2009, 16:31
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Problem executing nam-1.13


Open a new terminal window.

Navigate to /opt/ns-allinone-2.33

There should be a directory called nam-1.13. Cd into it. This is where the nam executable will be built. Since the "find" command didn't see it, I'm guessing that there is no nam file there.


So, here's the next thing to do. In the nam-1.13 directory execute the following:

Code:
./configure >configure.log 2>& 1

When it finishes, look in configure.log. Are there any warnings or errors?

If you don't understand what it tells you, post configure.log here. (The whole configure.log file should contain fewer than 100 lines.)

Regards,

Dave
  #8  
Old 27-Feb-2009, 16:55
RodolfoAlvizu RodolfoAlvizu is offline
New Member
 
Join Date: Feb 2009
Posts: 12
RodolfoAlvizu is on a distinguished road

Re: Problem executing nam-1.13


you are right there is no executable, the most closest files are
-rw-r--r-- 1 root root 23537 mar 31 2008 nam.1
-rw-r--r-- 1 root root 1022 mar 31 2008 nam.h
and I don't understand very well, there is no warnings, but are some things that seem to be wrong so I post the configure.log
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
No .configure file found in current directory
Continuing with default options...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ANSI C header files... (cached) 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... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking for zlib.h... -I/usr/include
checking for libz1.1.4... no
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for tcl.h... -I../include
checking for libtcl8.4... -L../lib -ltcl8.4
checking for init.tcl... ../lib/tcl8.4
checking for tclsh8.4.18... no
checking for tclsh8.4... ../bin/tclsh8.4
checking for tk.h... -I../include
checking for libtk8.4... -L../lib -ltk8.4
checking for tk.tcl... ../lib/tk8.4
checking for libtcldbg... no
checking for otcl.h... -I../otcl
checking for libotcl1.13... -L../otcl -lotcl
checking for tclcl.h... -I../tclcl-1.19
checking for libtclcl... -L../tclcl-1.19 -ltclcl
checking for tcl2c++... ../tclcl-1.19
checking return type of random... long
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for strtoq... yes
checking for strtoll... yes
checking for long... yes
checking size of long... 8
checking for strtol... yes
checking for __int64_t... no
checking for long long... yes
checking for int64_t... yes
checking which kind of 64-bit int to use... int64_t
checking for snprintf... yes
No explicit static compilation flag; setting V_STATIC to ""
checking for dlopen in -ldl... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating autoconf.h
config.status: autoconf.h is unchanged
And again: Many many thanks!!!
  #9  
Old 27-Feb-2009, 17:19
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Problem executing nam-1.13


Quote:
Originally Posted by RodolfoAlvizu
...
Code:
checking for gcc... gcc ... checking for zlib.h... -I/usr/include checking for libz1.1.4... no
That's somewhat suspicious. It may be a real clue. (Or, maybe, not.)
Quote:
Originally Posted by RodolfoAlvizu
Code:
. . . configure: creating ./config.status config.status: creating Makefile . . .

So: In the nam-1.13 directory, execute

Code:
make clean make >make.log 2>& 1

The make.log file should tell you what the problem is. As before, the log file should have fewer than 100 lines. If you don't understand what's happening, post the log file here.

Regards,

Dave
  #10  
Old 27-Feb-2009, 20:58
RodolfoAlvizu RodolfoAlvizu is offline
New Member
 
Join Date: Feb 2009
Posts: 12
RodolfoAlvizu is on a distinguished road

Re: Problem executing nam-1.13


Ok, I have some problems to understand this script. If you have some problems with the Spanish I can help. I hope you be wrong and this doesn't be a really clue...

Code:
rm -f tkcompat.o; gcc -o tkcompat.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include tkcompat.c rm -f tkUnixInit.o; gcc -o tkUnixInit.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include tkUnixInit.c rm -f xwd.o; gcc -o xwd.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include xwd.c xwd.c: En la función ‘ReadColors’: xwd.c:143: aviso: conversión a puntero desde un entero de tamaño diferente xwd.c:181: aviso: conversión a puntero desde un entero de tamaño diferente rm -f netview.o; g++ -o netview.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include netview.cc In file included from netview.cc:52: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f netmodel.o; g++ -o netmodel.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include netmodel.cc In file included from lan.h:46, from netmodel.cc:58: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ netmodel.cc: In member function ‘virtual void NetModel::handle(const TraceEvent&, double, int)’: netmodel.cc:1117: aviso: conversión obsoleta de una constante de cadena a ‘char*’ netmodel.cc:1118: aviso: conversión obsoleta de una constante de cadena a ‘char*’ netmodel.cc:1142: aviso: conversión obsoleta de una constante de cadena a ‘char*’ netmodel.cc:1143: aviso: conversión obsoleta de una constante de cadena a ‘char*’ netmodel.cc:1180: aviso: conversión obsoleta de una constante de cadena a ‘char*’ netmodel.cc:1196: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f edge.o; g++ -o edge.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include edge.cc In file included from edge.cc:45: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f packet.o; g++ -o packet.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include packet.cc In file included from packet.cc:45: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f node.o; g++ -o node.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include node.cc In file included from node.cc:47: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f main.o; g++ -o main.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include main.cc main.cc: In function ‘char* parse_assignment(char*)’: main.cc:236: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f trace.o; g++ -o trace.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include trace.cc trace.cc: In constructor ‘Trace::Trace(const char*, const char*)’: trace.cc:112: aviso: variable ‘pos’ sin usar rm -f queue.o; g++ -o queue.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include queue.cc rm -f drop.o; g++ -o drop.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include drop.cc rm -f animation.o; g++ -o animation.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include animation.cc rm -f agent.o; g++ -o agent.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include agent.cc In file included from agent.cc:45: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f feature.o; g++ -o feature.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include feature.cc In file included from feature.cc:42: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f route.o; g++ -o route.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include route.cc In file included from route.cc:45: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f transform.o; g++ -o transform.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include transform.cc rm -f paint.o; g++ -o paint.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include paint.cc rm -f state.o; g++ -o state.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include state.cc rm -f monitor.o; g++ -o monitor.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include monitor.cc rm -f anetmodel.o; g++ -o anetmodel.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include anetmodel.cc In file included from anetmodel.cc:20: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f random.o; g++ -o random.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include random.cc rm -f rng.o; g++ -o rng.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include rng.cc rm -f view.o; g++ -o view.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include view.cc view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ view.cc:63: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f graphview.o; g++ -o graphview.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include graphview.cc rm -f netgraph.o; g++ -o netgraph.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include netgraph.cc rm -f tracehook.o; g++ -o tracehook.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include tracehook.cc rm -f lan.o; g++ -o lan.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include lan.cc In file included from lan.h:46, from lan.cc:37: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f psview.o; g++ -o psview.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include psview.cc rm -f group.o; g++ -o group.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include group.cc rm -f editview.o; g++ -o editview.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include editview.cc In file included from editview.cc:61: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ editview.cc: In constructor ‘EditView::EditView(const char*, NetModel*)’: editview.cc:85: aviso: el formato ‘%-u’ espera el tipo ‘unsigned int’, pero el argumento 3 es de tipo ‘long int’ editview.cc: In constructor ‘EditView::EditView(const char*, NetModel*, int, int)’: editview.cc:108: aviso: el formato ‘%-u’ espera el tipo ‘unsigned int’, pero el argumento 3 es de tipo ‘long int’ rm -f tag.o; g++ -o tag.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include tag.cc In file included from tag.cc:54: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f address.o; g++ -o address.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include address.cc address.cc: In member function ‘int Address::str2addr(char*)’: address.cc:185: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f animator.o; g++ -o animator.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include animator.cc rm -f wnetmodel.o; g++ -o wnetmodel.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include wnetmodel.cc In file included from wnetmodel.cc:17: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f nam_stream.o; g++ -o nam_stream.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include nam_stream.cc nam_stream.cc: In static member function ‘static int NamStreamPipe::read_pipe()’: nam_stream.cc:406: aviso: conversión obsoleta de una constante de cadena a ‘char*’ nam_stream.cc:414: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f enetmodel.o; g++ -o enetmodel.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include enetmodel.cc In file included from enetmodel.cc:58: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f testview.o; g++ -o testview.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include testview.cc testview.cc: In member function ‘virtual void TestView::string(float, float, float, const char*, int, const char*)’: testview.cc:239: aviso: la comparación con una literal de cadena resulta en una conducta no especificada rm -f parser.o; g++ -o parser.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include parser.cc parser.cc: In constructor ‘ParseTable::ParseTable(TraceEvent*)’: parser.cc:336: aviso: conversión obsoleta de una constante de cadena a ‘char*’ parser.cc:339: aviso: conversión obsoleta de una constante de cadena a ‘char*’ parser.cc:340: aviso: conversión obsoleta de una constante de cadena a ‘char*’ ... ... parser.cc:651: aviso: conversión obsoleta de una constante de cadena a ‘char*’ parser.cc:651: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f trafficsource.o; g++ -o trafficsource.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include trafficsource.cc In file included from trafficsource.cc:43: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ trafficsource.cc: In member function ‘void TrafficSource::setDefaults()’: trafficsource.cc:150: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f lossmodel.o; g++ -o lossmodel.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include lossmodel.cc lossmodel.cc: In member function ‘void LossModel::setDefaults()’: lossmodel.cc:120: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f queuehandle.o; g++ -o queuehandle.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include queuehandle.cc In file included from queuehandle.cc:42: node.h: In member function ‘virtual char* BoxNode::style()’: node.h:280: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* CircleNode::style()’: node.h:291: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* HexagonNode::style()’: node.h:302: aviso: conversión obsoleta de una constante de cadena a ‘char*’ node.h: In member function ‘virtual char* VirtualNode::style()’: node.h:318: aviso: conversión obsoleta de una constante de cadena a ‘char*’ queuehandle.cc: In member function ‘void QueueHandle::setDefaults()’: queuehandle.cc:145: aviso: conversión obsoleta de una constante de cadena a ‘char*’ queuehandle.cc: In member function ‘virtual void QueueHandle::draw(View*, double)’: queuehandle.cc:321: aviso: conversión obsoleta de una constante de cadena a ‘char*’ rm -f gen/version.c /opt/ns-allinone-2.33/bin/tclsh8.4 bin/string2c.tcl version < VERSION > gen/version.c rm -f gen/version.o; gcc -o gen/version.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include gen/version.c rm -f gen/nam_tcl.cc /opt/ns-allinone-2.33/bin/tclsh8.4 bin/tcl-expand.tcl tcl/nam-lib.tcl | ../tclcl-1.19/tcl2c++ et_nam > gen/nam_tcl.cc rm -f gen/nam_tcl.o; g++ -o gen/nam_tcl.o -c -Wall -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_ZLIB_H -I. -I/opt/ns-allinone-2.33/tclcl-1.19 -I/opt/ns-allinone-2.33/otcl -I/opt/ns-allinone-2.33/include -I/opt/ns-allinone-2.33/include -I/usr/include gen/nam_tcl.cc rm -f nam g++ -o nam \ tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o node.o main.o trace.o queue.o drop.o animation.o agent.o feature.o route.o transform.o paint.o state.o monitor.o anetmodel.o random.o rng.o view.o graphview.o netgraph.o tracehook.o lan.o psview.o group.o editview.o tag.o address.o animator.o wnetmodel.o nam_stream.o enetmodel.o testview.o parser.o trafficsource.o lossmodel.o queuehandle.o gen/version.o gen/nam_tcl.o -L/opt/ns-allinone-2.33/tclcl-1.19 -ltclcl -L/opt/ns-allinone-2.33/otcl -lotcl -L/opt/ns-allinone-2.33/lib -ltk8.4 -L/opt/ns-allinone-2.33/lib -ltcl8.4 -lXext -lX11 -lnsl -ldl -lm nam_stream.o: In function `NamStreamCompressedFile::read(char*, int)': nam_stream.cc:(.text+0xf2f): undefined reference to `gzread' nam_stream.o: In function `NamStreamCompressedFile::eof()': nam_stream.cc:(.text+0xf51): undefined reference to `gzeof' nam_stream.o: In function `NamStreamCompressedFile::close()': nam_stream.cc:(.text+0xf6d): undefined reference to `gzclose' nam_stream.o: In function `NamStreamCompressedFile::tell()': nam_stream.cc:(.text+0xf9b): undefined reference to `gztell' nam_stream.o: In function `NamStreamCompressedFile::seek(long, int)': nam_stream.cc:(.text+0xfe0): undefined reference to `gzseek' nam_stream.cc:(.text+0x1000): undefined reference to `gzread' nam_stream.cc:(.text+0x1025): undefined reference to `gztell' nam_stream.cc:(.text+0x1053): undefined reference to `gzseek' nam_stream.o: In function `NamStreamCompressedFile::get_char()': nam_stream.cc:(.text+0x107d): undefined reference to `gzgetc' nam_stream.o: In function `NamStreamCompressedFile::gets(char*, int)': nam_stream.cc:(.text+0x10a7): undefined reference to `gzgets' nam_stream.o: In function `NamStreamCompressedFile::NamStreamCompressedFile(char const*)': nam_stream.cc:(.text+0x10eb): undefined reference to `gzopen' nam_stream.o: In function `NamStreamCompressedFile::NamStreamCompressedFile(char const*)': nam_stream.cc:(.text+0x1175): undefined reference to `gzopen' collect2: ld devolvió el estado de salida 1 make: *** [nam] Error 1 \

I'm grateful with your help... I beg your pardon for mi insistence...
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VC++ 2008 : problem in executing and running C codes Ndimangwa C Programming Language 2 03-Feb-2009 14:55
Visual Studio .NET 2003 problem in executing C source files Debugger1 C Programming Language 15 03-Feb-2009 04:32
Problem installing nam 1.13 sagarnatekar Computer Software Forum - Linux 3 22-Jan-2009 20:26
Problem Executing Program Via command prompt: Windows vista Relay C Programming Language 5 09-Mar-2007 13:57
Problem with executing PHP in webpage fdgloworm Apache Web Server Forum 0 13-Feb-2006 12:43

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:25.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.