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

ns-2.1b3 daily snapshot won't compile



I fetched the daily snapshot of ns-2.1b3 today (April 17) and it will not
compile. The system is Linux, Debian distribution, and the compiler is gcc
version 2.7.2.1. Here is the error message:

shannon$ make
c++ -c -g -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL1_0B5 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_T
K_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -I. -I../tclcl-1.0b5
-I/usr/local/include -I/usr/include/tcl -I/usr/include/tcl  -o random.o rand
om.cc
random.cc: In function `int random()':
random.cc:50: new declaration `int random()'
/usr/include/stdlib.h:198: ambiguates old declaration `long int random()'
make: *** [random.o] Error 1
shannon$

Jeff

---
Jeffrey Austen       |  Tennessee Technological University
[email protected]   |  Box 5004
+1-931-372-3485      |  Cookeville Tennessee 38505   U.S.A.