[Botan-devel] linking problem

Jack Lloyd lloyd at randombit.net
Tue Jun 26 10:33:43 EDT 2007

On Tue, Jun 26, 2007 at 04:22:50PM +0200, Eini wrote:
> C:\libs\include\botan/base.h(29) : warning C4290: C++ exception 
> specification ignored except to indicate a function is not 
> __declspec(nothrow)

These are just warning that Visual Studio doesn't fully implement the
standard, but it's fairly harmless in this case.

> Linking...
> libbotan.lib(big_ops2.obj) : error LNK2001: unresolved external symbol 
> @__security_check_cookie at 4

It appears that you either need to get a new version of the SDK, or
explicitly request a link against 'bufferoverflow.lib'. According to
MSDN, some versions of Visual Studio enable cookie checking for buffer
overflows by default, and there doesn't (seem) to be any way to
disable that. More information @ http://support.microsoft.com/kb/894573


More information about the botan-devel mailing list