On Fri, 19 Jun 2009, Guy Roussin wrote:

Hi,

> All is fine *except one point* :
> When i run apps dynamic link on mips(el) i get a
> segmentation fault :
>
> g...@cobalt:~$ hbmk2 t
> hbmk: Processing configuration: /usr/local/bin/hbmk.cfg
>     Harbour 2.0.0beta1 (Rev. 11424)
> Copyright (c) 1999-2009, http://www.harbour-project.org/
> Compiling 't.prg'...
> Lines 3, Functions/Procedures 1
> Generating C source output to 't.c'... Done.
> g...@cobalt:~$ ./t
> Segmentation fault

Probably there is sth wrong with shared library.
Try to check if valid harbour.so is used by:
   ldd ./t
and also:
   file <path>/libharbour-2.0.0.so

Some architectures may need special compile time switches for
shared library code. You can try to recompile whole Harbour
code with:
   export HB_USER_PRGFLAGS="-fPIC"
though usually such problems are detected at link time when shared
library is created.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to