Re: Can't compile nightly build with VC6

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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 
[email protected]> 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 <[email protected]>:
>> 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
>> [email protected]
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.