These belong to the mouse functionality implemented as .asm code.

Try with these rewritten versions in .prg:

--- s_mouse.prg
/* Copyright 2009 Viktor Szakats <harbour.01 syenar.hu> */

PROCEDURE RAT_ON()
   MShow()
   RETURN

PROCEDURE RAT_OFF()
   MHide()
   RETURN

FUNCTION RAT_ROW()
   RETURN MRow()

FUNCTION RAT_COL()
   RETURN MCol()

PROCEDURE RAT_POSIT( nRow, nCol )
   MSetPos( nRow, nCol )
   RETURN

FUNCTION RAT_EXIST()
   RETURN MPresent()

PROCEDURE RAT_AREA( nTop, nLeft, nBottom, nRight )
   MSetBounds( nTop, nLeft, nBottom, nRight )
   RETURN

FUNCTION RAT_LBHD
   RETURN MLeftDown()

FUNCTION RAT_RBHD
   RETURN MRightDown()

/* Dummy calls in Harbour */

PROCEDURE RAT_RESET()
   RETURN

PROCEDURE RAT_NOMOUS()
   RETURN

PROCEDURE RAT_FORCE()
   RETURN

/* TOFIX: Just an approximation of the original functionality for
functions below */

FUNCTION RAT_ROWL()
   RETURN MRow()

FUNCTION RAT_ROWR()
   RETURN MRow()

FUNCTION RAT_COLL()
   RETURN MCol()

FUNCTION RAT_COLR()
   RETURN MCol()

FUNCTION RAT_LEFTB()
   RETURN MLeftDown()

FUNCTION RAT_RIGHTB()
   RETURN MRightDown()
---

Brgds,
Viktor

On Thu, May 28, 2009 at 8:35 AM, Jaroslaw Kadziola <kadzi...@tlen.pl> wrote:
> Hello,
>
>
> JK> After SVN 11149 i can build hbsuper.lib with msys + mingw.
> JK> Tomorrow i'll try compile my app with this library.
> JK> Thanks so lot.
>
> When i'm trying compile my .prg file with 'hbsuper.lib' i get :
>
> $ hbmk2 rzm_h -l/hb-mingwarm/lib/libhbsuper.a  -l/hb-mingwarm/lib/libhbct.a 
> -l/hb-mingwarm/lib/libhbwin.a
> hbmk: Processing configuration: C:\msys\1.0\hb-mingwarm\bin\hbmk.cfg
> Harbour 1.1.0dev (Rev. 11135)
> Copyright (c) 1999-2009, http://www.harbour-project.org/
> Compiling 'rzm_h.prg'...
> Lines 5646, Functions/Procedures 80
> Generating C source output to 'rzm_h.c'... Done.
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x5c): 
> undefined reference to `HB_FUN_RAT_ON'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x7c): 
> undefined reference to `HB_FUN_RAT_LEFTB'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x8c): 
> undefined reference to `HB_FUN_RAT_ROWL'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x9c): 
> undefined reference to `HB_FUN_RAT_COLL'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0xac): 
> undefined reference to `HB_FUN_RAT_RIGHTB'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0xbc): 
> undefined reference to `HB_FUN_RAT_ROWR'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0xcc): 
> undefined reference to `HB_FUN_RAT_COLR'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x11c): 
> undefined reference to `HB_FUN_RAT_OFF'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x14c): 
> undefined reference to `HB_FUN_RAT_LBHD'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x16c): 
> undefined reference to `HB_FUN_RAT_RBHD'
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a(s_moose.o):s_moose.c:(.data+0x1ac): 
> undefined reference to `HB_FUN_RAT_EXIST'
> collect2: ld returned 1 exit status
> hbmk: Error: Running linker. 1
> C:/msys/1.0/opt/mingw32ce/bin\arm-wince-mingw32ce-gcc.exe rzm_h.o 
> hbmk_gr1roz.o    -Wl,--start-group
> C:/msys/1.0/hb-mingwarm/lib/libhbsuper.a 
> C:/msys/1.0/hb-mingwarm/lib/libhbct.a C:/msys/1.0/hb-mingwarm/lib/libhbwin.a
> -lhbcpage -lhblang -lhbcommon -lhbcplr -lhbdebug -lhbvm -lhbrdd -lhbusrrdd 
> -lhbuddall -lhbhsx -lhbsix -lrddntx -lrddnsx
> -lrddcdx -lrddfpt -lhbrtl -lhbpp -lhbmacro -lhbextern -lgtcgi -lgtpca -lgtstd 
> -lgtwvt -lgtgui -lhbpcre -lhbzlib -lwininet
> -lws2 -lcommdlg -lcommctrl -luuid -lole32 -Wl,--end-group -orzm_h.exe 
> -LC:/msys/1.0/hb-mingwarm/lib
>
> I don't use these functions in my app. Any help would be appreciated.
>
> --
> Regards,
>  Jaroslaw Kadziola
>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to