have checked the archives... i have tried make clean -> make; and make depend -> make... but all i get is a list of errors...
I am using NS 2-34 on cygwin. I have modified energy-model.h, energy-model.cc and aodv.cc to include the energy-model. I have been trying exhastedly to compile my changes. I have resorted to a third party application Visual C++ 2008 Express Edition to try and compile the aodv files and thier associated links. Currently I am down to 355 errors and 35 warnings in the following 12 files: reent.h, rpcdce.h, rpcdcep.h, shellapi.h, stdarg.h, stdio.h, tclDecls.h, wchar.h, winbase.h, winnt.h, winsock2.h, and winuser.h. I have searched the internet and other documentation and the files dont seem to have any errors. the 355 errors and 35 warnings are all repetitions of the following 26 errors/warnings: warning C4103: 'c:\cygwin\usr\include\w32api\winnt.h' : alignment changed after including header, may be due to missing #pragma pack(pop) warning C4068: unknown pragma fatal error C1021: invalid preprocessor command 'warning' error C4430: missing type specifier - int assumed. Note: C++ does not support default-int error C3646: 'I_RpcAllocate' : unknown override specifier error C2378: '__gnuc_va_list' : redefinition; symbol cannot be overloaded with a typedef error C2371: 'size_t' : redefinition; different basic types error C2146: syntax error : missing ';' before identifier 'va_list' error C2146: syntax error : missing ';' before identifier 'mbstate_t' error C2146: syntax error : missing ';' before identifier '_wctomb_state' error C2146: syntax error : missing ';' before identifier '_wcsrtombs_state' error C2146: syntax error : missing ';' before identifier '_wcrtomb_state' error C2146: syntax error : missing ';' before identifier '_mbtowc_state' error C2146: syntax error : missing ';' before identifier '_mbsrtowcs_state' error C2146: syntax error : missing ';' before identifier '_mbrtowc_state' error C2146: syntax error : missing ';' before identifier '_mbrlen_state' error C2146: syntax error : missing ';' before identifier '__gnuc_va_list' error C2146: syntax error : missing ';' before identifier '__getline' error C2146: syntax error : missing ';' before identifier '__getdelim' error C2144: syntax error : 'void' should be preceded by ';' error C2144: syntax error : 'unsigned __int64' should be preceded by ';' error C2091: function returns function error C2086: 'int ssize_t' : redefinition error C2086: 'int DECLSPEC_NORETURN' : redefinition error C2086: 'int _reent::$UnnamedClass$0xa559df9d$1$::$UnnamedClass$0xa559df9d$2$::_mbstate_t' : redefinition error C2061: syntax error : identifier 'va_list' any help and assistance would be greatly appreciated.
