Page 1 of 2
link error
Posted: Sun Feb 11, 2024 10:53 am
by NWKL
I'm moving from a previous version of BCC to BCC74 32bits , xharbour last version and fwh23.10 , I get this error when linking, is it missing a lib in make?
Error: Unresolved external '___get_std_stream' referenced from \XHARBOUR32\LIB\COMMON.LIB|hbtrace
Error: Unresolved external '__chdir' referenced from \XHARBOUR32\LIB\HBZIP.LIB|zipplatform
Error: Unable to perform link
thanks
Re: link error
Posted: Sun Feb 11, 2024 10:59 am
by Enrico Maria Giordano
Can you provide a little PRG sample and your compile batch, please?
Re: link error
Posted: Sun Feb 11, 2024 12:58 pm
by Antonio Linares
Code: Select all | Expand
#pragma BEGINDUMP
void __get_std_stream() {}
void _chdir() {}
#pragma ENDDUMP
https://forums.fivetechsupport.com/view ... 64#p265564
Re: link error
Posted: Sun Feb 11, 2024 1:07 pm
by Enrico Maria Giordano
Thank you.
Re: link error
Posted: Wed Feb 14, 2024 1:40 pm
by NWKL
thanks for reply.
i move to bcc77 , 32 bits, now i get:
Error: Unresolved external '__streams' referenced from \XHARBOUR32\LIB\RDDADS.LIB|ads1
Error: Unable to perform link
can i use the same tip?
void _streams() {}
this is affect my appl?
someone have rddads and ace32 compiled with last harbour and xharbour?
thanks again.
Re: link error
Posted: Wed Feb 14, 2024 1:49 pm
by Enrico Maria Giordano
NWKL wrote:i move to bcc77 , 32 bits, now i get:
Error: Unresolved external '__streams' referenced from \XHARBOUR32\LIB\RDDADS.LIB|ads1
Error: Unable to perform link
can i use the same tip?
void _streams() {}
Yes, you can try it.
NWKL wrote:this is affect my appl?
It should not.
NWKL wrote:someone have rddads and ace32 compiled with last harbour and xharbour?
What do I need to compile them? Please note that I never used ADS.
Re: link error
Posted: Wed Feb 14, 2024 1:54 pm
by NWKL
Enrico, thanks for reply, last xharbour from site dont come with this libs, this is for use with ads, in folder source/contrib, without them i need compile xharbour again, i want use binaries from site.
ace32.lib i can get from implib, i need only rddads.lib.
thanks
Re: link error
Posted: Wed Feb 14, 2024 3:27 pm
by Enrico Maria Giordano
What do I need to compile rddads.lib? I guess I need ADS installed but I don't have it.
Re: link error
Posted: Wed Feb 14, 2024 3:35 pm
by NWKL
hi, you dont need ads, only run makefile in contrib dir, i used this way when in past.
thanks
Re: link error
Posted: Wed Feb 14, 2024 3:46 pm
by Enrico Maria Giordano
Ok, I will try it, thank you.
Re: link error
Posted: Wed Feb 14, 2024 3:58 pm
by Enrico Maria Giordano
In the readme.txt there is this:
Code: Select all | Expand
SET HB_DIR_ADS=<install dir>
Required to build rdads.lib
Download URL: http://devzone.advantagedatabase.com/dz/content.aspx?Key=20
But that link is not valid anymore.
Re: link error
Posted: Wed Feb 14, 2024 4:16 pm
by Enrico Maria Giordano
It looks like I need to install ADS, or am I wrong? Somebody can provide me ADS directory already installed, please?
Re: link error
Posted: Wed Feb 14, 2024 5:52 pm
by NWKL
Hi Enrico, you dont need ads server install, just ace or arc .
but i guess s a p dont have ads support now.
im trying another samples with bcc770 , with fwh samples, like designer, rbdesign and get link errors with buildx.bat from fivetech, is the samples compatible only with harbour ou bcc specific version?
thanks
Re: link error
Posted: Wed Feb 14, 2024 6:03 pm
by Enrico Maria Giordano
NWKL wrote:Hi Enrico, you dont need ads server install, just ace or arc .
but i guess s a p dont have ads support now.
I'm trying with an empty directory and this is what I get:
Code: Select all | Expand
fatal error C1083: Cannot open include file: 'ace.h': No such file or directory
Can you send me what is needed, please? Doing so, I will provide rddads.lib for all the future xHarbour builds.
NWKL wrote:im trying another samples with bcc770 , with fwh samples, like designer, rbdesign and get link errors with buildx.bat from fivetech, is the samples compatible only with harbour ou bcc specific version?
Can I see the error messages you get, please?
Re: link error
Posted: Wed Feb 14, 2024 6:11 pm
by NWKL
this :
Error: Unresolved external '_HB_FUN_FREOPEN_STDERR' referenced from RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_HB_COMPILEFROMBUF' referenced from RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_HB_HRBRUN' referenced from RBDESIGN.OBJ
Error: Unable to perform link
im using xharbour binaries from xharbour.org, bcc770 and last fwh 32bits, with buildx from fivetech.