link error

link error

Postby NWKL » 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
NWKL
 
Posts: 26
Joined: Thu Aug 04, 2022 12:45 pm

Re: link error

Postby Enrico Maria Giordano » Sun Feb 11, 2024 10:59 am

Can you provide a little PRG sample and your compile batch, please?
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: link error

Postby Antonio Linares » Sun Feb 11, 2024 12:58 pm

Code: Select all  Expand view  RUN
#pragma BEGINDUMP

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

#pragma ENDDUMP


https://forums.fivetechsupport.com/view ... 64#p265564
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Re: link error

Postby NWKL » Wed Feb 14, 2024 1: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.
NWKL
 
Posts: 26
Joined: Thu Aug 04, 2022 12:45 pm

Re: link error

Postby Enrico Maria Giordano » Wed Feb 14, 2024 1: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.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: link error

Postby NWKL » Wed Feb 14, 2024 1: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
NWKL
 
Posts: 26
Joined: Thu Aug 04, 2022 12:45 pm

Re: link error

Postby Enrico Maria Giordano » Wed Feb 14, 2024 3:27 pm

What do I need to compile rddads.lib? I guess I need ADS installed but I don't have it.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: link error

Postby NWKL » Wed Feb 14, 2024 3:35 pm

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

thanks
NWKL
 
Posts: 26
Joined: Thu Aug 04, 2022 12:45 pm

Re: link error

Postby Enrico Maria Giordano » Wed Feb 14, 2024 3:46 pm

Ok, I will try it, thank you.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: link error

Postby Enrico Maria Giordano » Wed Feb 14, 2024 3:58 pm

In the readme.txt there is this:

Code: Select all  Expand view  RUN
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.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: link error

Postby Enrico Maria Giordano » Wed Feb 14, 2024 4:16 pm

It looks like I need to install ADS, or am I wrong? Somebody can provide me ADS directory already installed, please?
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: link error

Postby NWKL » Wed Feb 14, 2024 5: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
NWKL
 
Posts: 26
Joined: Thu Aug 04, 2022 12:45 pm

Re: link error

Postby Enrico Maria Giordano » Wed Feb 14, 2024 6: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: Select all  Expand view  RUN
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?
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: link error

Postby NWKL » Wed Feb 14, 2024 6: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.
NWKL
 
Posts: 26
Joined: Thu Aug 04, 2022 12:45 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 57 guests