Page 1 of 1

Unresolved External Symbol _hb_dynsymSymbol

Posted: Thu Feb 09, 2006 12:53 am
by Sakis
Hello FiveWiners

How to solve this situation ? Any help would be apreciate.

System FWH February 2006 Builb - xHarbour commercial xBuilder February 2006 release.

Many Thanks
Greetings
Dionisis

Posted: Thu Feb 09, 2006 7:11 am
by Frank Demont
I downloaded the new version from fw and tryed it on a sample :

xLINK: error: Unresolved external symbol '_hb_dynsymSymbol'.

xLINK: fatal error: 1 unresolved external(s).

Frank

Posted: Thu Feb 09, 2006 7:22 am
by Sakis
Hi Antonio

As Frank say's trying to link one of the samples not only my application . I faced out the same error.

TIA
Dionisis

Posted: Thu Feb 09, 2006 7:30 am
by Enrico Maria Giordano
You must use the provided Harbour or xHarbour, as far as I know.

EMG

Posted: Thu Feb 09, 2006 8:11 am
by Sakis
Hi Enrico

No because I use the comercial version of xHarbour compiler. And with FWH January build i diden't faced any problems at all. Also i dident faced any problems with last week's Antonios Beta Testing LIBS . I am afread that is more in depth issue.

Greetings
Dionisis

Posted: Thu Feb 09, 2006 8:29 am
by Frank Demont
Hello,

It seems that to vm.lib a module dynsym.c is changed , it is visible on cvs

I am afraid that we have to wait on e new release from xhb.

In changelog :

* xharbour/contrib/rdd_ads/adsmgmnt.c
* rewritten ADSMGGETUSERNAMES() - now it does not access any item
internals, is safe for future automatic GC activation and is faster
because array resizing has been eliminated.
I cannot test it so I'd like to ask Luiz to check this function
for some possible typos.

* xharbour/include/hbapi.h
* xharbour/source/vm/dynsym.c
+ added hb_dynsymSymbol()

Posted: Thu Feb 09, 2006 11:04 am
by Enrico Maria Giordano
Sakis wrote:No because I use the comercial version of xHarbour compiler.
Then you have to ask xHarbour.com for an update. Or stick with FWH of January.

EMG

Posted: Thu Feb 09, 2006 3:48 pm
by Antonio Linares
Meanwhile xHB does not release a new build, there is a workaround to fix it. Please add this function to your app:

#pragma BEGINDUMP

#include "hbapi.h"
#include "hbapiitm.h"

PHB_SYMB hb_dynsymSymbol( PHB_DYNS pDynSym )
{
return pDynSym->pSymbol;
}

#pragma ENDDUMP

Posted: Thu Feb 09, 2006 5:31 pm
by Enrico Maria Giordano
Great! :-)

EMG

Posted: Thu Feb 09, 2006 7:45 pm
by Sakis
Antonio you make your miracle again!!!!! :D


MANY MANY THANKS

Dionisis