LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2014, 10:16 PM   #1
Raghavendra Patil
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Question installation error for ns2.35 in fedora 12


hello sir,
i tried following procedure to install it, and i also mentioned error please help me

1. copied ns-allinone-2.35.tar file to home.
2. extracted that ns*
3. cd ns* in terminal
3. ./install

i got following error,
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:513: error: expected ‘)’ before ‘*’ token
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:526: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TkStringToKeysym’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:564: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:650: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:811: error: expected declaration specifiers or ‘...’ before ‘GC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:812: error: expected declaration specifiers or ‘...’ before ‘GC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:813: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:823: error: expected declaration specifiers or ‘...’ before ‘KeySym’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:824: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:829: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TkpGetKeySym’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:904: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkIntDecls.h:1048: error: expected declaration specifiers or ‘...’ before
In file included from /home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:14:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkInt.h:1144: error: expected declaration specifiers or ‘...’ before ‘XImage’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkInt.h:1147:
In file included from /home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:15:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.h:29:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_Alloc3DBorderFromObj’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:100: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:108: warning: implicit declaration of function ‘ScreenOfDisplay’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:108: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:108:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:110: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:132: error: ‘TkBorder’ has no member named ‘hashPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:135: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:136: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:136: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:136: error: ‘TkBorder’ has no member named ‘screen’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:137: error: ‘Tk_FakeWin’ has no member named ‘atts’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:137: error: ‘TkBorder’ has no member named ‘colormap’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:138: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:139: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:154: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_Get3DBorder’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:192: error: ‘XGCValues’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:192: error: (Each undeclared identifier is reported only once
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:192: error: for each function it appears in.)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:192: error: expected ‘;’ before ‘gcValues’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:193: error: ‘XColor’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:193: error: ‘bgColorPtr’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:196: error: ‘TkWindow’ has no member named ‘dispPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:198: error: ‘TkDisplay’ has no member named ‘borderInit’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:202: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:202: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:206: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:207: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:207: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:207: error: ‘TkBorder’ has no member named ‘screen’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:208: error: ‘Tk_FakeWin’ has no member named ‘atts’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:208: error: ‘TkBorder’ has no member named ‘colormap’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:209: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:221: warning: implicit declaration of function ‘Tk_GetColor’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:230: error: ‘TkBorder’ has no member named ‘screen’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:230: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:230: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:231:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:232: error: ‘TkBorder’ has no member named ‘depth’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:232: error: ‘Tk_FakeWin’ has no member named ‘depth’
/: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:236: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:237: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:238: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:239: error: ‘TkBorder’ has no member named ‘shadow’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:239: error: ‘None’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:240: error: ‘TkBorder’ has no member named ‘bgGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:241: error: ‘TkBorder’ has no member named ‘darkGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:242: error: ‘TkBorder’ has no member named ‘lightGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:243: error: ‘TkBorder’ has no member named ‘hashPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:244: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:252: error: ‘gcValues’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:252: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:253: error: ‘TkBorder’ has no member named ‘bgGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:253: warning: implicit declaration of function ‘Tk_GetGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:253: error: ‘GCForeground’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: At top level:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:279: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_Draw3DRectangle’:

/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:297: warning: passing argument 3 of ‘Tk_3DVerticalBevel’ makes integer from pointer without a cast
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkDecls.h:59: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:297: error: too many arguments to function ‘Tk_3DVerticalBevel’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:299: warning: passing argument 3 of ‘Tk_3DHorizontalBevel’ makes integer from pointer without a cast
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkDecls.h:51: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:299: error: too many arguments to function ‘Tk_3DHorizontalBevel’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:301: warning: passing argument 3 of ‘Tk_3DHorizontalBevel’ makes integer from pointer without a cast
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tkDecls.h:51: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:301: error: too many arguments to function ‘Tk_3DHorizontalBevel’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_NameOf3DBorder’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:327: error: ‘TkBorder’ has no member named ‘hashPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: At top level:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:345: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:369: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_3DBorderGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_Free3DBorder’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:421: error: ‘Display’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:421: error: ‘display’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:421: warning: implicit declaration of function ‘DisplayOfScreen’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:421: error: ‘TkBorder’ has no member named ‘screen’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:424: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:425: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:429: error: ‘TkBorder’ has no member named ‘hashPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:431: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:432: warning: implicit declaration of function ‘Tk_FreeColor’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:432: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:434: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:435: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:437: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:438: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:440: error: ‘TkBorder’ has no member named ‘shadow’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:440: error: ‘None’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:441: warning: implicit declaration of function ‘Tk_FreeBitmap’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:441: error: ‘TkBorder’ has no member named ‘shadow’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:443: error: ‘TkBorder’ has no member named ‘bgGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:444: warning: implicit declaration of function ‘Tk_FreeGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:444: error: ‘TkBorder’ has no member named ‘bgGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:446: error: ‘TkBorder’ has no member named ‘darkGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:447: error: ‘TkBorder’ has no member named ‘darkGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:449: error: ‘TkBorder’ has no member named ‘lightGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:450: error: ‘TkBorder’ has no member named ‘lightGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:453: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:454: error: ‘TkBorder’ has no member named ‘hashPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:456: error: ‘TkBorder’ has no member named ‘hashPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:456: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:459: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:460: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:462: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:462: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:464: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘FreeBorderObjProc’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:526: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:527: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:528:
error: ‘XPoint’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:754:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:756: error: ‘p1Ptr’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:756: error: ‘p2Ptr’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:756: warning: left-hand operand of comma expression has no effect
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:758: error: ‘GC’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:758: error: expected ‘;’ before ‘gc’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:760: error: ‘Display’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:760: error: ‘display’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:760: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:762: error: ‘TkBorder’ has no member named ‘lightGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:762: error: ‘None’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:774: error: ‘drawable’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:774: error: ‘pointPtr’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:776: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:739: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:776: error: too many arguments to function ‘Tk_Draw3DPolygon’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:779: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:739: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:779: error: too many arguments to function ‘Tk_Draw3DPolygon’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:833: warning: left-hand operand of comma expression has no effect
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:834: warning: left-hand operand of comma expression has no effect
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:846: warning: implicit declaration of function ‘ShiftLine’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:846: error: ‘newB1’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:847: error: ‘newB2’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:849: error: ‘poly’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:852: warning: implicit declaration of function ‘Intersect’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:852: error: ‘b1’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:852: error: ‘b2’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:883: error: ‘perp’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:886: error: ‘c’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:887: error: ‘shift1’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:888: error: ‘shift2’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:902: error: ‘gc’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:902: error: ‘TkBorder’ has no member named ‘lightGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:904: error: ‘TkBorder’ has no member named ‘darkGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:906: warning: implicit declaration of function ‘XFillPolygon’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:906: error: ‘Convex’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:907: error: ‘CoordModeOrigin’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: At top level:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:945: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_Fill3DRectangle’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:981: warning: implicit declaration of function ‘XFillRectangle’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:981: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:981: error: ‘drawable’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:981: error: ‘TkBorder’ has no member named ‘bgGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:988: warning: passing argument 3 of ‘Tk_Draw3DRectangle’ makes integer from pointer without a cast
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:277: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:988: error: too many arguments to function ‘Tk_Draw3DRectangle’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: At top level:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1011: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1013: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_Fill3DPolygon’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1027: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1027: error: ‘drawable’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1027: error: ‘TkBorder’ has no member named ‘bgGC’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1028: error: ‘pointPtr’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1028: error: ‘Complex’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1028: error: ‘CoordModeOrigin’ undeclared (first use in this function)
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1031: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:739: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1031: error: too many arguments to function ‘Tk_Draw3DPolygon’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘BorderInit’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1055: error: ‘TkDisplay’ has no member named ‘borderInit’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1056: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: At top level:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1078: error: expected ‘)’ before ‘*’ token
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1165: error: expected ‘)’ before ‘*’ token
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘Tk_Get3DBorderFromObj’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1240: error: ‘TkWindow’ has no member named ‘dispPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1254: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1255: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1255: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1255: error: ‘TkBorder’ has no member named ‘screen’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1256: error: ‘Tk_FakeWin’ has no member named ‘atts’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1256: error: ‘TkBorder’ has no member named ‘colormap’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1276: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1276: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1281: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1282: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1282: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1282: error: ‘TkBorder’ has no member named ‘screen’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1283: error: ‘Tk_FakeWin’ has no member named ‘atts’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1283: error: ‘TkBorder’ has no member named ‘colormap’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1286: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c: In function ‘TkDebugBorder’:
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1366: error: ‘TkWindow’ has no member named ‘dispPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1369: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1369: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1375: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1378: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/raghavendra/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:1380: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Error 1
tk8.5.10 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
[raghavendra@localhost ns-allinone-2.35]$
 
Old 02-06-2014, 06:54 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Normally there is a README file or an INSTALL file that tells you how to install.

The error you are getting sounds like you haven't configured the application yet.
 
Old 02-06-2014, 09:09 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@Raghavendra Patil : Welcome to LQ.

Please edit post #1 to use "code tags" : The 'Edit' button.
Code tags : That's the # button in the 'Advanced Editor'.
Or type [/code] at error text end, and [code] at text start.
* http://www.linuxquestions.org/questi....php?do=bbcode
* http://www.linuxquestions.org/questi...gs-4175464257/

Looks like you have a corrupt `ns-allinone-2.35'.
I.e. the default gcc/g++ version 4.4.4 should do OK.
May be show the version output from the command $ gcc --version

Extracting ns235 : Please use this command : $ tar xvf ns-allinone-2.35.tar.gz
A proof download link : http://sourceforge.net/projects/nsnam/

P.S. : Your build command looks OK !

-

Last edited by knudfl; 02-07-2014 at 11:28 AM.
 
Old 02-07-2014, 11:27 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
*
* Confirming : No issues with the 32bits (i686) Fedora 12 / ns-allinone-2.35 .
*
* $ cd ns-allinone-2.35/ && ./install : No errors.
*


-

Last edited by knudfl; 02-07-2014 at 12:35 PM.
 
Old 02-07-2014, 11:32 AM   #5
pingwinowiewc
Member
 
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90

Rep: Reputation: Disabled
confirming: no errors whatsoever....
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2.35 installation on fedora 17 mahe.ek21 Linux - Wireless Networking 2 01-30-2014 05:59 AM
offline installation of ns2 on fedora fabe856 Linux - Software 1 06-15-2012 01:24 PM
ns2.29.3 installation on fedora 15 , nam installation problem Narges Linux - Networking 5 10-31-2011 11:09 AM
NS2.34 Installation error in Fedora 15 reene.g Linux - Newbie 5 10-04-2011 08:05 AM
ns2.33 installation procedure in fedora karmel Linux - Newbie 4 05-08-2009 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration