FWH 12.03 Mingw gcc linking errors
Posted: Fri Apr 13, 2012 1:01 pm
Hi,
Just tried linking with the new libs, and got the following:
/fwh.2012-03/lib/fivehg.lib(GETTASKS.o):GETTASKS.c:(.text+0x180): undefined reference to `GetModuleFileNameExA@16'
/fwh.2012-03/lib/fivehgc.lib(C5CNEW.o):C5CNEW.C:(.text+0x63bd): undefined reference to `__chkstk_ms'
/fwh.2012-03/lib/fivehgc.lib(PROFILE.o):PROFILE.C:(.text+0x5d): undefined reference to `__chkstk_ms'
/fwh.2012-03/lib/fivehgc.lib(PROFILE.o):PROFILE.C:(.text+0x177): undefined reference to `__chkstk_ms'
/fwh.2012-03/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0xa5c): undefined reference to `OleUIPasteSpecialA@4'
/dev/qcc/libhqcc.a(QMAPI.o):QMAPI.c:(.data+0x3a8): undefined reference to `HB_FUN_MAPISENDMAIL'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xc0): undefined reference to `operator new(unsigned int)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0x1a1): undefined reference to `operator delete[](void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xaa9): undefined reference to `operator new[](unsigned int)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xd7c): undefined reference to `operator new(unsigned int)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xdfe): undefined reference to `operator delete(void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text$_ZN13TActiveXEvent7ReleaseEv+0x27): undefined reference to `operator delete(void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text$_ZN8TActiveX7ReleaseEv+0x38): undefined reference to `operator delete(void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x8): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0xc): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x10): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x14): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x18): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x1c): more undefined references to `__cxa_pure_virtual' follow
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI8TActiveX[typeinfo for TActiveX]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI13TActiveXEvent[typeinfo for TActiveXEvent]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI15IOleControlSite[typeinfo for IOleControlSite]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI15IOleInPlaceSite[typeinfo for IOleInPlaceSite]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI16IOleInPlaceFrame[typeinfo for IOleInPlaceFrame]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI19IOleInPlaceUIWindow[typeinfo for IOleInPlaceUIWindow]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI10IOleWindow[typeinfo for IOleWindow]+0x0): more undefined references to `vtable for __cxxabiv1::__si_class_type_info' follow
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI8IUnknown[typeinfo for IUnknown]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.eh_frame+0x2b7): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
c:\hb30\comp\mingw\bin\gcc.exe .hbmk/win/mingw/QSTART.o .hbmk/win/mingw/qChv.o .hbmk/win/mingw/QVWGM.o .hbmk/win/mingw/QEDGM.o .hbmk/win/mingw/qDbDef.o .hbmk/win/mingw/qEditVoucher.o .hbmk/win/mingw/VIEWVCHR.o .hbmk/win/mingw/VCHPRINT.o .hbmk/win/mingw/QVCHPR2.o .hbmk/win/mingw/qEdDivision.o .hbmk/win/mingw/qPreFill.o .hbmk/win/mingw/qVwDivisions.o .hbmk/win/mingw/QEDDT.o .hbmk/win/mingw/QEDClntRef.o .hbmk/win/mingw/QEDCONS.o .hbmk/win/mingw/qeddtgrp.o .hbmk/win/mingw/QEDDTINS.o .hbmk/win/mingw/QEDDTPAX.o .hbmk/win/mingw/QEDINS.o .hbmk/win/mingw/QEDPAY.o .hbmk/win/mingw/QEDRANGE.o .hbmk/win/mingw/QEDSCAR.o .hbmk/win/mingw/QEDSOFFC.o .hbmk/win/mingw/QEDSRATE.o .hbmk/win/mingw/qFdImp.o .hbmk/win/mingw/QINVOICE.o .hbmk/win/mingw/QMEND.o .hbmk/win/mingw/qguimypref.o .hbmk/win/mingw/QMYPREF.o .hbmk/win/mingw/qguisyspref.o .hbmk/win/mingw/qsyspref.o .hbmk/win/mingw/QVCHNOTE.o .hbmk/win/mingw/qvchsend.o .hbmk/win/mingw/QVERIFY.o .hbmk/win/mingw/qDataDef.o .hbmk/win/mingw/qGuiVoucher.o .hbmk/win/mingw/qVoucher.o .hbmk/win/mingw/QVWCONS.o .hbmk/win/mingw/qvwsupp.o .hbmk/win/mingw/QEDSUPP.o .hbmk/win/mingw/QVWDTGRP.o .hbmk/win/mingw/QVWINS.o .hbmk/win/mingw/QVWPAY.o .hbmk/win/mingw/QVWRANGE.o .hbmk/win/mingw/VIEWVCH2.o .hbmk/win/mingw/QQRYRNG.o .hbmk/win/mingw/qqryvch.o .hbmk/win/mingw/qVwDebtors.o .hbmk/win/mingw/QEDDTCRD.o .hbmk/win/mingw/qImportVoucher.o .hbmk/win/mingw/qImportChvPnr.o .hbmk/win/mingw/qConvertCtCards.o .hbmk/win/mingw/qAddVoucherNos.o .hbmk/win/mingw/qVoucherUpload.o .hbmk/win/mingw/qchvpipe.o .hbmk/win/mingw/QRemote.o .hbmk/win/mingw/QVwRemote.o .hbmk/win/mingw/qEdRemote.o .hbmk/win/mingw/TMUTEX.o .hbmk/win/mingw/IMAGE3.o .hbmk/win/mingw/qqfdtool.o .hbmk/win/mingw/qamadair.o .hbmk/win/mingw/adscallback.o .hbmk/win/mingw/_hbmkaut_QSTART.o -mwindows -Wl,--start-group -lfivehg -lfivehgc -lace32 -lrddads -lxhb -lhbct -lhbmzip -lminizip -lminilzo -lhbziparc -llzf -lhbtip -lrddbm -lhbwin -lversion -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib /devmast/qcn/libhqfdgdscopy.a /dev/chv/libhwtidocedit.a /dev/custdocedit/libcustdocedit.a /dev/iur/libhiur.a /dev/tair/libhtair.a /dev/mir/libhmir.a /dev/qcc/libhqcc.a /dev/qcf/libhqcf.a /dev/lck/libhlck.a /dev/qry/libhqry.a /dev/qrp/libhqrp.a /dev/brw/libhbrw.a /dev/tree32/libhtree32.a /dev/tsbutton/libhtsbutton.a /dev/sms/libhqsms.a /dev/freeimage/dist/FreeImage.lib /dev/ssce/sdk/lib/ssce5532.lib "/openssl-win32/lib/libeay32.lib" "/openssl-win32/lib/ssleay32.lib" /xhb/c_lib/win/lz32.lib -Wl,--end-group -s -ochv32.exe -Lc:/hb30/lib/win/mingw -Lc:/hb30/bin -L"/fwh.2012-03/lib"
I guess I'm missing something but have no idea what?
Just tried linking with the new libs, and got the following:
/fwh.2012-03/lib/fivehg.lib(GETTASKS.o):GETTASKS.c:(.text+0x180): undefined reference to `GetModuleFileNameExA@16'
/fwh.2012-03/lib/fivehgc.lib(C5CNEW.o):C5CNEW.C:(.text+0x63bd): undefined reference to `__chkstk_ms'
/fwh.2012-03/lib/fivehgc.lib(PROFILE.o):PROFILE.C:(.text+0x5d): undefined reference to `__chkstk_ms'
/fwh.2012-03/lib/fivehgc.lib(PROFILE.o):PROFILE.C:(.text+0x177): undefined reference to `__chkstk_ms'
/fwh.2012-03/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0xa5c): undefined reference to `OleUIPasteSpecialA@4'
/dev/qcc/libhqcc.a(QMAPI.o):QMAPI.c:(.data+0x3a8): undefined reference to `HB_FUN_MAPISENDMAIL'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xc0): undefined reference to `operator new(unsigned int)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0x1a1): undefined reference to `operator delete[](void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xaa9): undefined reference to `operator new[](unsigned int)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xd7c): undefined reference to `operator new(unsigned int)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xdfe): undefined reference to `operator delete(void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text$_ZN13TActiveXEvent7ReleaseEv+0x27): undefined reference to `operator delete(void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text$_ZN8TActiveX7ReleaseEv+0x38): undefined reference to `operator delete(void*)'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x8): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0xc): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x10): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x14): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x18): undefined reference to `__cxa_pure_virtual'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTV15IOleControlSite[vtable for IOleControlSite]+0x1c): more undefined references to `__cxa_pure_virtual' follow
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI8TActiveX[typeinfo for TActiveX]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI13TActiveXEvent[typeinfo for TActiveXEvent]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI15IOleControlSite[typeinfo for IOleControlSite]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI15IOleInPlaceSite[typeinfo for IOleInPlaceSite]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI16IOleInPlaceFrame[typeinfo for IOleInPlaceFrame]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI19IOleInPlaceUIWindow[typeinfo for IOleInPlaceUIWindow]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI10IOleWindow[typeinfo for IOleWindow]+0x0): more undefined references to `vtable for __cxxabiv1::__si_class_type_info' follow
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.rdata$_ZTI8IUnknown[typeinfo for IUnknown]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/fwh.2012-03/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.eh_frame+0x2b7): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
c:\hb30\comp\mingw\bin\gcc.exe .hbmk/win/mingw/QSTART.o .hbmk/win/mingw/qChv.o .hbmk/win/mingw/QVWGM.o .hbmk/win/mingw/QEDGM.o .hbmk/win/mingw/qDbDef.o .hbmk/win/mingw/qEditVoucher.o .hbmk/win/mingw/VIEWVCHR.o .hbmk/win/mingw/VCHPRINT.o .hbmk/win/mingw/QVCHPR2.o .hbmk/win/mingw/qEdDivision.o .hbmk/win/mingw/qPreFill.o .hbmk/win/mingw/qVwDivisions.o .hbmk/win/mingw/QEDDT.o .hbmk/win/mingw/QEDClntRef.o .hbmk/win/mingw/QEDCONS.o .hbmk/win/mingw/qeddtgrp.o .hbmk/win/mingw/QEDDTINS.o .hbmk/win/mingw/QEDDTPAX.o .hbmk/win/mingw/QEDINS.o .hbmk/win/mingw/QEDPAY.o .hbmk/win/mingw/QEDRANGE.o .hbmk/win/mingw/QEDSCAR.o .hbmk/win/mingw/QEDSOFFC.o .hbmk/win/mingw/QEDSRATE.o .hbmk/win/mingw/qFdImp.o .hbmk/win/mingw/QINVOICE.o .hbmk/win/mingw/QMEND.o .hbmk/win/mingw/qguimypref.o .hbmk/win/mingw/QMYPREF.o .hbmk/win/mingw/qguisyspref.o .hbmk/win/mingw/qsyspref.o .hbmk/win/mingw/QVCHNOTE.o .hbmk/win/mingw/qvchsend.o .hbmk/win/mingw/QVERIFY.o .hbmk/win/mingw/qDataDef.o .hbmk/win/mingw/qGuiVoucher.o .hbmk/win/mingw/qVoucher.o .hbmk/win/mingw/QVWCONS.o .hbmk/win/mingw/qvwsupp.o .hbmk/win/mingw/QEDSUPP.o .hbmk/win/mingw/QVWDTGRP.o .hbmk/win/mingw/QVWINS.o .hbmk/win/mingw/QVWPAY.o .hbmk/win/mingw/QVWRANGE.o .hbmk/win/mingw/VIEWVCH2.o .hbmk/win/mingw/QQRYRNG.o .hbmk/win/mingw/qqryvch.o .hbmk/win/mingw/qVwDebtors.o .hbmk/win/mingw/QEDDTCRD.o .hbmk/win/mingw/qImportVoucher.o .hbmk/win/mingw/qImportChvPnr.o .hbmk/win/mingw/qConvertCtCards.o .hbmk/win/mingw/qAddVoucherNos.o .hbmk/win/mingw/qVoucherUpload.o .hbmk/win/mingw/qchvpipe.o .hbmk/win/mingw/QRemote.o .hbmk/win/mingw/QVwRemote.o .hbmk/win/mingw/qEdRemote.o .hbmk/win/mingw/TMUTEX.o .hbmk/win/mingw/IMAGE3.o .hbmk/win/mingw/qqfdtool.o .hbmk/win/mingw/qamadair.o .hbmk/win/mingw/adscallback.o .hbmk/win/mingw/_hbmkaut_QSTART.o -mwindows -Wl,--start-group -lfivehg -lfivehgc -lace32 -lrddads -lxhb -lhbct -lhbmzip -lminizip -lminilzo -lhbziparc -llzf -lhbtip -lrddbm -lhbwin -lversion -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib /devmast/qcn/libhqfdgdscopy.a /dev/chv/libhwtidocedit.a /dev/custdocedit/libcustdocedit.a /dev/iur/libhiur.a /dev/tair/libhtair.a /dev/mir/libhmir.a /dev/qcc/libhqcc.a /dev/qcf/libhqcf.a /dev/lck/libhlck.a /dev/qry/libhqry.a /dev/qrp/libhqrp.a /dev/brw/libhbrw.a /dev/tree32/libhtree32.a /dev/tsbutton/libhtsbutton.a /dev/sms/libhqsms.a /dev/freeimage/dist/FreeImage.lib /dev/ssce/sdk/lib/ssce5532.lib "/openssl-win32/lib/libeay32.lib" "/openssl-win32/lib/ssleay32.lib" /xhb/c_lib/win/lz32.lib -Wl,--end-group -s -ochv32.exe -Lc:/hb30/lib/win/mingw -Lc:/hb30/bin -L"/fwh.2012-03/lib"
I guess I'm missing something but have no idea what?