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: Михаил Гаврилов <mikhail.v.gavrilov 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 10:55:12 +0600

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
>




Archive powered by MHonArc 2.6.24.

Top of Page