sorry i not undestrand How can resove for example delta4hh.lib(VARIE_D.obj) : error LNK2005: _HB_FUN_MESSAGGIO già definito in ARALOG.obj Getsys maj be not a problem) In clipper if i have a function named messaggio on mylib.lib and a function named messaggio in mysample.prg if work function messaggio in my sample overwrite that in mylib.lib
i have successfull recompile with bcc same bcc script Will bcc having different feature? 2009/4/20 Viktor Szakáts <[email protected]>: > You'll need to move your getsys override to a lib, at least that'd the way > it works for me without any errors. As for the rest as I've said you need > to clean them up, I can see no hbmk2 fault here. > Brgds, > Viktor > On Mon, Apr 20, 2009 at 6:51 PM, Massimo Belgrano <[email protected]> > wrote: >> >> 2009/4/20 Viktor Szakáts <[email protected]>: >> > It's possible to silence such warnings, but I wouldn't recommend doing >> > it. >> > It's better to resolve them. >> In follow rowI need redefine function messaggio in my library.How can >> i resolved? >> ARCA.o:ARCA.c:(.text+0x940): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VARIE_D.o):VARIE_D.c:(.text+0x100): >> multiple definition of `HB_FUN_MESSAGGIO' >> >> >> > Please remove hbdebug lib from the liblist and upgrade to the latest SVN >> > version of hbmk2 to resolve warnings for GETSYS. >> Done follow result >> revision 10899 >> >> c:/harbour/mingw/lib/libdelta4hh.a(VARIE_D.o):VARIE_D.c:(.text+0xc0): >> multiple d >> efinition of `HB_FUN_MK_RIGACOMP' >> ARCA.o:ARCA.c:(.text+0x940): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VARIE_D.o):VARIE_D.c:(.text+0x100): >> multiple >> definition of `HB_FUN_MESSAGGIO' >> ARCALOG.o:ARCALOG.c:(.text+0x40): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VALID_D.o):VALID_D.c:(.text+0xa0): >> multiple d >> efinition of `HB_FUN_RICERCA4' >> ARCALOG.o:ARCALOG.c:(.text+0x7a0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VALID_D.o):VALID_D.c:(.text+0xe0): >> multiple d >> efinition of `HB_FUN_RICERCA5' >> ARCALOG.o:ARCALOG.c:(.text+0x7e0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VALID_D.o):VALID_D.c:(.text+0x100): >> multiple >> definition of `HB_FUN_XINS' >> ARCALOG.o:ARCALOG.c:(.text+0x800): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VALID_D.o):VALID_D.c:(.text+0x120): >> multiple >> definition of `HB_FUN_INS_NEW' >> ARCALOG.o:ARCALOG.c:(.text+0x820): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VALID_D.o):VALID_D.c:(.text+0x1a0): >> multiple >> definition of `HB_FUN_TROVA' >> ARCALOG.o:ARCALOG.c:(.text+0xe20): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VALID_D.o):VALID_D.c:(.text+0x1c0): >> multiple >> definition of `HB_FUN_ANY2STR' >> ARCAPDF.o:ARCAPDF.c:(.text+0xb20): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(VALID_D.o):VALID_D.c:(.text+0x1e0): >> multiple >> definition of `HB_FUN_V_TROVA' >> ARCA.o:ARCA.c:(.text+0x6e0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DEFOPT.o):DEFOPT.c:(.text+0x1a0): >> multiple de >> finition of `HB_FUN_ORA' >> ARCAROOT.o:ARCAROOT.c:(.text+0x360): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0x80): multiple >> defin >> ition of `HB_FUN_PRIMA_PP' >> ARCA.o:ARCA.c:(.text+0xc0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0xa0): multiple >> defin >> ition of `HB_FUN_STATO' >> ARCA.o:ARCA.c:(.text+0x120): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0x260): >> multiple defi >> nition of `HB_FUN_HELP' >> ARCALOG.o:ARCALOG.c:(.text+0xa0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0x280): >> multiple defi >> nition of `HB_FUN_MODIHELP' >> ARCALOG.o:ARCALOG.c:(.text+0xe0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0x340): >> multiple defi >> nition of `HB_FUN_NULLA' >> ARCA.o:ARCA.c:(.text+0xb00): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0x5c0): >> multiple defi >> nition of `HB_FUN_ALTC' >> ARCA.o:ARCA.c:(.text+0x60): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0xf80): >> multiple defi >> nition of `HB_FUN_DB_FILE' >> ARCAROOT.o:ARCAROOT.c:(.text+0x7c0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(BOTTON_D.o):BOTTON_D.c:(.text+0x120): >> multipl >> e definition of `HB_FUN_SHADOW' >> ARCALOG.o:ARCALOG.c:(.text+0x960): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(STRING_D.o):STRING_D.c:(.text+0x40): >> multiple >> definition of `HB_FUN_MEMTOFIL' >> ARCALOG.o:ARCALOG.c:(.text+0xc40): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(STRING_D.o):STRING_D.c:(.text+0x60): >> multiple >> definition of `HB_FUN_CLRMEM' >> ARCALOG.o:ARCALOG.c:(.text+0xce0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(STRING_D.o):STRING_D.c:(.text+0x80): >> multiple >> definition of `HB_FUN_FILTOMEM' >> ARCALOG.o:ARCALOG.c:(.text+0xd00): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(PATH_D.o):PATH_D.c:(.text+0x120): >> multiple de >> finition of `HB_FUN_FILE_BLOCK' >> ARCAIO.o:ARCAIO.c:(.text+0x200): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(TABRIG_D.o):TABRIG_D.c:(.text+0x40): >> multiple >> definition of `HB_FUN_DBEDIT' >> ARCALOG.o:ARCALOG.c:(.text+0x60): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(TABRIG_D.o):TABRIG_D.c:(.text+0x60): >> multiple >> definition of `HB_FUN_TABRIGHE' >> ARCALOG.o:ARCALOG.c:(.text+0x980): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(TABRIG_D.o):TABRIG_D.c:(.text+0x80): >> multiple >> definition of `HB_FUN_VEDI_COMODO' >> ARCALOG.o:ARCALOG.c:(.text+0x9a0): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(TABRIG_D.o):TABRIG_D.c:(.text+0xc0): >> multiple >> definition of `HB_FUN_FRESHORDER' >> ARCALOG.o:ARCALOG.c:(.text+0x640): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(TABRIG_D.o):TABRIG_D.c:(.text+0x140): >> multipl >> e definition of `HB_FUN_XDBE' >> ARCALOG.o:ARCALOG.c:(.text+0x80): first defined here >> c:/harbour/mingw/lib/libdelta4hh.a(TABRIG_D.o):TABRIG_D.c:(.text+0x160): >> multipl >> e definition of `HB_FUN_DATEASAGE' >> c:/harbour/mingw/lib/libhbclipsm.a(date.o):date.c:(.text+0x230): first >> defined h >> ere >> c:/harbour/mingw/lib/libGTWVG.a(wvgpaint.o):wvgpaint.c:(.text+0x5690): >> multiple >> definition of `HB_FUN_WVT_PASTEFROMCLIPBOARD' >> c:/harbour/mingw/lib/libdelta4hh.a(DELTA.o):DELTA.c:(.text+0xde0): first >> defined >> here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x40): multiple >> defini >> tion of `HB_FUN_READMODAL' >> GETSYS_D.o:GETSYS_D.c:(.text+0xa0): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x350): multiple >> defin >> ition of `HB_FUN_GETREADER' >> GETSYS_D.o:GETSYS_D.c:(.text+0xc0): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x3c0): multiple >> defin >> ition of `HB_FUN_GETACTIVE' >> GETSYS_D.o:GETSYS_D.c:(.text+0xe0): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x500): multiple >> defin >> ition of `HB_FUN_GETDOSETKEY' >> GETSYS_D.o:GETSYS_D.c:(.text+0x100): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x5e0): multiple >> defin >> ition of `HB_FUN_GETAPPLYKEY' >> GETSYS_D.o:GETSYS_D.c:(.text+0x120): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x710): multiple >> defin >> ition of `HB_FUN_GETPREVALIDATE' >> GETSYS_D.o:GETSYS_D.c:(.text+0x140): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x800): multiple >> defin >> ition of `HB_FUN_GETPOSTVALIDATE' >> GETSYS_D.o:GETSYS_D.c:(.text+0x160): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x8f0): multiple >> defin >> ition of `HB_FUN_READEXIT' >> GETSYS_D.o:GETSYS_D.c:(.text+0x180): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x950): multiple >> defin >> ition of `HB_FUN_READINSERT' >> GETSYS_D.o:GETSYS_D.c:(.text+0x1a0): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x9b0): multiple >> defin >> ition of `HB_FUN_UPDATED' >> GETSYS_D.o:GETSYS_D.c:(.text+0x1c0): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0xa80): multiple >> defin >> ition of `HB_FUN___KILLREAD' >> GETSYS_D.o:GETSYS_D.c:(.text+0x1e0): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0xb50): multiple >> defin >> ition of `HB_FUN_READUPDATED' >> GETSYS_D.o:GETSYS_D.c:(.text+0x200): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0xca0): multiple >> defin >> ition of `HB_FUN_READKILL' >> GETSYS_D.o:GETSYS_D.c:(.text+0x220): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0xdf0): multiple >> defin >> ition of `HB_FUN_READFORMAT' >> GETSYS_D.o:GETSYS_D.c:(.text+0x240): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0xf30): multiple >> defin >> ition of `HB_FUN___SETFORMAT' >> GETSYS_D.o:GETSYS_D.c:(.text+0x260): first defined here >> c:/harbour/mingw/lib/libhbrtl.a(getsys.o):getsys.c:(.text+0x1070): >> multiple defi >> nition of `HB_FUN_RANGECHECK' >> GETSYS_D.o:GETSYS_D.c:(.text+0x280): first defined here >> collect2: ld returned 1 exit status >> hbmk: Error: Running linker. 1: >> gcc.exe ARCA.o ARCACOMM.o ARCAFATT.o ARCAHP.o ARCAIO.o ARCALOG.o >> ARCAOPEN.o ARCA >> PDF.o ARCAPRCT.o ARCAPRE2.o ARCAPRE3.o ARCAPREV.o ARCAROOT.o ARCATAB.o >> ARCATEC.o >> ERROR_D.o GETSYS_D.o hbmk_2kqz8g.o -mwindows -Wl,--start-group -lgtwvg >> -lace >> 32 -lrddads -lhbbmcdx -lxhb -lhbwin -lhbclipsm -ldelta4hh -lGTWVT -lGTWVG >> -lhbcp >> age -lhblang -lhbcommon -lhbcplr -lhbdebug -lhbvm -lhbrdd -lhbusrrdd >> -lhbuddall >> -lhbhsx -lhbsix -lrddntx -lrddnsx -lrddcdx -lrddfpt -lhbrtl -lhbpp >> -lhbmacro -lh >> bextern -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbpcre -lhbzlib >> -lkern >> el32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 >> -lshe >> ll32 -lole32 -loleaut32 -luuid -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 >> -Wl,--en >> d-group -oarcahh.exe -Lc:/harbour/mingw/lib >> _______________________________________________ >> Harbour mailing list >> [email protected] >> http://lists.harbour-project.org/mailman/listinfo/harbour > > > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > > -- Massimo Belgrano _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
