Now I think I am begining to understand hbmk2 more closely. Nice features.

BTW I get these unresolved externals in MINGW build, MSVC and BCC is ok.

C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x9
8): undefined reference to `HB_FUN_HB_UNZIPOPEN'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0xa
8): undefined reference to `HB_FUN_HB_UNZIPGLOBALINFO'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0xb
8): undefined reference to `HB_FUN_HB_UNZIPCLOSE'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0xe
8): undefined reference to `HB_FUN_HB_UNZIPFILEFIRST'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0xf
8): undefined reference to `HB_FUN_HB_UNZIPFILEINFO'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x1
28): undefined reference to `HB_FUN_HB_UNZIPFILENEXT'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x1
e8): undefined reference to `HB_FUN_HB_ZIPOPEN'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x2
78): undefined reference to `HB_FUN_HB_ZIPFILECREATE'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x2
a8): undefined reference to `HB_FUN_HB_ZIPFILEWRITE'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x2
c8): undefined reference to `HB_FUN_HB_ZIPFILECLOSE'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x2
e8): undefined reference to `HB_FUN_HB_ZIPCLOSE'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x3
18): undefined reference to `HB_FUN_HB_UNZIPEXTRACTCURRENTFILE'
C:/harbour_dev/harbour/mingw/lib/ libhbziparc.a(hbziparc.o):hbziparc.c:(.data+0x3
58): undefined reference to `HB_FUN_HB_ZIPDELETEFILE'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1

Are these functions disabled for MINGW?

No. [why would they be?]

Is there any alternatives to above functions ?
If not, I am afraid it may stop my experiments with GTWVG and HBXBP together
as all will be tested under production-like environments.

Some gcc ports (like mingw) are sensitive to lib ordering.

Try moving line -lhbmzip below -lhbziparc.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to