« Return to Thread: SSH problems

SSH problems

by Mathias Spoerr :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Can nobody help me?

 

Thanks,

mspoerr

 

Von: Mathias Spoerr [mailto:mathias@...]
Gesendet: Dienstag, 23. Juni 2009 17:41
An: 'cryptlib@...'
Betreff: SSH problems

 

Hello,

 

I have some more problems. This time with SSH:

 

1) When I do a static build of cryptlib and link it to my application, I get the following linker errors:

LNK2019: unresolved external symbol, but only for SSH, there are no unresolved SSL symbols it seems.

The only thing I changed was the “Configuration type” option in Visual Studio Project settings from “dynamic library (.dll) “ to “static library (.lib)”. Are there more changes needed?

 

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptInit@0" in Funktion ""public: bool __thiscall Verbinder::sshInit(void)" (?sshInit@Verbinder@@QAE_NXZ)".

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptFlushData@4" in Funktion "__catch$?sshVerbindung@Verbinder@@QAEIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIV?$deque@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@3@@Z$0".

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptPushData@16" in Funktion "__catch$?sshVerbindung@Verbinder@@QAEIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIV?$deque@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@3@@Z$0".

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptPopData@16" in Funktion "__catch$?sshVerbindung@Verbinder@@QAEIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIV?$deque@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@3@@Z$0".

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptDestroySession@4" in Funktion "__catch$?sshVerbindung@Verbinder@@QAEIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIV?$deque@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@3@@Z$0".

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptSetAttribute@12" in Funktion "__catch$?sshVerbindung@Verbinder@@QAEIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIV?$deque@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@3@@Z$0".

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptSetAttributeString@16" in Funktion "__catch$?sshVerbindung@Verbinder@@QAEIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIV?$deque@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@3@@Z$0".

1>class_verbinder.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__cryptCreateSession@12" in Funktion "__catch$?sshVerbindung@Verbinder@@QAEIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIV?$deque@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@3@@Z$0".

1>Debug/wktools4.exe : fatal error LNK1120: 8 nicht aufgelöste externe Verweise.

 

2) SSHv1 does not work at all

When building cryptlib with SSHv1, I get lots of compiler errors. I know, SSHv1 is unsecure and it shouldn’t be used, but there are still devices out there with only SSHv1 support.

 

Regards,

mspoerr


_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

 « Return to Thread: SSH problems