Thanks, Kai! This way solves the problem.

But it's strange... The latest build I made on the same windows.
Perhaps since then some updates have been installed, which replaced
the msvcrt.dll. So what now? - in the next update some other exported
functions may be removed? But what about backward compatibility? I am
new to windows and to everything that is associated with it, that's
why I do not understand why it was needed to remove the vsnprintf...

Thoughts aloud...

Regards.


2011/12/24 Kai Tietz <[email protected]>:
> 2011/12/23 niXman <[email protected]>:
>> OS: WinXP Professional, version 2002, service pack 3.
>> msvcrt.dll: 7.0.2600.5512
>>
>>>dumpbin /EXPORTS ....\msvcrt.dll:
>>        801  320 000320CF vfprintf
>>        802  321 00032131 vfwprintf
>>        803  322 00032193 vprintf
>>        804  323 0002FE49 vsprintf
>>        805  324 0002FEDE vswprintf
>>        806  325 000321F7 vwprintf
>>
>> ...
>> ....
>>
>>        542  21D 0002FEA7 _vscprintf
>>        543  21E 0002FF53 _vscwprintf
>>        544  21F 0002FF8A _vsnprintf
>>        545  220 0002FFE7 _vsnwprintf
>>
>>
>> 2011/12/24 Kai Tietz <[email protected]>:
>>> 2011/12/23 niXman <[email protected]>:
>>>> Rebuild. The error is the same...
>>>>
>>>> mingw-w64-headers: rev 4705
>>>> mingw-w64-crt: rev 4705
>>>>
>>>> Any ideas?
>>>>
>>>> Thanks.
>>>
>>> Hmm, I have tested your issue with current trunk version and using gcc
>>> 4.7.x toolchain.  For this, I didn't get this failure.  The
>>> interesting issue here seems to me that your msvcrt version doesn't
>>> have vsnprintf export.  What leads me to my question.  What Windows
>>> version you are using, and what msvcrt version you have here?
>>>
>>> Regards,
>>> Kai
>
> Hmm, you can try the following change. In crt's source tree for
> lib32/msvcrt.def and lib64/msvcrt.def you can change line
> 'msvcrt.def:vsnprintf DATA' to 'msvcrt.def:vsnprintf == _vsnprintf
> DATA'.  You need then to rebuild crt (well, actually only the
> import-libraries), and install it.
> This should solve you problem, here.
>
> Kai
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to