Alain Aupeix ?????:
>
> Having corrected it, I had another error concerning hbvmpub.h not found
> => due to difference of habour location
There is a construction in build.sh:
if [ "x$HB_ROOT" = x ]; then
export HRB_BIN=/usr/local/bin
export HRB_INC=/usr/local/include/harbour
export HRB_LIB=/usr/local/lib/harbour
else
export HRB_BIN=$HB_ROOT/bin/linux/gcc
export HRB_INC=$HB_ROOT/include
export HRB_LIB=$HB_ROOT/lib/linux/gcc
fi
If your Harbour isn't placed in /usr/local/bin, /usr/local/include,
/usr/local/lib, you need to set the HB_ROOT.
> So I made my own which works for all others samples I tried
> Here is now some warnings, and an error:
>
> /tmp/ccicMDGs.o:(.data+0x6f0): undefined reference to
> `HB_FUN_HB_COMPILEFROMBUF'
It seems that in your own script the -lhbcplr is absent in a libraries list.
Regards, Alexander.
|