hiii .....problem in installin ns-2.28 on fedora 12 with gcc-4.4.4
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hiii .....problem in installin ns-2.28 on fedora 12 with gcc-4.4.4
hiii guyss problem in installin ns-2.28 on fedora 12 with gcc-4.4.4
Code:
./sctp/sctp.h:214: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:226: warning: ‘typedef’ was ignored in this declaration
In file included from trace/trace.cc:43:
./sctp/sctp.h:247: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:253: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:258: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:265: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:267: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:276: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:291: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:372: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:378: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:419: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:430: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:438: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:445: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:451: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:462: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:481: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:486: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:492: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:499: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:505: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:632: error: extra qualification ‘SctpAgent::’ on member ‘DumpSendBuffer’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
make: *** [trace/trace.o] Error 1
Ns make failed!
error is
otcl.c:21:20: error: tclInt.h: No such file or directory
otcl.c:75: error: expected specifier-qualifier-list before ‘CallFrame’
otcl.c: In function ‘OTclDeleteProc’:
otcl.c:616: warning: assignment makes pointer from integer without a cast
otcl.c: At top level:
otcl.c:750: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
otcl.c: In function ‘ListProcArgs’:
otcl.c:764: error: ‘Proc’ undeclared (first use in this function)
otcl.c:764: error: (Each undeclared identifier is reported only once
otcl.c:764: error: for each function it appears in.)
otcl.c:764: error: ‘proc’ undeclared (first use in this function)
otcl.c:769: error: ‘CompiledLocal’ undeclared (first use in this function)
otcl.c:769: error: ‘args’ undeclared (first use in this function)
otcl.c: In function ‘ListProcDefault’:
otcl.c:806: error: ‘Proc’ undeclared (first use in this function)
otcl.c:806: error: ‘proc’ undeclared (first use in this function)
otcl.c:815: error: ‘CompiledLocal’ undeclared (first use in this function)
otcl.c:815: error: ‘ap’ undeclared (first use in this function)
otcl.c: In function ‘ListProcBody’:
otcl.c:856: error: ‘Proc’ undeclared (first use in this function)
otcl.c:856: error: ‘proc’ undeclared (first use in this function)
otcl.c: In function ‘PrimitiveOInit’:
otcl.c:893: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:894: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:899: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:900: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:902: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:903: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:907: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:909: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:909: error: ‘Interp’ undeclared (first use in this function)
otcl.c:909: error: expected expression before ‘)’ token
otcl.c:910: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:911: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:912: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:912: error: ‘Proc’ undeclared (first use in this function)
otcl.c:912: error: expected expression before ‘)’ token
otcl.c:913: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:913: error: expected expression before ‘)’ token
otcl.c:914: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:916: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:917: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:918: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:919: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:920: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:921: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘PrimitiveODestroyNoFree’:
otcl.c:973: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:976: error: ‘Var’ undeclared (first use in this function)
otcl.c:976: error: ‘vp’ undeclared (first use in this function)
otcl.c:976: error: expected expression before ‘)’ token
otcl.c:983: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:983: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:986: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:989: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:997: error: expected expression before ‘)’ token
otcl.c:1001: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:1017: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:1018: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘PrimitiveOCreate’:
otcl.c:1033: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:1035: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘PrimitiveCCreate’:
otcl.c:1172: error: ‘struct OTclObject’ has no member named ‘variables’
otcl.c:1174: error: ‘struct OTclObject’ has no member named ‘variables’
otcl.c: In function ‘OTclODestroyMethod’:
otcl.c:1258: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:1261: error: ‘Var’ undeclared (first use in this function)
otcl.c:1261: error: ‘vp’ undeclared (first use in this function)
otcl.c:1261: error: expected expression before ‘)’ token
otcl.c:1268: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:1268: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:1272: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘OTclOInfoMethod’:
otcl.c:1351: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘OTclOInstVarOne’:
otcl.c:1443: error: ‘Interp’ undeclared (first use in this function)
otcl.c:1443: error: ‘iPtr’ undeclared (first use in this function)
otcl.c:1443: error: expected expression before ‘)’ token
otcl.c:1454: error: ‘CallFrame’ undeclared (first use in this function)
otcl.c:1454: error: ‘saved’ undeclared (first use in this function)
otcl.c:1457: error: ‘OTclObject’ has no member named ‘variables’
otcl.c:1458: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘OTclSetInstVar’:
otcl.c:1971: error: ‘Interp’ undeclared (first use in this function)
otcl.c:1971: error: ‘iPtr’ undeclared (first use in this function)
otcl.c:1971: error: expected expression before ‘)’ token
otcl.c:1972: error: ‘CallFrame’ undeclared (first use in this function)
otcl.c:1972: error: ‘saved’ undeclared (first use in this function)
otcl.c:1975: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘OTclGetInstVar’:
otcl.c:1984: error: ‘Interp’ undeclared (first use in this function)
otcl.c:1984: error: ‘iPtr’ undeclared (first use in this function)
otcl.c:1984: error: expected expression before ‘)’ token
otcl.c:1985: error: ‘CallFrame’ undeclared (first use in this function)
otcl.c:1985: error: ‘saved’ undeclared (first use in this function)
otcl.c:1988: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘OTclUnsetInstVar’:
otcl.c:1997: error: ‘Interp’ undeclared (first use in this function)
otcl.c:1997: error: ‘iPtr’ undeclared (first use in this function)
otcl.c:1997: error: expected expression before ‘)’ token
otcl.c:1998: error: ‘CallFrame’ undeclared (first use in this function)
otcl.c:1998: error: ‘saved’ undeclared (first use in this function)
otcl.c:2001: error: ‘OTclObject’ has no member named ‘variables’
otcl.c: In function ‘Otcl_Init’:
otcl.c:2152: warning: assignment makes pointer from integer without a cast
make: *** [libotcl.so] Error 1
otcl-1.9 make failed! Exiting ...
thanx in advance
Last edited by XavierP; 11-13-2010 at 11:47 AM.
Reason: The more code tags that are used, the happier I get
I tried in many ways as knudfl Guru suggested ........... but i could not solve the problem. so I itried to install ns-2.28 alone still im facing problems .........
mkdir include ( If not present.)
cd include/
ln -s ../tcl8.4.18/generic/tclInt.h
ln -s ../tcl8.4.18/generic/tclIntDecls.h
( These two links may already be present.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.