« Return to Thread: 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
« Return to Thread: SSH problems
| Free embeddable forum powered by Nabble | Forum Help |