[botan-devel] Error During make (can't build Botan)

Brad Tilley brad at 16systems.com
Fri Dec 2 09:52:16 EST 2011


> On Fri, Dec 02, 2011 at 09:14:43AM -0500, Brad Tilley wrote:
>
>> Thank you. I applied the patch. The reinterpret_cast fixed it. make gets
>> father along now, but fails here:
>>
>> src\utils\time.cpp: In function 'tm
>> Botan::<unnamed>::do_gmtime(time_t)':
>> src\utils\time.cpp:55:27: error: 'gmtime_s' was not declared in this
>> scope
>> make: *** [build\lib\utils_time.obj] Error 1
>
> As is might be obvious by now, GCC on Windows isn't a well tested build.
> Can you try the attached patch?
>
> -Jack


No problem. I'm willing to apply and test patches on mingw as long as
you're willing to send them. I applied the one you just sent to time.cpp.
Slightly different error now:

src\utils\time.cpp: In function 'tm Botan::<unnamed>::do_gmtime(time_t)':
src\utils\time.cpp:61:4: error: '::gmtime_s' has not been declared
make: *** [build\lib\utils_time.obj] Error 1





More information about the botan-devel mailing list