|
i am trying to build using make , showing following message ....
rajeshbiswas@rajeshbiswas-laptop[MatCompare_1.2] make [ 2:19PM] g++ -Wall -O3 -c -o Matrix.o Matrix.cpp In file included from Matrix.hpp:25, from Matrix.cpp:22: cread.hpp:47:18: error: popt.h: No such file or directory In file included from Matrix.hpp:25, from Matrix.cpp:22: cread.hpp: In function ‘std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > cread::split(std::string, const char*, bool)’: cread.hpp:73: error: ‘strlen’ was not declared in this scope make: *** [Matrix.o] Error 1
also similar type of error i think so for another program ...
rajeshbiswas@rajeshbiswas-laptop[cread-0.84] make [ 2:23PM] make[1]: Entering directory `/home/rajeshbiswas/Desktop/motifcluster/cread-0.84/src' g++ -Wall -fPIC -O2 -c -o storm.o storm.cpp In file included from storm.cpp:22: cread.hpp:52:18: error: popt.h: No such file or directory In file included from storm.cpp:22: cread.hpp: In function ‘std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > cread::split(std::string, const char*, bool)’: cread.hpp:114: error: ‘strlen’ was not declared in this scope storm.cpp: At global scope: storm.cpp:953: error: ‘POPT_ARG_FLOAT’ was not declared in this scope storm.cpp:955: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:957: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:959: error: ‘POPT_ARG_INT’ was not declared in this scope storm.cpp:959: error: ‘POPT_ARGFLAG_SHOW_DEFAULT’ was not declared in this scope storm.cpp:961: error: ‘POPT_ARG_STRING’ was not declared in this scope storm.cpp:963: error: ‘POPT_ARG_STRING’ was not declared in this scope storm.cpp:965: error: ‘POPT_TABLEEND’ was not declared in this scope storm.cpp:966: error: elements of array ‘poptOption thresholdTable []’ have incomplete type storm.cpp:966: error: storage size of ‘thresholdTable’ isn't known storm.cpp:970: error: ‘POPT_ARG_STRING’ was not declared in this scope storm.cpp:972: error: ‘POPT_ARG_STRING’ was not declared in this scope storm.cpp:974: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:976: error: ‘POPT_ARG_INT’ was not declared in this scope storm.cpp:978: error: ‘POPT_ARG_INT’ was not declared in this scope storm.cpp:980: error: ‘POPT_ARG_STRING’ was not declared in this scope storm.cpp:982: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:984: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:986: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:988: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:990: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:992: error: ‘POPT_ARG_NONE’ was not declared in this scope storm.cpp:994: error: ‘POPT_ARG_STRING’ was not declared in this scope storm.cpp:996: error: ‘POPT_ARG_INCLUDE_TABLE’ was not declared in this scope storm.cpp:998: error: ‘POPT_TABLEEND’ was not declared in this scope storm.cpp:999: error: elements of array ‘poptOption optionsTable []’ have incomplete type storm.cpp:999: error: storage size of ‘optionsTable’ isn't known storm.cpp: In function ‘int main(int, const char**)’: storm.cpp:1004: error: ‘poptContext’ was not declared in this scope storm.cpp:1004: error: expected ‘;’ before ‘optCon’ storm.cpp:1005: error: ‘optCon’ was not declared in this scope storm.cpp:1005: error: ‘poptSetOtherOptionHelp’ was not declared in this scope storm.cpp:1007: error: ‘poptPrintHelp’ was not declared in this scope storm.cpp:1010: error: ‘poptGetNextOpt’ was not declared in this scope storm.cpp:1013: error: ‘POPT_BADOPTION_NOALIAS’ was not declared in this scope storm.cpp:1013: error: ‘poptBadOption’ was not declared in this scope storm.cpp:1014: error: ‘poptStrerror’ was not declared in this scope storm.cpp:1017: error: ‘poptPeekArg’ was not declared in this scope storm.cpp:1018: error: ‘poptPrintHelp’ was not declared in this scope storm.cpp:1021: error: ‘poptGetArg’ was not declared in this scope storm.cpp:1022: error: ‘poptPeekArg’ was not declared in this scope storm.cpp:1023: error: ‘poptGetArg’ was not declared in this scope storm.cpp:1026: error: ‘poptFreeContext’ was not declared in this scope storm.cpp: At global scope: storm.cpp:969: warning: ‘optionsTable’ defined but not used make[1]: *** [storm.o] Error 1 make[1]: Leaving directory `/home/rajeshbiswas/Desktop/motifcluster/cread-0.84/src' make: *** [all] Error 2
can anyone help me out ....plz
regards
Rajesh Biswas
|