Hi Przemek

If you are using statically linked application then it's necessary
to recompile Harbour using with HB_DYNLIB macro to force exporting
hb_vmProcessSymbols() and hb_vmExecute() functions. You can make it
by setting HB_USER_CFLAGS envvar, i.e.:

  set HB_USER_CFLAGS=-DHB_DYNLIB

before compiling harbour code.
As I wrote above it's possible to eliminate this condition by
small modification in HVM library and hbmk2.


ok. I'll do that.


There is an error when I try to recompile Harbour core with -DHB_DYNLIB.
Apparently the problem is about hbpp.exe

See the error below:

...
gcc   -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -march=i586
-mtune=pentiumpro -DHB_LEGACY_TYPES_OFF -DHB_DYNLIB -ohbpp.o -c ../../../hbpp.c gcc -L../../../../../lib/win/mingw -o ..\..\..\..\..\bin\win\mingw\hbpp.exe h
bpp.o -lhbnortl -lhbcommon -lkernel32 -luser32 -lws2_32 -ladvapi32 -lgdi32
/mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `winm...@16'
collect2: ld returned 1 exit status
mingw32-make[3]: *** [hbpp.exe] Error 1
rm hbpp.o
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [pp.inst] Error 2
mingw32-make: *** [src.inst] Error 2

Brgds
Leandro
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to