hi Sir, I have 2 questions that I hope you can answer, the 1st question is an error running the command: export CC=gcc41 CXX=g++41 && ./install, The second question is how to install blackhole AODV, IDSADODV on NS2.29.
when i use this command i get an error: export CC=gcc41 CXX=g++41 && ./install
thanhca@thanhca-virtual-machine:~/Downloads/ns-allinone-2.29.3/ns-allinone-2.29$ export CC=gcc41 CXX=g++41 && ./install
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... (cached) gcc41
checking whether the C compiler (gcc41 ) works... yes
checking whether the C compiler (gcc41 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc41 accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc41 -E
checking for X... (cached) libraries , headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strcasecmp... (cached) yes
creating ./config.status
creating Makefile
creating autoconf.h
autoconf.h is unchanged
./install: 275: make: not found
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
============================================================
Making cweb
./install: 298: make: not found
cweb failed to make, but it's optional
chmod: cannot access 'cweave': No such file or directory
chmod: cannot access 'ctangle': No such file or directory
ln: failed to create symbolic link 'cweave': File exists
ln: failed to create symbolic link 'ctangle': File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
./install: 327: make: not found
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing..
============================================================
* Build zlib
============================================================
Building static library libz.a version 1.2.3 with gcc41.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
./install: 384: make: not found
Zlib make failed, but it's optional Continue ...
============================================================
* Build tcl8.4.11
============================================================
./install: 404: make: not found
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... (cached) gcc41
checking whether the C compiler (gcc41 ) works... yes
checking whether the C compiler (gcc41 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc41 accepts -g... (cached) yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking how to run the C preprocessor... (cached) gcc41 -pipe -E
checking for sin... (cached) no
checking for main in -lieee... (cached) no
checking for main in -linet... (cached) no
checking for net/errno.h... (cached) no
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking how to build libraries... static
checking for ranlib... (cached) ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-5.19.0-40-generic
checking for dlopen in -ldl... (cached) yes
checking for ar... (cached) ar
checking for build with symbols... no
checking for required early compiler flags... (cached) (cached) _LARGEFILE64_SOURCE
checking for 64-bit integer type... (cached) using long
checking whether byte ordering is bigendian... (cached) no
checking for getcwd... (cached) yes
checking for opendir... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for strtoll... (cached) yes
checking for strtoull... (cached) yes
checking for tmpnam... (cached) yes
checking for waitpid... (cached) yes
checking for strerror... (cached) yes
checking for getwd... (cached) yes
checking for wait3... (cached) yes
checking for uname... (cached) yes
checking for realpath... (cached) yes
checking dirent.h... (cached) no
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking for values.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/modem.h... (cached) no
checking termios vs. termio vs. sgtty... (cached) termios
checking for fd_set in sys/types... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for tm_zone in struct tm... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking tm_tzadj in struct tm... (cached) no
checking tm_gmtoff in struct tm... (cached) yes
checking long timezone variable... yes
checking for st_blksize in struct stat... (cached) yes
checking for fstatfs... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for memmove... (cached) yes
checking proper strstr implementation... yes
checking for strtoul... (cached) yes
checking for strtod... (cached) yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... (cached) ok
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... (cached) yes
checking for opendir... (cached) yes
checking union wait... (cached) no
checking for strncasecmp... (cached) yes
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... (cached) present
checking whether char is unsigned... (cached) no
checking signed char declarations... (cached) yes
checking for a putenv() that copies the buffer... (cached) no
checking for langinfo.h... (cached) yes
checking whether to use nl_langinfo... yes
checking for sys/ioctl.h... (cached) yes
checking for sys/filio.h... (cached) no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
creating ./config.status
creating Makefile
creating dltest/Makefile
creating tclConfig.sh
./install: 410: make: not found
tcl8.4.11 make failed! Exiting ...
For problems with Tcl/Tk see
http://www.scriptics.comVào lúc 02:36:58 UTC+3 ngày Thứ Ba, 25 tháng 4, 2023, thành nguyễn trọng đã viết:
when i use this command i get an error:
export CC=gcc41 CXX=g++41 && ./install 
Vào lúc 02:22:11 UTC+3 ngày Thứ Ba, 25 tháng 4, 2023, thành nguyễn trọng đã viết:
i use ubuntu version 22.04
Vào lúc 02:06:21 UTC+3 ngày Thứ Ba, 25 tháng 4, 2023, thành nguyễn trọng đã viết:
hi sirWhen I execute this command I get an error:
patch -p0 < ns229_gcc41.patch

Vào lúc 20:03:02 UTC+3 ngày Thứ Hai, 24 tháng 4, 2023, knudfl đã viết: