Updating HMG 3.0.35 to handle Harbour 2.1

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
CCH4CLIPPER
Posts: 140
Joined: Tue Mar 03, 2009 8:59 am

Updating HMG 3.0.35 to handle Harbour 2.1

Post by CCH4CLIPPER »

Hi Roberto

I know that you are very busy with the HMG 4 project but can you spare some time to resolve the error messages that result from using hbmk2 to compile HMG with hb2.1


C:\hmg.3.0.35\PROJECTS\FRS4W764>hbmk2 frs4hmg.hbp
Harbour 2.1.0rc1 (Rev. 16282)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'frs4w764.prg'...
Lines 20466, Functions/Procedures 27
Generating C source output to 'C:\Users\CCH\AppData\Local\Temp\hbmk_g7zgob.dir\f
rs4w764.c'... Done.
Compiling 'locks.prg'...
Lines 157, Functions/Procedures 4
Generating C source output to 'C:\Users\CCH\AppData\Local\Temp\hbmk_g7zgob.dir\l
ocks.c'... Done.
c:/hb21/lib/win/mingw/libhbwin.a(legacycd.o):legacycd.c:(.text+0x0): multiple de
finition of `HB_FUN_GETLASTERROR'
c:/hmg/lib/libhmg.a(c_winapimisc.o):c_winapimisc.c:(.text+0xcbc): first defined
here

collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
c:\hb21\comp\mingw\bin\gcc.exe C:/Users/CCH/AppData/Local/Temp/hbmk_g7zgob.dir/f
rs4w764.o C:/Users/CCH/AppData/Local/Temp/hbmk_g7zgob.dir/locks.o C:/Users/CCH/A
ppData/Local/Temp/hbmk_g7zgob.dir/hbmk_b1qg9z.o -mwindows -Wl,--start-group -
lhmg -lvfw32 -lmsvfw32 -lhbmzip -lminizip -lhbwin -lpng -lhbct -lhbmisc -lxhb -l
hbtip -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lg
tstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lr
ddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhb
mainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -l
comdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lms
img32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oFRS4HMG.exe -Lc:/hb21/lib/
win/mingw -Lc:/hb21/bin -Lc:/hmg/lib


FYI, frs4hmg.hb contains

-oFRS4HMG.exe
-prgflag= -es2 -gtgui
-cflag=-O3

#-lhmg -lhbmzip -lhbwin -lhbct -lhbmisc -lxhb -lvfw32 -lmsvfw32

-lhmg,-lvfw32 -lmsvfw32

hbmzip.hbc hbwin.hbc hbct.hbc hbmisc.hbc xhb.hbc

frs4hmg.hbc

frs4w764.prg
locks.prg

frs4hmg.hbc
=========
incpaths=c:\hmg\include
libpaths=c:\hmg\lib
libs=
gt=
mt=no
instpaths=

Thanks in Advance :-)

CCH
http://cch4clipper.blogspot.com
Post Reply