First, try with recent SVN, as I've just attempted to fix this.

Second, you'll probably need to play around with the position
of -lhbct parameter in your setup to make mingw linker happy.

I'm more and more annoyed by this stupid-looking behavior of
mingw (and a few others gccs), so I may simply readd lib grouping
to make it behave like every other tool. I noticed that the
large number of default windows libs in hbmk2 slows down
linking much more than we could gain by dropping lib grouping
option.

Brgds,
Viktor

On 2009.09.06., at 8:39, [email protected] wrote:

I try build all from scratch from night zip file.
Compilator is build ok. But when I try link my app after command :

D:\harbour\bin\win\mingw\hbmk2 -n -m -w2 -gc3 -gui -gtwvg homar.prg braki.prg -lhbct -lhomar -lhbwin -trace

(
in folder have I too file homar.hbc with contents :

libs=hbhpdf libhpdf libpng
libs=sddodbc hbodbc
libs=rddsql rddado
{win}libs=odbc32
#{win}libs=gtwvg
#mt=yes
#gui=yes
)


have I many warnings. Last what I see on screen is :

D:/harbour/lib/win/mingw/libhomar.a(BEZKOM.o)(.data+0x48):BEZKOM.c: undefined reference to `HB_FUN_CRYPT' D:/harbour/lib/win/mingw/libhomar.a(PLUSPLUS.o)(.data +0x68):PLUSPLUS.c: undefined reference to `HB_FUN_ADDASCII' D:/harbour/lib/win/mingw/libhomar.a(MINUSMIN.o)(.data +0x68):MINUSMIN.c: undefined reference to `HB_FUN_ADDASCII' D:/harbour/lib/win/mingw/libhomar.a(FILENEW.o)(.data +0x208):FILENEW.c: undefined reference to `HB_FUN_ATNUM' D:/harbour/lib/win/mingw/libhomar.a(DELREC.o)(.data+0xf8):DELREC.c: undefined reference to `HB_FUN_BLANK' D:/harbour/lib/win/mingw/libhomar.a(STERUJPR.o)(.data +0x5e8):STERUJPR.c: undefined reference to `HB_FUN_SETLASTKEY' D:/harbour/lib/win/mingw/libhomar.a(STERUJPR.o)(.data +0xa38):STERUJPR.c: undefined reference to `HB_FUN_NTOCOLOR' D:/harbour/lib/win/mingw/libhomar.a(GET.o)(.data+0x408):GET.c: undefined reference to `HB_FUN_KBDSTAT' D:/harbour/lib/win/mingw/libhomar.a(PARPRACY.o)(.data +0x1a8):PARPRACY.c: undefined reference to `HB_FUN_TIMEVALID' D:/harbour/lib/win/mingw/libhomar.a(WORM.o)(.data+0x2d8):WORM.c: undefined reference to `HB_FUN_ADDASCII' D:/harbour/lib/win/mingw/libhomar.a(DOS_SHEL.o)(.data +0x78):DOS_SHEL.c: undefined reference to `HB_FUN_EXENAME' D:/harbour/lib/win/mingw/libhomar.a(OBRAZ.o)(.data+0xd8):OBRAZ.c: undefined reference to `HB_FUN_NTOCOLOR' D:/harbour/lib/win/mingw/libhomar.a(EKRAN.o)(.data+0x108):EKRAN.c: undefined reference to `HB_FUN_NTOCOLOR' D:/harbour/lib/win/mingw/libhomar.a(EDDOKZB.o)(.data +0x508):EDDOKZB.c: undefined reference to `HB_FUN_SETLASTKEY' D:/harbour/lib/win/mingw/libhomar.a(KALENDAR.o)(.data +0x3a8):KALENDAR.c: undefined reference to `HB_FUN_TIMEVALID' D:/harbour/lib/win/mingw/libhomar.a(KALENDAR.o)(.data +0x3d8):KALENDAR.c: undefined reference to `HB_FUN_SETTIME' D:/harbour/lib/win/mingw/libhomar.a(KALENDAR.o)(.data +0x3e8):KALENDAR.c: undefined reference to `HB_FUN_SETDATE' D:/harbour/lib/win/mingw/libhomar.a(KOLOR.o)(.data+0x208):KOLOR.c: undefined reference to `HB_FUN_COLORTON' D:/harbour/lib/win/mingw/libhomar.a(KOLOR.o)(.data+0x238):KOLOR.c: undefined reference to `HB_FUN_NTOCOLOR' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x2e1a):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x2e5c):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x2f80):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x3003):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x3248):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x34e8):dbfntx1.c: more undefined references to `hb_dbfLockIdxFile' follow D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x13647):dbfntx1.c: undefined reference to `hb_dbfLockIdxGetData' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x13ec5):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x14798):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x14f31):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x151df):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x152f9):dbfntx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x153c6):dbfntx1.c: more undefined references to `hb_dbfLockIdxFile' follow D:/harbour/lib/win/mingw/librddntx.a(dbfntx1.o)(.text +0x173dd):dbfntx1.c: undefined reference to `HB_FUN__DBF' D:/harbour/lib/win/mingw/librddcdx.a(dbfcdx1.o)(.text +0x2b59):dbfcdx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddcdx.a(dbfcdx1.o)(.text +0x2c95):dbfcdx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddcdx.a(dbfcdx1.o)(.text +0x300c):dbfcdx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddcdx.a(dbfcdx1.o)(.text +0x33e3):dbfcdx1.c: undefined reference to `hb_dbfLockIdxFile' D:/harbour/lib/win/mingw/librddcdx.a(dbfcdx1.o)(.text +0x13c94):dbfcdx1.c: undefined reference to `hb_dbfLockIdxGetData' D:/harbour/lib/win/mingw/librddcdx.a(dbfcdx1.o)(.text +0x1b9cd):dbfcdx1.c: undefined reference to `HB_FUN__DBF' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x145):dbffpt1.c: undefined reference to `hb_dbfGetEGcode' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x276f):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x2a41):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x46dc):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x4815):dbffpt1.c: undefined reference to `hb_dbfSetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x4d7d):dbffpt1.c: undefined reference to `hb_sxPtoD' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x551c):dbffpt1.c: undefined reference to `hb_sxDtoP' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x55bd):dbffpt1.c: undefined reference to `hb_sxDtoP' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x5a3f):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x6af3):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x6ca8):dbffpt1.c: undefined reference to `hb_dbfSetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x6e5f):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x6f36):dbffpt1.c: undefined reference to `hb_dbfSetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x74a0):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x92a1):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x9312):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x9353):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x94af):dbffpt1.c: undefined reference to `hb_dbfGetMemoData' D:/harbour/lib/win/mingw/librddfpt.a(dbffpt1.o)(.text +0x9c7d):dbffpt1.c: undefined reference to `HB_FUN__DBF'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe homar.o braki.o hbmk_llbci2.o -mwindows -lgtwvg -lhbhpdf - llibhpdf -llibpng -lsddodbc -lhbodbc -lrddsql -lrddado -lodbc32 - lhbct -lho mar -lhbwin -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage - lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbusrrdd - lhbhsx -l hbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall -lrddnsx -lhbrtl -lhbvm - lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbpcre -lhbzlib -lkernel32 - luser32 - lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 - lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 - lmsimg32 -lwinin
et  -ohomar.exe -LD:/harbour/lib/win/mingw


tools library is in folder (D:\harbour\lib\win\mingw\libhbct.a)
═══════════════════════ Find: *ct
║    Name    │  Size   │  Date  │Time │
║..          │<UP--DIR>│06-09-09│07:58│
║libhbct    a│  269 758│05-09-09│22:58│


What I make bad ?

Regards,
Marek Horodyski



----------------------------------------------------------------------
EuroBasket 2009 &#8211; grasz w kosza? Poczytaj o rozgrywkach.
Kliknij >>> http://link.interia.pl/f2329

_______________________________________________
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

Reply via email to