Jyotin@PC3-HP ~ $ cd /c/tango_root Jyotin@PC3-HP /c/tango_root $ cd hdb++/ Jyotin@PC3-HP /c/tango_root/hdb++ $ ls Make-8.1.2.c.in Make-hdb++.in Makefile README doc etc gui hdb++cm hdb++es hdbextractor libhdb++ libhdb++cassandra libhdb++mysql libhdbmysql Jyotin@PC3-HP /c/tango_root/hdb++ $ make cd libhdb++mysql/trunk ; make make[1]: Entering directory `/c/tango_root/hdb++/libhdb++mysql/trunk' g++ -std=gnu++98 -D_USE_FERMI_DB_RW -Wall -DRELEASE='"eadURL: http://svn.code.sf.net/p/tango-cs/code/archiving/hdb++/libhdb++mysql/trunk/Makefile "' -I/c/tango_root/MySQL/include -I/c/tango_root/tango/win64/include/ vc10 -I/c/tango_root/tango/win64/include/vc10/omniORB4 -I../../libhdb++/trunk/src -fPIC -c src/LibHdb++MySQL.cpp -o obj/LibHdb++MySQL.o src/LibHdb++MySQL.cpp:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] //============================================================================= ^ In file included from c:/tango_root/tango/win64/include/vc10/tango.h:50:0, from ../../libhdb++/trunk/src/LibHdb++.h:32, from src/LibHdb++MySQL.h:24, from src/LibHdb++MySQL.cpp:23: c:/tango_root/tango/win64/include/vc10/tango_config.h:66:0: warning: "__WIN32__" redefined [enabled by default] #define __WIN32__ ^ src/LibHdb++MySQL.cpp:1:0: note: this is the location of the previous definition //============================================================================= ^ In file included from c:/tango_root/tango/win64/include/vc10/tango.h:50:0, from ../../libhdb++/trunk/src/LibHdb++.h:32, from src/LibHdb++MySQL.h:24, from src/LibHdb++MySQL.cpp:23: c:/tango_root/tango/win64/include/vc10/tango_config.h:187:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4355) ^ c:/tango_root/tango/win64/include/vc10/tango_config.h:188:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4715) ^ c:/tango_root/tango/win64/include/vc10/tango_config.h:189:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4786) ^ In file included from src/LibHdb++MySQL.h:23:0, from src/LibHdb++MySQL.cpp:23: c:/tango_root/MySQL/include/mysql.h:64:19: error: 'SOCKET' does not name a type #define my_socket SOCKET ^ c:/tango_root/MySQL/include/mysql_com.h:291:3: note: in expansion of macro 'my_socket' my_socket fd; /* For Perl DBI/dbd */ ^ c:/tango_root/MySQL/include/mysql.h:64:19: error: 'SOCKET' was not declared in this scope #define my_socket SOCKET ^ c:/tango_root/MySQL/include/mysql_com.h:470:16: note: in expansion of macro 'my_socket' int my_connect(my_socket s, const struct sockaddr *name, unsigned int namelen, ^ In file included from c:/tango_root/MySQL/include/mysql.h:72:0, from src/LibHdb++MySQL.h:23, from src/LibHdb++MySQL.cpp:23: c:/tango_root/MySQL/include/mysql_com.h:470:29: error: expected primary-expression before 'const' int my_connect(my_socket s, const struct sockaddr *name, unsigned int namelen, ^ c:/tango_root/MySQL/include/mysql_com.h:470:58: error: expected primary-expression before 'unsigned' int my_connect(my_socket s, const struct sockaddr *name, unsigned int namelen, ^ c:/tango_root/MySQL/include/mysql_com.h:471:9: error: expected primary-expression before 'unsigned' unsigned int timeout); ^ c:/tango_root/MySQL/include/mysql_com.h:471:29: error: expression list treated as compound expression in initializer [-fpermissive] unsigned int timeout); ^ In file included from c:/tango_root/tango/win64/include/vc10/omniORB4/CORBA.h:515:0, from c:/tango_root/tango/win64/include/vc10/idl/tango.h:28, from c:/tango_root/tango/win64/include/vc10/tango.h:56, from ../../libhdb++/trunk/src/LibHdb++.h:32, from src/LibHdb++MySQL.h:24, from src/LibHdb++MySQL.cpp:23: c:/tango_root/tango/win64/include/vc10/omniORB4/dynAny.h:167:47: error: 'CORBA::LongDoubleSeq' has not been declared virtual void insert_longdouble_seq(CORBA::LongDoubleSeq& value) = 0; ^ c:/tango_root/tango/win64/include/vc10/omniORB4/dynAny.h:187:13: error: 'LongDoubleSeq' in namespace 'CORBA' does not name a type virtual CORBA::LongDoubleSeq* get_longdouble_seq() = 0; ^ In file included from c:/tango_root/tango/win64/include/vc10/tango.h:127:0, from ../../libhdb++/trunk/src/LibHdb++.h:32, from src/LibHdb++MySQL.h:24, from src/LibHdb++MySQL.cpp:23: c:/tango_root/tango/win64/include/vc10/command.h: In member function 'void Tango::TemplCommandInOut::init_types()': c:/tango_root/tango/win64/include/vc10/command.h:2232:23: error: must #include before using typeid set_type(typeid(INARG),in_type); ^ c:/tango_root/tango/win64/include/vc10/command.h:2238:24: error: must #include before using typeid set_type(typeid(OUTARG),out_type); ^ c:/tango_root/tango/win64/include/vc10/command.h: In member function 'void Tango::TemplCommandIn::init_types()': c:/tango_root/tango/win64/include/vc10/command.h:2903:23: error: must #include before using typeid set_type(typeid(INARG),in_type); ^ c:/tango_root/tango/win64/include/vc10/command.h: In member function 'void Tango::TemplCommandOut::init_types()': c:/tango_root/tango/win64/include/vc10/command.h:3554:24: error: must #include before using typeid set_type(typeid(OUTARG),out_type); ^ src/LibHdb++MySQL.cpp: In member function 'std::string HdbPPMySQL::add_domain(std::string)': src/LibHdb++MySQL.cpp:1980:58: error: 'getaddrinfo' was not declared in this scope int ret = getaddrinfo(th.c_str(), NULL, &hints, &result); ^ src/LibHdb++MySQL.cpp:1992:22: error: 'freeaddrinfo' was not declared in this scope freeaddrinfo(result); // all done with this structure ^ make[1]: *** [obj/LibHdb++MySQL.o] Error 1 make[1]: Leaving directory `/c/tango_root/hdb++/libhdb++mysql/trunk' make: *** [trunk] Error 2 Jyotin@PC3-HP /c/tango_root/hdb++ $