[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installation problem with ns-allinone-2.1b5a



Hi,

I have downloaded ns-allinone-2.1b5a.tar.gz and tried to install it. I'm
new to ns and have some following questions:

1. I'd like to add some new functions in the simulator for my own
network simulation. Does ns-allinone support such a kind of development
or I have to do it with "ns from all the piece"?

2. I tried to install ns-allinone-2.1b5a in HPUX 10.20 platform but I
met problem with the error meesage:

cc -Wl,-E tkAppInit.o
-L/home/inf33/employee/ptolemy/ns-allinone-2.1b5/tk8.0.4/unix -ltk8.0
-L/home/inf33/employee/ptolemy/ns-allinone-2.1b5/tcl8.0.4/unix -ltcl
8.0  -L/usr/lib/X11R4 -lX11 -ldld -lm -lc \
         -o wish
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (tkAppInit.o)
was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
    XmbLookupString (code)
    XCreateIC (code)
    XGetIMValues (code)
    XOpenIM (code)
    XDestroyIC (code)
    XFilterEvent (code)
make: *** [wish] Error 1
tk8.0.4 make failed! Exiting ...

I think the problem would be that the linker could not find the X11
library at /usr/lib/X11R4. Actually, we have installed only the  shared
library at this directory. So the question is how I can use the newer
version of X11 located at /usr/lib/X11R6 (by setting an environment
variable?) and how I can enable the shared option while installing.

Anybody knows how to resolve it? Thanks.

Thanh

-- 
------------------------------------------------
    Nguyen Huu Thanh                      

    Universitaet der Bundeswehr Muenchen  
    Institut fuer informationstechnische Systeme
    Werner-Heisenberg-Weg 39
    85577 Neubiberg                        
    Tel.: +49 89 6004-2279                   
    Email: [email protected]  
-------------------------------------------------