NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Break with - bad reloc address 0x0 in section .pdata



from Maurizio Caloro:

> with DEV C++ on me Windows 7 64Bit System
> i dont see why it break, for any help i'am happy !
> Mauri
        
> _Putty_
> windres.exe -i putty_private.rc --input-format=rc -o putty_private.res
> -O coff  --include-dir ../../../WINDOWS
> g++.exe ../../../be_all_s.o ../../../cmdline.o ../../../conf.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 ../../../raw.o ../../../rlogin.o ../../../sercfg.o
> ../../../settings.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 ../../sizetip.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
> putty_private.res -o PUTTY.exe -L"C:/c/Dev-Cpp/MinGW64/lib"
> -L"C:/c/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc -mwindows
> -ladvapi32 -lcomctl32 -lcomdlg32 -lgdi32 -limm32 -lshell32 -luser32
> -lwinmm -lwinspool../../window.o:window.c:(.text+0x65d): undefined
> reference to `__imp_CoInitialize'
> ../../window.o:window.c:(.text+0x1cb4): undefined reference to
> `__imp_CoUninitialize'
> c:/c/dev-cpp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe:
> ../../window.o: bad reloc address 0x0 in section `.pdata'
> collect2.exe: error: ld returned 1 exit status

> C:\Temp\PuttySource\WINDOWS\DEVCPP\PUTTY\Makefile.win:26: recipe for
> target 'PUTTY.exe' failed
> mingw32-make.exe: *** [PUTTY.exe] Error 1

> Compilation failed after 23.48 seconds with errors

It looks like you are in MS-Windows and not NetBSD, so this message looks 
strange on netbsd-users list.

But if you were using pkgsrc, then pkgsrc-users%netbsd.org@localhost would be 
appropriate list.

MinGW is one of many platforms that NetBSD pkgsrc has been ported to.        

Tom



Home | Main Index | Thread Index | Old Index