[Botan-devel] Error building on windows

Jack Lloyd lloyd at randombit.net
Wed May 25 13:21:46 EDT 2005


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>
compile?

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.

-J

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
> 
> Chris
> 
> Details:
> 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 
> build\lib\adler32.obj
> In file included from 
> d:/opt/chinook/toolchain/gcc/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/bits/postypes.h:46,
>                 from 
> d:/opt/chinook/toolchain/gcc/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/iosfwd:50,
>                 from 
> d:/opt/chinook/toolchain/gcc/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/bits/stl_algobase.h:70,
>                 from 
> d:/opt/chinook/toolchain/gcc/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/bits/char_traits.h:46,
>                 from 
> d:/opt/chinook/toolchain/gcc/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/string:47,
>                 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:
> d:/opt/chinook/toolchain/gcc/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/cwchar:182: 
> 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
> http://www.randombit.net/mailman/listinfo/botan-devel



More information about the botan-devel mailing list