|
KiTTY : ForumLast modification : - |
|
|
|---|---|---|
| Welcome / Recent changes / News / Forum / Download / Contacts | Edit | |
can't build portable pageant
areafix - Mon 01/11/2010 19:42:27 CET +0100
Hi,
I dont know C but =) , I try to compile Kitty from sources, to define PORTABLE for pageant. Kitty has compiled perfectly, but with with pageant some troubles. First error i repair, its In file included from ../windows/winpgnt.c:49:0: ../windows/../../kitty_crypt.c: In function 'GenerePrivateKey': ../windows/../../kitty_crypt.c:17:25: error: 'MASTER_PASSWORD' undeclared (first use in this function) ../windows/../../kitty_crypt.c:17:25: note: each undeclared identifier is reported only once for each function it appears i ../windows/winpgnt.c: In function 'answer_msg': ../windows/winpgnt.c:1268:8: warning: pointer targets in passing argument 6 of 'sc_sig' differ in signedness sc/sc.h:78:19: note: expected 'char *' but argument is of type 'unsigned char *' ../windows/winpgnt.c:1278:6: warning: pointer targets in passing argument 2 of 'key->alg->sign' differ in signedness ../windows/winpgnt.c:1278:6: note: expected 'char *' but argument is of type 'unsigned char *' ../windows/winpgnt.c:1388:10: warning: pointer targets in assignment differ in signedness make: *** [winpgnt.o] Error 1 I dont know , why masterpassword.txt did not want to include, i just define manually MASTER_PASSWORD in all files =) But with next error, i failed winpgnt.o:winpgnt.c:(.text+0x2778): undefined reference to `sc_sig' winpgnt.o:winpgnt.c:(.text+0x373b): undefined reference to `bcrypt_string_base64' winpgnt.o:winpgnt.c:(.text+0x3774): undefined reference to `buncrypt_string_base64' winpgnt.o:winpgnt.c:(.text+0x3cd5): undefined reference to `readINI' winpgnt.o:winpgnt.c:(.text+0x3d7e): undefined reference to `readINI' winpgnt.o:winpgnt.c:(.text+0x3e02): undefined reference to `readINI' winpgnt.o:winpgnt.c:(.text+0x3ee6): undefined reference to `readINI' winpgnt.o:winpgnt.c:(.text+0x49f7): undefined reference to `read_setting_s' winpgnt.o:winpgnt.c:(.text+0x4a35): undefined reference to `read_setting_filename' winpgnt.o:winpgnt.c:(.text+0x4a58): undefined reference to `read_setting_s' winpgnt.o:winpgnt.c:(.text+0x4a93): undefined reference to `sc_init_library' winpgnt.o:winpgnt.c:(.text+0x4ad2): undefined reference to `sc_get_pub' winpgnt.o:winpgnt.c:(.text+0x4ae3): undefined reference to `sc_free_sclib' collect2: ld returned 1 exit status make: *** [pageant.exe] Error 1 I just can guess what's going on here =) It seems that the program is already compiled, but cant link all pieces to one exe, or wtf ) All that i do from w7x64 os , with latest mingw, his msys.bat env, just make -f MAKEFILE.MINGW pageant.exe Cyd - Tue 02/11/2010 16:59:57 CET +0100
Usually I use normal Pageant.
I included recent changes to Pageant source file. It will be online with next version. Cyd areafix - Tue 09/11/2010 23:09:34 CET +0100
Thanks for update!
But anyway, I could not make the pageant to take saved sessions from /Sessions directory even if manually set in winpgnt.c static int IniFileFlag = SAVEMODE_DIR ; static int DirectoryBrowseFlag = 1 ; IsPortableMode() ; without any IF Leo - Tue 09/11/2010 23:15:00 CET +0100
Normal
Pageant is not portable at all. We recomand to use the session launcher instead of the pageant menu. Original Pageant should only be used for private key authentication. Answer |
||
|
Wiki utilisant PumaWiki 1.0, merci aux membres de la PuTTY Team 2026/06/21 22:50 -- en -- 216.73.217.18 -- |
||