[botan-devel] Compiling Problems on Botan 1.1.0 on Qt SDK

Stephan Jauernick info at stephan-jauernick.de
Mon Dec 19 17:23:41 EST 2011


Hi,

I didnt enable openssl, i got the error after tons of warnings:
src\utils\parsing.cpp:1: warning: -fPIC ignored for target (all code is 
position
  independent)
src\utils\parsing.cpp:291: warning: visibility attribute not supported 
in this c
onfiguration; ignored
src\utils\parsing.cpp:291: warning: visibility attribute not supported 
in this c
onfiguration; ignored
src\utils\parsing.cpp:291: warning: visibility attribute not supported 
in this c
onfiguration; ignored
src\utils\parsing.cpp:291: warning: visibility attribute not supported 
in this c
onfiguration; ignored
src\utils\parsing.cpp:291: warning: visibility attribute not supported 
in this c
onfiguration; ignored
g++ -Ibuild\include -O3 -finline-functions  -D_REENTRANT -Wno-long-long 
-fpermis
sive -W -Wall -fPIC -fvisibility=hidden -c src\utils\time.cpp -o 
build\lib\utils
_time.obj
src\utils\time.cpp:1: warning: -fPIC ignored for target (all code is 
position in
dependent)
src\utils\time.cpp: In function 'tm Botan::<unnamed>::do_gmtime(time_t)':
src\utils\time.cpp:55: error: 'gmtime_s' was not declared in this scope
mingw32-make: *** [build\lib\utils_time.obj] Error 1



Am 19.12.2011 23:08, schrieb Stephan Jauernick:
> Hi,
>
> I am trying to compile the current botan stable with a qt sdk mingw(4.4
> on qt 4.7.4).
>
> src\utils\time.cpp: In function 'tm Botan::<unnamed>::do_gmtime(time_t)':
> src\utils\time.cpp:55: error: 'gmtime_s' was not declared in this scope
> mingw32-make: *** [build\lib\utils_time.obj] Error 1
>
> My OS is an Windows 7 Prof 64 Bit but i set botan to an x86_32 cpu.
>
> Any Idea how to resolve this?
>
> Sincerely,
> Stephan
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel




More information about the botan-devel mailing list