g++ -c -g -O2 -Wall -Wuninitialized -Iinclude -Idrivers -I../mxml -Llinux/lib -DINCLUDE_FTPLIB -D_LARGEFILE64_SOURCE -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_ODBC -DHAVE_ZLIB -DOS_LINUX -fPIC -Wno-unused-function -o linux/lib/history_midas.o src/history_midas.cxx src/history_midas.cxx: In function 'WORD get_variable_id(DWORD, const char*, const char*)': src/history_midas.cxx:45: error: 'atoi' was not declared in this scope src/history_midas.cxx:47: warning: comparison between signed and unsigned integer expressions src/history_midas.cxx:55: error: 'strchr' was not declared in this scope src/history_midas.cxx:75: error: 'free' was not declared in this scope src/history_midas.cxx:81: error: 'free' was not declared in this scope src/history_midas.cxx: In function 'WORD get_variable_id_tags(const char*, const char*)': src/history_midas.cxx:119: error: 'atoi' was not declared in this scope src/history_midas.cxx:121: warning: comparison between signed and unsigned integer expressions src/history_midas.cxx:127: error: 'strchr' was not declared in this scope src/history_midas.cxx: In function 'void list_add(poor_mans_list*, const char*)': src/history_midas.cxx:182: error: 'strlen' was not declared in this scope src/history_midas.cxx:188: error: 'realloc' was not declared in this scope src/history_midas.cxx:193: error: 'memcpy' was not declared in this scope src/history_midas.cxx: In member function 'virtual int MidasHistory::hs_connect(const char*)': src/history_midas.cxx:284: error: 'memset' was not declared in this scope src/history_midas.cxx: In member function 'int MidasHistory::GetEventsFromOdbEvents(std::vector, std::allocator >, std::allocator, std::allocator > > >*)': src/history_midas.cxx:471: error: 'strchr' was not declared in this scope src/history_midas.cxx: In member function 'int MidasHistory::GetEventsFromOdbTags(std::vector, std::allocator >, std::allocator, std::allocator > > >*)': src/history_midas.cxx:531: error: 'strtoul' was not declared in this scope src/history_midas.cxx: In member function 'int MidasHistory::GetTagsFromHS(const char*, std::vector >*)': src/history_midas.cxx:778: error: 'free' was not declared in this scope src/history_midas.cxx: In member function 'int MidasHistory::GetTagsFromOdb(const char*, std::vector >*)': src/history_midas.cxx:820: error: 'atoi' was not declared in this scope src/history_midas.cxx:824: warning: comparison between signed and unsigned integer expressions src/history_midas.cxx:874: error: 'strchr' was not declared in this scope src/history_midas.cxx:903: error: 'strchr' was not declared in this scope src/history_midas.cxx: In member function 'virtual int MidasHistory::hs_read(time_t, time_t, time_t, int, const char**, const char**, const int*, int*, time_t**, double**, int*)': src/history_midas.cxx:975: error: 'malloc' was not declared in this scope src/history_midas.cxx:994: error: 'memset' was not declared in this scope src/history_midas.cxx:1006: error: 'realloc' was not declared in this scope src/history_midas.cxx:1016: error: 'malloc' was not declared in this scope src/history_midas.cxx:1070: error: 'free' was not declared in this scope src/history_midas.cxx:1072: error: 'free' was not declared in this scope make: *** [linux/lib/history_midas.o] Error 1