Page 1 of 2

FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 1:01 pm
by AlexSchaft
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?

Re: FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 1:05 pm
by AlexSchaft
This is using hbmk2

Re: FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 1:16 pm
by Antonio Linares
Alex,

For a test, please add this code to your main PRG:

CLASS TActiveX

ENDCLASS

Re: FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 1:19 pm
by Antonio Linares
Alex,

What gcc version are you using ?

We are using:

gcc -v

gcc version 4.6.1 (GCC)

Re: FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 1:20 pm
by Antonio Linares
FWH\samples\webexp.prg which uses Class TActiveX is working fine here, so it seems as you may be using a different gcc version

Re: FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 1:27 pm
by AlexSchaft
I am on

c:\hb30\comp\mingw\bin>gcc --version
gcc (tdm-1) 4.5.2-dw2

This one came with harbour 3 install.

I will see if I can upgrade it.

Re: FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 2:49 pm
by Antonio Linares

Re: FWH 12.03 Mingw gcc linking errors

Posted: Fri Apr 13, 2012 4:40 pm
by hua
When I was testing gcc+Harbour+FWH a while back, I couldn't get TDM to work but plain vanilla MingW works flawlessly.

I think I followed one of the installation steps specified here http://www.mingw.org/wiki/InstallationHOWTOforMinGW.
Just be careful that at any one time only one C compiler is in the path. I got bitten by that a couple of times.

Re: FWH 12.03 Mingw gcc linking errors

Posted: Sat Apr 14, 2012 11:28 am
by AlexSchaft
I still get 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(RICHEDIT.o):RICHEDIT.C:(.text+0xa5c): undefined reference to `OleUIPasteSpecialA@4'
/dev/qcc/libhqcc.a(QMAPI.o):QMAPI.c:(.data+0x388): 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'
c:\harbour\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:/harbour/lib -Lc:/harbour/bin -L"/fwh.2012-03/lib"

c:\harbour\bin>harbour --version
Harbour 3.1.0dev (Rev. 17346)
Copyright (c) 1999-2012, http://harbour-project.org/

c:\harbour\comp\mingw\bin>gcc --version
gcc (GCC) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

hbp file:

Code: Select all

-o${hb_name}
-cflag=-std=c99
-incpath=\Fwh.2012-03\include
-incpath=\dev\include
-incpath=\dev\alex
-L\fwh.2012-03\lib
-gui
-inc
-info
-D__FLAT__
-D__HARBOUR
/q
/m
/n
/w
/a
/es2
-strip
\dev\chv\prg\QSTART.PRG
\dev\chv\prg\qChv.PRG
\dev\chv\prg\QVWGM.PRG
\dev\chv\prg\QEDGM.PRG
\dev\chv\prg\qDbDef.PRG
\dev\chv\prg\qEditVoucher.PRG
\dev\chv\prg\VIEWVCHR.PRG
\dev\chv\prg\VCHPRINT.PRG
\dev\chv\prg\QVCHPR2.PRG
\dev\chv\prg\qEdDivision.PRG
\dev\chv\prg\qPreFill.PRG
\dev\chv\prg\qVwDivisions.PRG
\dev\chv\prg\QEDDT.PRG
\dev\chv\prg\QEDClntRef.PRG
\dev\chv\prg\QEDCONS.PRG
\dev\chv\prg\qeddtgrp.prg
\dev\chv\prg\QEDDTINS.PRG
\dev\chv\prg\QEDDTPAX.PRG
\dev\chv\prg\QEDINS.PRG
\dev\chv\prg\QEDPAY.PRG
\dev\chv\prg\QEDRANGE.PRG
\dev\chv\prg\QEDSCAR.PRG
\dev\chv\prg\QEDSOFFC.PRG
\dev\chv\prg\QEDSRATE.PRG
\dev\chv\prg\qFdImp.prg
\dev\chv\prg\QINVOICE.PRG
\dev\chv\prg\QMEND.PRG
\dev\chv\prg\qguimypref.prg
\dev\chv\prg\QMYPREF.PRG
\dev\chv\prg\qguisyspref.prg
\dev\chv\prg\qsyspref.prg
\dev\chv\prg\QVCHNOTE.PRG
\dev\chv\prg\qvchsend.prg
\dev\chv\prg\QVERIFY.PRG
\dev\chv\prg\qDataDef.prg
\dev\chv\prg\qGuiVoucher.prg
\dev\chv\prg\qVoucher.prg
\dev\chv\prg\QVWCONS.PRG
\dev\chv\prg\qvwsupp.prg
\dev\chv\prg\QEDSUPP.PRG
\dev\chv\prg\QVWDTGRP.PRG
\dev\chv\prg\QVWINS.PRG
\dev\chv\prg\QVWPAY.PRG
\dev\chv\prg\QVWRANGE.PRG
\dev\chv\prg\VIEWVCH2.PRG
\dev\chv\prg\QQRYRNG.PRG
\dev\chv\prg\qqryvch.prg
\dev\chv\prg\qVwDebtors.prg
\dev\chv\prg\QEDDTCRD.PRG
\dev\chv\prg\qImportVoucher.PRG
\dev\chv\prg\qImportChvPnr.PRG
\dev\chv\prg\qConvertCtCards.PRG
\dev\chv\prg\qAddVoucherNos.PRG
\dev\chv\prg\qVoucherUpload.PRG
\dev\chv\prg\qchvpipe.prg
\dev\chv\prg\QRemote.PRG
\dev\chv\prg\QVwRemote.PRG
\dev\chv\prg\qEdRemote.PRG
\dev\mutex\TMUTEX.PRG
\dev\fimage\IMAGE3.PRG
\devmast\qcn\prg\qqfdtool.prg
\devmast\qcn\prg\qamadair.prg
\devmast\qcn\hqfdgdscopy.hbc
\dev\chv\hwtidocedit.hbc
\dev\custdocedit\custdocedit.hbc
\dev\iur\hiur.hbc
\dev\tair\htair.hbc
\dev\mir\hmir.hbc
\dev\qcc\hqcc.hbc
\dev\qcf\hqcf.hbc
\dev\lck\hlck.hbc
\dev\qry\hqry.hbc
\dev\qrp\hqrp.hbc
\dev\brw\hbrw.hbc
\dev\tree32\htree32.hbc
\dev\tsbutton\htsbutton.hbc
\dev\sms\hqsms.hbc
\devmast\qcn\hqfdgdscopy.hbp
\dev\chv\hwtidocedit.hbp
\dev\custdocedit\custdocedit.hbp
\dev\iur\hiur.hbp
\dev\tair\htair.hbp
\dev\mir\hmir.hbp
\dev\qcc\hqcc.hbp
\dev\qcf\hqcf.hbp
\dev\lck\hlck.hbp
\dev\qry\hqry.hbp
\dev\qrp\hqrp.hbp
\dev\brw\hbrw.hbp
\dev\tree32\htree32.hbp
\dev\tsbutton\htsbutton.hbp
\dev\sms\hqsms.hbp
-l\dev\freeimage\dist\FreeImage.lib
-l\dev\ssce\sdk\lib\ssce5532.lib
-lfivehg
-lfivehgc
-l\openssl-win32\lib\libeay32.lib
-l\openssl-win32\lib\ssleay32.lib
-l\xhb\c_lib\win\lz32.lib
-lace32
-lrddads
\fwall\source\modapi\adscallback.c
-lxhb
-lhbct.a
-lhbmzip.a
-lminizip
-lminilzo
-lhbziparc
-llzf
-lhbtip
-lrddbm
-lhbwin
-lversion
 
It seems mapi.c is still missing, but I don't know what the others are from. This is with the harbour zip file linked above, and latest mingw

Re: FWH 12.03 Mingw gcc linking errors

Posted: Sat Apr 14, 2012 11:50 am
by Antonio Linares
Alex,

Please go to FWH\samples folder and do:

buildg.bat tutor02

buildg.bat webexp

buildg.bat rbdesign

and let me know if they build fine, thanks

Re: FWH 12.03 Mingw gcc linking errors

Posted: Sat Apr 14, 2012 12:53 pm
by AlexSchaft
Antonio,

I got an error that stdc++ could not be found. If i remove that lib from the link, tutor02 and rbdesign work, but webexp has the same problem with actx.cpp.

I will try and link with the older ming which has libstdc++.a

Re: FWH 12.03 Mingw gcc linking errors

Posted: Sat Apr 14, 2012 2:18 pm
by AlexSchaft
Ok, that didn't work. Any idea where I can find the current libstdc++.a?

Re: FWH 12.03 Mingw gcc linking errors

Posted: Sat Apr 14, 2012 2:20 pm
by AlexSchaft
forgot to ask for c++ compiler, which the library i think comes from

Re: FWH 12.03 Mingw gcc linking errors

Posted: Sat Apr 14, 2012 3:14 pm
by AlexSchaft
Ok, I've got a lot of multiple definitions, which is causing hbmk2 to fail. Can I switch this off somehow?

Re: FWH 12.03 Mingw gcc linking errors

Posted: Sat Apr 14, 2012 4:03 pm
by Antonio Linares
Alex,

Try to use FWH\samples\buildg.bat so you control the exact libraries that you need to link :-)