FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour link error
Posts: 38
Joined: Thu Aug 04, 2022 12:45 PM
link error
Posted: Sun Feb 11, 2024 10:53 AM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: link error
Posted: Sun Feb 11, 2024 10:59 AM

Can you provide a little PRG sample and your compile batch, please?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: link error
Posted: Sun Feb 11, 2024 12:58 PM
Code (fw): Select all Collapse
#pragma BEGINDUMP

void __get_std_stream() {}
void _chdir() {}

#pragma ENDDUMP
https://forums.fivetechsupport.com/viewtopic.php?p=265564&sid=92fb8ad457fec08e8b9c6ff81a146d64#p265564
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 38
Joined: Thu Aug 04, 2022 12:45 PM
Re: link error
Posted: Wed Feb 14, 2024 01:40 PM

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.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: link error
Posted: Wed Feb 14, 2024 01:49 PM
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.
Posts: 38
Joined: Thu Aug 04, 2022 12:45 PM
Re: link error
Posted: Wed Feb 14, 2024 01:54 PM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: link error
Posted: Wed Feb 14, 2024 03:27 PM

What do I need to compile rddads.lib? I guess I need ADS installed but I don't have it.

Posts: 38
Joined: Thu Aug 04, 2022 12:45 PM
Re: link error
Posted: Wed Feb 14, 2024 03:35 PM

hi, you dont need ads, only run makefile in contrib dir, i used this way when in past.

thanks

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: link error
Posted: Wed Feb 14, 2024 03:46 PM

Ok, I will try it, thank you.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: link error
Posted: Wed Feb 14, 2024 03:58 PM
In the readme.txt there is this:
Code (fw): Select all Collapse
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.
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: link error
Posted: Wed Feb 14, 2024 04:16 PM

It looks like I need to install ADS, or am I wrong? Somebody can provide me ADS directory already installed, please?

Posts: 38
Joined: Thu Aug 04, 2022 12:45 PM
Re: link error
Posted: Wed Feb 14, 2024 05:52 PM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: link error
Posted: Wed Feb 14, 2024 06:03 PM
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 (fw): Select all Collapse
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?
Posts: 38
Joined: Thu Aug 04, 2022 12:45 PM
Re: link error
Posted: Wed Feb 14, 2024 06:11 PM

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.