Advertisement
Guest User

network simulator

a guest
Sep 21st, 2010
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.19 KB | None | 0 0
  1. shadyabhi@ArchLinux /tmp/yaourt-tmp-shadyabhi/aur-ns $ makepkg -s
  2. ==> Making package: ns 2.34-3 (Tue Sep 21 12:38:27 IST 2010)
  3. ==> Checking Runtime Dependencies...
  4. ==> Checking Buildtime Dependencies...
  5. ==> Retrieving Sources...
  6.   -> Found ns-2.34.tar.gz
  7. ==> Validating source files with md5sums...
  8.     ns-2.34.tar.gz ... Passed
  9. ==> Extracting Sources...
  10.   -> Extracting ns-2.34.tar.gz with bsdtar
  11. ==> Removing existing pkg/ directory...
  12. ==> Entering fakeroot environment...
  13. ==> Starting build()...
  14. checking for gcc... gcc
  15. checking for C compiler default output file name... a.out
  16. checking whether the C compiler works... yes
  17. checking whether we are cross compiling... no
  18. checking for suffix of executables...
  19. checking for suffix of object files... o
  20. checking whether we are using the GNU C compiler... yes
  21. checking whether gcc accepts -g... yes
  22. checking for gcc option to accept ISO C89... none needed
  23. checking how to run the C preprocessor... gcc -E
  24. checking for grep that handles long lines and -e... /bin/grep
  25. checking for egrep... /bin/grep -E
  26. checking for ANSI C header files... yes
  27. checking for sys/types.h... yes
  28. checking for sys/stat.h... yes
  29. checking for stdlib.h... yes
  30. checking for string.h... yes
  31. checking for memory.h... yes
  32. checking for strings.h... yes
  33. checking for inttypes.h... yes
  34. checking for stdint.h... yes
  35. checking for unistd.h... yes
  36. checking minix/config.h usability... no
  37. checking minix/config.h presence... no
  38. checking for minix/config.h... no
  39. checking whether it is safe to define __EXTENSIONS__... yes
  40. No .configure file found in current directory
  41. Continuing with default options...
  42. checking build system type... x86_64-unknown-linux-gnu
  43. checking host system type... x86_64-unknown-linux-gnu
  44. checking target system type... x86_64-unknown-linux-gnu
  45. checking for gcc... (cached) gcc
  46. checking whether we are using the GNU C compiler... (cached) yes
  47. checking whether gcc accepts -g... (cached) yes
  48. checking for gcc option to accept ISO C89... (cached) none needed
  49. checking for g++... g++
  50. checking whether we are using the GNU C++ compiler... yes
  51. checking whether g++ accepts -g... yes
  52. checking for ANSI C header files... (cached) yes
  53. checking for string.h... (cached) yes
  54. checking for main in -lXbsd... no
  55. checking for socket in -lsocket... no
  56. checking for gethostbyname in -lnsl... yes
  57. checking for dcgettext in -lintl... no
  58. checking for getnodebyname in -ldnet_stub... no
  59. checking that g++ can handle -O2... no
  60. checking if C++ libraries work without any namespace... no
  61. checking if C++ libraries work with namespace std... yes
  62. checking if STL works without any namespace... no
  63. checking if STL works with namespace std... yes
  64. checking should use STL... yes
  65. checking for tcl.h... -I/usr/include
  66. checking for tclInt.h... -I/usr/include
  67. checking for libtcl8.4... -L/usr/lib -ltcl8.4
  68. checking for init.tcl... /usr/lib/tcl8.4
  69. checking for http.tcl... /usr/lib/tcl8.4/http1.0
  70. checking Tcl http.tcl library... yes
  71. checking for tclsh8.4.18... no
  72. checking for tclsh8.4... /usr/bin/tclsh8.4
  73. checking for tk.h... -I/usr/include
  74. checking for libtk8.4... -L/usr/lib -ltk8.4
  75. checking for tk.tcl... /usr/lib/tk8.4
  76. checking for otcl.h... -I/usr/include
  77. checking for libotcl1.13... -L/usr/lib -lotcl
  78. checking for tclcl.h... -I/usr/lib/tclcl/include
  79. checking for libtclcl... -L/usr/lib/tclcl/lib -ltclcl
  80. checking for tcl2c++... /usr/lib/tclcl
  81. checking for X11 header files
  82. checking for X11 library archive
  83. checking for XOpenDisplay in -lX11... yes
  84. checking for XShmAttach in -lXext... yes
  85. checking for libtcldbg... no
  86. checking dmalloc... not requested with --with-dmalloc
  87. checking for perl... /usr/bin
  88. checking for ANSI C header files... (cached) yes
  89. checking arpa/inet.h usability... yes
  90. checking arpa/inet.h presence... yes
  91. checking for arpa/inet.h... yes
  92. checking fenv.h usability... yes
  93. checking fenv.h presence... yes
  94. checking for fenv.h... yes
  95. checking netinet/in.h usability... yes
  96. checking netinet/in.h presence... yes
  97. checking for netinet/in.h... yes
  98. checking for string.h... (cached) yes
  99. checking for strings.h... (cached) yes
  100. checking time.h usability... yes
  101. checking time.h presence... yes
  102. checking for time.h... yes
  103. checking for unistd.h... (cached) yes
  104. checking net/ethernet.h usability... yes
  105. checking net/ethernet.h presence... yes
  106. checking for net/ethernet.h... yes
  107. checking for main in -lm... yes
  108. checking for bcopy... yes
  109. checking for bzero... yes
  110. checking for fesetprecision... no
  111. checking for feenableexcept... yes
  112. checking for getrusage... yes
  113. checking for sbrk... yes
  114. checking for snprintf... yes
  115. checking return type of random... long
  116. checking for int8_t... yes
  117. checking for int16_t... yes
  118. checking for int32_t... yes
  119. checking for u_int8_t... yes
  120. checking for u_int16_t... yes
  121. checking for u_int32_t... yes
  122. checking for u_char... yes
  123. checking for u_int... yes
  124. checking for strtoq... yes
  125. checking for strtoll... yes
  126. checking size of long... 8
  127. checking for strtol... yes
  128. checking for __int64_t... no
  129. checking for long long... yes
  130. checking for int64_t... yes
  131. checking which kind of 64-bit int to use... int64_t
  132. checking system version (for dynamic loading)... Linux-2.6.35-ARCH
  133. checking for dlopen in -ldl... yes
  134. checking dlfcn.h usability... yes
  135. checking dlfcn.h presence... yes
  136. checking for dlfcn.h... yes
  137. checking for ns library name... libns.so
  138. checking for struct ether_header... found
  139. checking for struct ether_addr... found
  140. checking for addr2ascii... no
  141. checking for Linux compliant tcphdr... found
  142. checking for BSD compliant tcphdr... not found
  143. checking for socklen_t... yes
  144. checking for main in -lpcap... yes
  145. checking to make nse... yes
  146. Explicitly disabling static compilation
  147. checking for dlopen in -ldl... (cached) yes
  148. checking for a BSD-compatible install... /bin/install -c
  149. configure: creating ./config.status
  150. config.status: creating Makefile
  151. config.status: creating tcl/lib/ns-autoconf.tcl
  152. config.status: creating indep-utils/webtrace-conv/ucb/Makefile
  153. config.status: creating indep-utils/webtrace-conv/dec/Makefile
  154. config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
  155. config.status: creating indep-utils/webtrace-conv/epa/Makefile
  156. config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
  157. config.status: creating autoconf.h
  158. creating ./gen
  159. g++ -c -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I. -I/usr/lib/tclcl/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/random.o tools/random.cc
  160. g++ -c -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I. -I/usr/lib/tclcl/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/rng.o tools/rng.cc
  161. tools/rng.cc: In constructor ‘RNG::RNG(const char*)’:
  162. tools/rng.cc:856:12: warning: array subscript is above array bounds
  163. g++ -c -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I. -I/usr/lib/tclcl/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/ranvar.o tools/ranvar.cc
  164. tools/ranvar.cc: In member function ‘virtual double GammaRandomVariable::value()’:
  165. tools/ranvar.cc:219:70: error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly
  166. tools/ranvar.cc:219:70: error:   for a function-style cast, remove the redundant ‘::GammaRandomVariable’
  167. make: *** [tools/ranvar.o] Error 1
  168.     Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement