[Botan-devel] Error building on windows

Chris Garrett cgarrett at degarrah.com
Wed May 25 13:51:44 EDT 2005

Hi Jack,

I tried a simple project with <string> and it works. This is the first I 
have seen of this error. I will look thru the source this afternoon and 
see if I can find what exactly is going on. I thought I would post here 
first in case it was a known problem. I have also built botan on linux 
using GCC 3.4.1. I know there can be significant differences between 
lin/win but I thought I would mention it anyway.

BTW, I succesfully build on Mac with the dumb-gcc flag. It works well. I 
really appreciate that you respond to the newsgroup so quickly. I have 
been using crypto++ for three or four months and have had some problems 
with platform support. I have posted on their list serveral times and 
received no response at all. This is a nice change.....

Thank you


Jack Lloyd wrote:

>Hmm. This looks a lot like a toolchain problem, since the errors are happening
>inside a standard header. Does a simple stub main() that include <string>
>There is a GCC bug (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15065) that may
>be related, but that is about wcsftime not being found during GCC's bootstrap.
>On Wed, May 25, 2005 at 10:57:38AM -0600, Chris Garrett wrote:
>>Hi, I tried building on windows and got this error.
>>Thank you
>>Botan 1.4.6
>>WinXP, GCC 3.4.1, Msys
>>perl configure.pl gcc-windows-i586
>>build log:
>>g++ -Ibuild/include -O2 -finline-functions -march=i586 -D_REENTRANT 
>>-ansi -Wno-long-long -fpermissive -W -Wall -c src\adler32.cpp -o 
>>In file included from 
>>                from 
>>                from 
>>                from 
>>                from 
>>                from build/include/botan/exceptn.h:11,
>>                from build/include/botan/base.h:10,
>>                from build/include/botan/adler32.h:9,
>>                from src\adler32.cpp:6:
>>error: `::wcsftime' has not been declared
>>d:\opt\chinook\toolchain\gcc\bin\make.exe: *** [build\lib\adler32.obj] 
>>Error 1
>>botan-devel mailing list
>>botan-devel at randombit.net
>botan-devel mailing list
>botan-devel at randombit.net

More information about the botan-devel mailing list