I found that this same problem happened for ns-2.29.2 as follows: ------------------------------------------------------------------------------------------------------------------------ [edit<http://nsnam.isi.edu/nsnam/index.php?title=Troubleshooting&action=edit§ion=4> ] Installation of ns-2.29.2 fails on x86_64 platform
- Description: otcl-1.11 compilation fails in the following way: > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when > searching for -lXext > /usr/bin/ld: cannot find -lXext > collect2: ld returned 1 exit status > make: *** [otclsh] Error 1 > otcl-1.11 make failed! Exiting ... - Previous solution: Find the path to the 64-bit libraries and modify the makefile (e.g., /usr/X11R6/lib64) - New solution: Use the ns-allinone-2.29.3.tar.gz package. ---------------------------------------------------------------------------------------------------------------------- So I tried to modify the makefile( ~/ns-allinone-2.33/ns-2.33/Makefile). I changed /usr/X11R6/lib to /usr/X11R6/lib64. I saved it, and then run the install. Same error happens. And I check the Makefile again, I found that the ``/usr/X11R6/lib" is still there. The modification I did is gone. Anybody can help? I'll appreciate it very much. -Nick On Thu, Dec 18, 2008 at 9:08 AM, Nick <[email protected]> wrote: > By the way, I also tried the ns-2.30 version and succeeded. Any idea? > Thanks. > > > On Wed, Dec 17, 2008 at 6:20 PM, Nick <[email protected]> wrote: > >> Hi all, >> >> I tried to build ns 2.33 allinone on my linux machine with CentOS but I >> have some problems. It says: >> >> /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 >> make: *** [ns] Error 1 >> >> I would appreciate your help. Thanks. >> >> -Nick >> > >
