[Botan-devel] compiling botan on cygwin linking with windows libraries instead cygwin
Brought to you by:
randombit
|
From: Anthony C. <ag...@sa...> - 2004-05-20 23:27:11
|
I don't want my program to have the dependence on cygwin so I tried compiling using these configurations: ./configure.pl gcc-cygwin-i586 --noauto --modules=tm_hard ./configure.pl gcc-cygwin-i586 --noauto --modules=es_capi,es_win32,tm_hard ./configure.pl gcc-cygwin-i586 --noauto --modules=es_capi,tm_hard Botan compiles but my program seg faults. Here is log of running my test program in gdb: (gdb) run Starting program: /home/Administrator/test.exe ************* Begin testing ************* CryptoLib object count (should be 0): 0 Program received signal SIGSEGV, Segmentation fault. 0x005670a2 in std::locale::operator=(std::locale const&) () (gdb) where #0 0x005670a2 in std::locale::operator=(std::locale const&) () #1 0x00563c8d in std::ios_base::_M_init() () #2 0x005e0ea9 in std::basic_ios<char, std::char_traits<char> >::init(std::basic _streambuf<char, std::char_traits<char> >*) () #3 0x004a4fff in Botan::File_EntropySource::slow_poll(unsigned char*, unsigned) () (gdb) quit The program is running. Exit anyway? (y or n) y Any suggestions? It would also be nice if I could use |