[ns] Urgent regarding porting of diffusion3 compilation error
sameer tilak
sam_tilak@yahoo.com
Thu Apr 11 13:55:03 2002
Hi All,
I am trying to get my ns version updated for the
drected diffusion port. I downloaded the ns-2 daily
snapshot for the port and relaced my existing
ns-2.1b8... directory with this snapshot directory.
But unfortunately I am having some compilation
problems.
Is the "diffusion" directory obsolete ? the make file
has referencers to it. Also some files like god.cc
contain some of the .h files from it eg. in god.cc we
have,
#include "diffusion/hash_table.h"
#include "mobilenode.h"
If I keep the Make file unmodified then I get the
following error:
tclHash.o(.text+0x0): multiple definition of
`Tcl_InitHashTable'
diffusion3/main/hashutils.o(.text+0x0): first defined
here
/usr/bin/ld: Warning: size of symbol
`Tcl_InitHashTable' changed from 144 to 159
in tclHash.o
/work/sameer/ns-allinone-2.1b8a/lib/libtcl8.3.a(tclHash.o):
In function `Tcl_Del
eteHashEntry':
tclHash.o(.text+0xa0): multiple definition of
`Tcl_DeleteHashEntry'
diffusion3/main/hashutils.o(.text+0x90): first defined
here
/usr/bin/ld: Warning: size of symbol
`Tcl_DeleteHashEntry' changed from 63 to 97
in tclHash.o
/work/sameer/ns-allinone-2.1b8a/lib/libtcl8.3.a(tclHash.o):
In function `Tcl_Nex
tHashEntry':
tclHash.o(.text+0x1b0): multiple definition of
`Tcl_NextHashEntry'
diffusion3/main/hashutils.o(.text+0x148): first
defined here
/usr/bin/ld: Warning: size of symbol
`Tcl_NextHashEntry' changed from 58 to 67 i
n tclHash.o
collect2: ld returned 1 exit status
What is the way to get this stuff working ?
Regards,
--Sameer Tilak.
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/