Skip to Content.
Sympa Menu

freetds - Re: [freetds] Can't compile nightly build with VC6

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Can't compile nightly build with VC6
  • Date: Sat, 23 Oct 2010 07:49:35 +0200

Could you post warnings you get from vc? Probably there is a missing declaration. Try also to remove the "Pointer" from call.

freddy77

Il giorno 23/ott/2010, alle ore 06.55, Михаил Гаврилов <mi khail.v.gavrilov AT gmail.com> ha scritto:

Thanks!
Now dblib.lib compiled successfull.
But a can't link to php_pdo_dblib.dll
linking log below.

Creating library D:\php-sdk\php53dev\vc6\x86\obj\Release\php_dblib.lib
and object D:\php-sdk\php53dev\vc6\x86\obj\Release\php_dblib.exp
dblib.lib(win_mutex.obj) : error LNK2001: unresolved external symbol
_InterlockedCompareExchangePointer
dblib.lib(win_mutex.obj) : error LNK2001: unresolved external symbol
_InterlockedExchangePointer
D:\php-sdk\php53dev\vc6\x86\obj\Release\php_dblib.dll : fatal error
LNK1120: 2 unresolved externals NMAKE : fatal error U1077: '"cl.exe"'
: return code '0x2'
Stop.



--
Best Regards,
Mike Gavrilov.



2010/10/22 Frediano Ziglio <freddy77 AT gmail.com>:
You should fix this problem inserting this line

#define FreeCredentialHandle FreeCredentialsHandle

before including any header (for instance at first line).
Older headers wrongly use FreeCredentialHandle instead of FreeCredentialsHandle.

freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page