build error with UESTUDIO?

Post Reply
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

build error with UESTUDIO?

Post by dutch »

Dear Antonio,

I build FWPPC by UESTUDIO and got error as following

--------------------Configuration: EZPDA - Release--------------------
FiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_TOLEAUTO
FiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_FREELIBRARY
FiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_LOADLIBRARY
EZPDA.exe : fatal error LNK1120: 3 unresolved externals
EZPDA.EXE - 4 error(s), 0 warning(s)

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: build error with UESTUDIO?

Post by Antonio Linares »

Dutch,

You have to link hbwin.lib from Harbour too :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: build error with UESTUDIO?

Post by dutch »

Dear Antonio,

I've got another error
--------------------Configuration: EZPDA - Release--------------------
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

EZPDA.c
hbvm.lib(hvmall.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x0003D73C
EZPDA.exe : fatal error LNK1106: invalid file or disk full: cannot seek to 0xDF5E8
EZPDA.EXE - 1 error(s), 1 warning(s)
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: build error with UESTUDIO?

Post by Antonio Linares »

Dutch,
EZPDA.exe : fatal error LNK1106: invalid file or disk full
First time I see that error. Do you have enough free disk space on your computer ?

Please go to FWPPC\samples and do buildce.bat tutor01
Lets check if your tools are properly installed and if it builds tutor01.exe, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: build error with UESTUDIO?

Post by dutch »

Dear Antonio,
Antonio Linares wrote:First time I see that error. Do you have enough free disk space on your computer ?

Please go to FWPPC\samples and do buildce.bat tutor01
Lets check if your tools are properly installed and if it builds tutor01.exe, thanks
My disk has free space 70Gb and 'buildce.bat tutor01' is build perfectly (without problem).

I try again today and it shows as below.

Code: Select all

--------------------Configuration: EZPDA - Release--------------------
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

EZPDA.c
hbvm.lib(hvmall.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x0003D68C
EZPDA.EXE - 0 error(s), 1 warning(s)
 
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: build error with UESTUDIO?

Post by Antonio Linares »

Dutch,

Are you using a makefile to build FWPPC apps from UEStudio ?

Is it the one that we provide with FWPPC ?

If you are using just one PRG you can set a new yestudio tool and directly call buildce.bat from it. I can show you how to do this. It is very useful :-)
regards, saludos

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

Re: build error with UESTUDIO?

Post by Antonio Linares »

Dutch,

That result from today is fine! :-)

You can safely ignore that warning or use this flag when you call link.exe: /ARMPADCODE:NO to avoid it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: build error with UESTUDIO?

Post by dutch »

Antonio Linares wrote:Dutch,

Are you using a makefile to build FWPPC apps from UEStudio ?

Is it the one that we provide with FWPPC ?

If you are using just one PRG you can set a new yestudio tool and directly call buildce.bat from it. I can show you how to do this. It is very useful :-)
1. No, it is not from UESTUDIO.
2. Yes, from FWPPC.
3. It might be ok, how?
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: build error with UESTUDIO?

Post by Antonio Linares »

Dutch,

This way you can call FiveWin batch files directly from UEStudio and this is really usefull for quick testing, etc :-)

Image

Image

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: build error with UESTUDIO?

Post by dutch »

Dear Antonio,

I've used your setup for single PRG. It works fine now.

Thanks a lot
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: build error with UESTUDIO?

Post by Antonio Linares »

Dutch,

Very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply