ns2 Install Problem on RedHat - Please Please Help

  • holy007lotus
  • Novice
  • Novice
  • holy007lotus
  • Posts: 22
  • Loc: Jalandhar, India

Post 3+ Months Ago

I am trying hard to install ns2(netwok simulator -2) ns-allinone-2.31 on RehHat 3. But be it RH3 or FC6 on some other machine. I am getting errors like

"make: *** [tk3d.o] Error 1
tk8.4.14 make failed! Exiting ....."


Here are some last lines of error once gcc combiled everything well.
#./install


errors that were shown at last were like

/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1189: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1190: syntax error before '*' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1190: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1191: syntax error before '*' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1191: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1192: syntax error before '*' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1192: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1193: syntax error before '*' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1193: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1194: syntax error before '{' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1203: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1203: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1203: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1203: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1203: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1204: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1204: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1204: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1204: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1204: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1205: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1205: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1205: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1205: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1205: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1206: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1206: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1206: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1206: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1206: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1208: syntax error before "if"
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1211: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1211: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1211: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1211: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1211: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1212: initializer element is not constant
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1212: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1213: syntax error before "if"
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1215: redefinition of `q'
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1212: `q' previously defined here
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1215: initializer element is not constant
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1215: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1216: syntax error before '}' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1222: redefinition of `p'
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1211: `p' previously defined here
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1222: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1222: request for member `y' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1222: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1222: request for member `x' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1222: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1223: redefinition of `q'
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1215: `q' previously defined here
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1223: initializer element is not constant
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1223: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1224: syntax error before "if"
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1226: redefinition of `q'
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1223: `q' previously defined here
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1226: initializer element is not constant
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1226: warning: data definition has no type or storage class
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1227: syntax error before '}' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c: In function `Tk_Get3DBorderFromObj':
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1262: `borderPtr' undeclared (first use in this function)
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1264: invalid operands to binary *
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1264: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1277: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1280: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1280: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1281: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1301: request for member `borderTable' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1301: request for member `borderTable' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1305: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1307: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1307: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1308: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c: In function `TkDebugBorder':
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1388: `borderPtr' undeclared (first use in this function)
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1391: invalid operands to binary *
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1391: syntax error before ')' token
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1394: request for member `borderTable' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1394: request for member `borderTable' in something not a structure or union
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1396: syntax error before ')' token
/usr/include/sys/stat.h: At top level:
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:1134: storage size of `shiftTable' isn't known
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:31: warning: `BorderInit' declared `static' but never defined
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:36: warning: `Intersect' declared `static' but never defined
/home/ns2/ns-allinone-2.31/tk8.4.14/generic/tk3d.c:39: warning: `ShiftLine' declared `static' but never defined
{standard input}: Assembler messages:
{standard input}:702: Error: symbol `dy' is already defined
{standard input}:708: Error: symbol `dx' is already defined
{standard input}:755: Error: symbol `q' is already defined
{standard input}:761: Error: symbol `p' is already defined
{standard input}:767: Error: symbol `q' is already defined
{standard input}:773: Error: symbol `q' is already defined
make: *** [tk3d.o] Error 1
tk8.4.14 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
[root@pc10 ns-allinone-2.31]#
[/img]


I even installed XFree86-3.3.5-3.src.rpm to make sure there isnt any problem with X after i googled some pages. Its very important for me because I have to simulate wireless networks as part of my internship project.

Please reply soon and do tell me solution in steps.

Regards,
Kamal Thakur
NIT Jalandhar
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • holy007lotus
  • Novice
  • Novice
  • holy007lotus
  • Posts: 22
  • Loc: Jalandhar, India

Post 3+ Months Ago

somebody please help me out... im getting impatient ..

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 79 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.