Re: Compiling db-lib using Visual C++ 2005 Express
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAHt6W4fcEEDjOQQtxd=0VquzrqCUZUd0MkHZRoRP9pYo4AZ-qQ@mail.gmail.com> |
Sure! Frediano 2014-04-03 9:41 GMT+01:00 LacaK <[email protected]>: > I have resolved these errors. > I have added > - socketpair.c to "replacements" > - #define HAVE_GETADDRINFO 1 in win32/config.h > - add define _WIN32_WINNT=0x0400 to "replacements" > Is it okay? > If I prepare patch for VS C++ project files, do you will accept them ? > Thanks > -Laco. > > >> Hi, >> I am trying compile dblib.dll using Microsoft Visual C++ 2005 Express >> I use freetds-master/FreeTDS.sln as starting point (after time I have >> added some missing files) >> But I still can not resolve these errors: >> tds.lib(mem.obj) : error LNK2001: unresolved external symbol >> _tds_freeaddrinfo >> tds.lib(config.obj) : error LNK2001: unresolved external symbol >> _tds_freeaddrinfo >> tds.lib(mem.obj) : error LNK2001: unresolved external symbol >> _tds_socketpair >> tds.lib(config.obj) : error LNK2001: unresolved external symbol >> _tds_getaddrinfo >> tds.lib(net.obj) : error LNK2001: unresolved external symbol >> _tds_getnameinfo >> replacements.lib(win_mutex.obj) : error LNK2001: unresolved external >> symbol _TryEnterCriticalSection >> Any suggestions? >> Thanks >> -Laco. >> _______________________________________________ >> FreeTDS mailing list >> [email protected] >> http://lists.ibiblio.org/mailman/listinfo/freetds >> > > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds