On Mon, 7 Sep 2009, dru...@users.sourceforge.net wrote: hi,
> 2009-09-07 22:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/source/vm/thread.c > + added HB_MT() PRG function which exists only in MT HVM version and > can be REQUESTed from .prg code to force linking MT HVM. this broke several combinations: linux, sunpro, both c and cpp (with minimal differences in the wording of the error message): ! HB_BUILD_DEBUG: yes ! HB_BUILD_OPTIM: no ! HB_BUILD_MODE: c (also cpp) ! HB_CONTRIBLIBS: no ! HB_HOST_PLAT: linux HB_SHELL: sh ! HB_PLATFORM: linux ! HB_COMPILER: sunpro ar crs ../../../../../lib/linux/sunpro/libhbvm.a hvmall.o arrayshb.o asort.o break.o cmdarg.o debug.o dynlibhb.o eval.o evalhb.o extrap.o hashfunc.o initexit.o initsymb.o memvclip.o pcount.o pvalue.o proc.o runner.o vm.o main.o harbinit.o || ( rm -f ../../../../../lib/linux/sunpro/libhbvm.a && false ) suncc -I. -I../../../../../../include -KPIC -erroff=%none -g -DHB_TR_LEVEL_DEBUG -DHB_MT_VM -o hvmall.o -c ../../../../hvmall.c "../../../../thread.c", line 2512: undefined symbol: _hb_stack_ptr_ "../../../../thread.c", line 2512: cannot dereference non-pointer type "../../../../thread.c", line 2512: warning: left operand of "." must be struct/union object "../../../../thread.c", line 2512: cannot access member of non-struct/union object cc: acomp failed for ../../../../hvmall.c make[4]: *** [hvmall.o] Error 1 make[3]: *** [descend] Error 2 make[2]: *** [vmmt] Error 2 make[1]: *** [vm] Error 2 make: *** [source] Error 2 linux, mingw to win, both c and cpp (with minimal differences in the wording of the error message): ! HB_BUILD_DEBUG: yes ! HB_BUILD_OPTIM: no ! HB_BUILD_MODE: c (also cpp) ! HB_CONTRIBLIBS: no ! HB_HOST_PLAT: linux HB_SHELL: sh ! HB_PLATFORM: win (x86) ! HB_COMPILER: mingw (autodetected: /usr/bin/) /usr/bin/i586-mingw32msvc-gcc -I. -I../../../../../../include -Wall -W -g -DHB_TR_LEVEL_DEBUG -DHB_MT_VM -ohvmall.o -c ../../../../hvmall.c In file included from ../../../../hvmall.c:89: ../../../../thread.c: In function ‘HB_FUN_HB_MT’: ../../../../thread.c:2512: error: ‘_hb_stack_ptr_’ undeclared (first use in this function) ../../../../thread.c:2512: error: (Each undeclared identifier is reported only once ../../../../thread.c:2512: error: for each function it appears in.) make[4]: *** [hvmall.o] Error 1 make[3]: *** [descend] Error 2 make[2]: *** [vmmt] Error 2 make[1]: *** [vm] Error 2 make: *** [source] Error 2 linux xbuild dos/watcom, linux/gcc, linux/g++, linux/watcom, linux xbuild win/watcom seem fine. -- [-] mkdir /nonexistent _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour