LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't build ns2 on AMD64 platform (https://www.linuxquestions.org/questions/linux-software-2/can%27t-build-ns2-on-amd64-platform-396744/)

samqazi1 12-26-2005 10:34 PM

Can't build ns2 on AMD64 platform
 
Hi (URGENT HELP REQUIRED!!),

I am trying to install ns-2 (Network simulator 2) but.... this time on an AMD-64 Opteron server. It worked well previously on intel architectures but not here ( I've tried many things configure with all type of flags, --with-x-libraries, --without-x-libraries, --with-tcl but.. without any success!).

./configure runs fine but make fails.

The error generated by make (for installation of one of the constituent packages OTCL )is for example reported below.

I need to configure/make atleast 3 compulsory packages--
otcl, tclcl, ns2 packages in succession to build the whole ns2 package.

(Investigation while Googling revealed that AMD keeps its 64 bit libraries in exactly the same folders as the 32 bit ones. so we donot have to deal with the hassle of specifying the required libraries)


******************************************************
rm -f libotcl.so otcl.o so_locations
gcc -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/root/ns/tk8.4.11/generic -I/root/ns/tcl8.4.11/generic -I/root/ns/tcl8.4.11/generic -I/include otcl.c
ld -shared -o libotcl.so otcl.o
rm -f libotcl.so
gcc -o otclsh -g -O2 -I. -I/root/ns/tk8.4.11/generic -I/root/ns/tcl8.4.11/generic -I/root/ns/tcl8.4.11/generic -I/include otclAppInit.c \
-L. -lotcl -L/usr/lib -ltk8.4 -L/usr/local/lib -ltcl8.4 -L/usr/X11R6/lib -lXext -lX11 -lnsl -ldl -lm
/usr/bin/ld: skipping incompatible /usr/lib/libtk8.4.so when searching for -ltk8.4
/usr/bin/ld: skipping incompatible /usr/lib/libtcl8.4.so when searching for -ltcl8.4
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status


***********************************************************

How can I resolve this issue?

Thanks.


All times are GMT -5. The time now is 10:58 PM.