|
KiTTY : ForumLast modification : - |
|
|
|---|---|---|
| Welcome / Recent changes / News / Forum / Download / Contacts | Edit | |
Make linker errors
KC - Sat 29/09/2012 18:45:00 CEST +0200
I have a fresh install of cygwin (basically just base with the gcc-mingw, gcc-mingw-g++, and make packages selected) and when I go to the kitty_src/0.62_My_PuTTY/WINDOWS dir and run "make -f MAKEFILE.MINGW putty.exe" I get the following. Is anyone else running into this? Any pointers?
Thank you! $ make -f MAKEFILE.MINGW putty.exe windres --define WIN32=1 --define _WIN32=1 --define WINVER=0x0400 -DPERSOPORT -DSCPORT -DFDJ1 ../windows/putty.rc putty.res.o gcc -mno-cygwin -Wall -O2 -D_WINDOWS -DWIN32S_COMPAT -DFDJ1 -DPERSOPORT -DCYGTERMPORT -DPUTTYCYG -DIMAGEPORT -DRECONNECTPORT -DSCPORT -DHYPERLINKPORT -DZMODEMPORT -D_NO_OLDNAMES -DNO_MULTIMON -DNO_HTMLHELP -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ -I../macosx -I../../sc -I../../url -D_WIN32_IE=0x0500 -DWINVER=0x0500 -D_WIN32_WINDOWS=0x0410 -D_WIN32_WINNT=0x0500 -c ../version.c g++ -mwindows -mno-cygwin -s -static-libgcc -o putty.exe -Wl,-Map,putty.map be_all_s.o \ cmdline.o config.o cproxy.o dialog.o ldisc.o ldiscucs.o \ logging.o minibidi.o misc.o pgssapi.o pinger.o portfwd.o \ proxy.o putty.res.o raw.o rlogin.o sercfg.o settings.o \ sizetip.o ssh.o sshaes.o ssharcf.o sshblowf.o sshbn.o \ sshcrc.o sshcrcda.o sshdes.o sshdh.o sshdss.o sshgssc.o \ sshmd5.o sshpubk.o sshrand.o sshrsa.o sshsh256.o sshsh512.o \ sshsha.o sshzlib.o telnet.o terminal.o timing.o tree234.o \ version.o wcwidth.o wildcard.o wincfg.o winctrls.o windefs.o \ windlg.o window.o wingss.o winhandl.o winhelp.o winjump.o \ winmisc.o winnet.o winnoise.o winpgntc.o winprint.o \ winproxy.o winser.o winstore.o wintime.o winucs.o winutils.o \ winx11.o x11fwd.o -ladvapi32 -lcomctl32 -lcomdlg32 -lgdi32 \ cygcfg.o cygterm.o sc.o winpzmodem.o \ kitty_commun.o kitty_crypt.o kitty_image.o kitty_registry.o kitty_tools.o kitty_win.o \ ../../url.a \ ../../bcrypt.a ../../libjpeg.a ../../libregex.a ../../m1-chat.a \ ../../MD5check.a ../../mini.a ../../notepad.a ../../base64.a \ -limm32 -lole32 -lshell32 -luser32 -lwinmm -lwinspool \ -ladvapi32 -lcomctl32 -lcomdlg32 -lgdi32 -limm32 \ -lwsock32 -lpsapi -lole32 ../../url.a(urlhack.o):urlhack.cpp:(.text+0x495): undefined reference to `__Unwind_Resume' ../../url.a(urlhack.o):urlhack.cpp:(.text+0x5d3): undefined reference to `__Unwind_Resume' ../../url.a(urlhack.o):urlhack.cpp:(.text+0x63d): undefined reference to `__Unwind_Resume' ../../url.a(urlhack.o):urlhack.cpp:(.text+0xa19): undefined reference to `__Unwind_Resume' ../../url.a(urlhack.o):urlhack.cpp:(.eh_frame+0x12): undefined reference to `___gxx_personality_v0' ../../url.a(regexp.o):regexp.cpp:(.eh_frame+0x11): undefined reference to `___gxx_personality_v0' collect2: ld returned 1 exit status MAKEFILE.MINGW:276: recipe for target `putty.exe' failed make: *** [putty.exe] Error 1 KC - Sun 30/09/2012 11:50:20 CEST +0200
Got it to work. I realized the items in ../../url weren't being compiled by the makefile, so I did a cd into that dir, ran make, and then we back to the WINDOWS dir and "make -f MAKEFILE.MINGW putty.exe" ran file. Thanks.
Answer |
||
|
Wiki utilisant PumaWiki 1.0, merci aux membres de la PuTTY Team 2026/06/17 04:33 -- en -- 216.73.217.18 -- |
||