FWH 11.11 + xharbour.com + xCC

FWH 11.11 + xharbour.com + xCC

Postby frose » Wed Nov 30, 2011 9:41 am

Antonio,

I can't update to FWH1111, perhaps the reason is that I'm using xHarbour.com Okt'11-1.2.1 (9382) with xCC!?

Here the Link errors:

xLINK: error: Unresolved external symbol '_png_sig_cmp referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_create_write_struct referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_create_info_struct referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_longjmp_fn referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_IHDR referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_malloc referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_init_io referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_rows referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_write_png referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_free referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_destroy_write_struct referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_create_read_struct referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_destroy_read_struct referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_read_fn referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_read_info referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_get_IHDR referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_get_valid referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_tRNS_to_alpha referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_gray_to_rgb referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_bgr referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_set_strip_16 referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_read_update_info referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_get_channels referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_get_rowbytes referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_read_image referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_png_get_io_ptr referenced from Fivehcm.lib(FWPNG.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_BORLANDC referenced from Fivehmx.lib(GETSYSIN.obj)'.
xLINK: fatal error: 27 unresolved external(s).

Please help :?
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg


Re: FWH 11.11 + xharbour.com + xCC

Postby frose » Wed Nov 30, 2011 12:38 pm

Enrico,

added this one
http://code.google.com/p/harbour-and-xh ... b&can=2&q=
to my link script.

Now there are 4 link errors remaining:
xLINK: error: Unresolved external symbol '_HB_FUN_BORLANDC referenced from Fivehmx.lib(GETSYSIN.obj)'.
xLINK: error: Unresolved external symbol '__snprintf referenced from png.lib(png.obj)'.
xLINK: error: Unresolved external symbol '__CIpow referenced from png.lib(png.obj)'.
xLINK: error: Unresolved external symbol '__iob referenced from png.lib(pngerror.obj)'.
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: FWH 11.11 + xharbour.com + xCC

Postby Antonio Linares » Wed Nov 30, 2011 1:41 pm

regards, saludos

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

Re: FWH 11.11 + xharbour.com + xCC

Postby frose » Wed Nov 30, 2011 1:54 pm

Antonio,

one link error:
xLINK: error: Unresolved external symbol '_HB_FUN_BORLANDC referenced from Fivehmx.lib(GETSYSIN.obj)'.
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: FWH 11.11 + xharbour.com + xCC

Postby Enrico Maria Giordano » Wed Nov 30, 2011 2:01 pm

This is what I found inside wndis.c:

Code: Select all  Expand view
HB_FUNC( BORLANDC )
{
     #ifdef __BORLANDC__
      hb_retnl( __BORLANDC__ );
   #else
      hb_retnl( 0 );
   #endif  
}


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: FWH 11.11 + xharbour.com + xCC

Postby frose » Wed Nov 30, 2011 2:24 pm

Enrico, Antonio,

inserted:
Code: Select all  Expand view
#pragma BEGINDUMP

    HB_FUNC( BORLANDC )
    {
         #ifdef __BORLANDC__
          hb_retnl( __BORLANDC__ );
       #else
          hb_retnl( 0 );
       #endif  
    }
#pragma ENDDUMP
 

the app crashes :(
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: FWH 11.11 + xharbour.com + xCC

Postby Antonio Linares » Wed Nov 30, 2011 2:34 pm

Frose,

Try to link libc.lib instead of libcmt.lib:

http://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=LIBC.LIB&can=2&q=

Also, if possible, please download the demo version of xHB.com and try with it. We have tested it and worked fine :-)
regards, saludos

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

Re: FWH 11.11 + xharbour.com + xCC

Postby frose » Wed Nov 30, 2011 3:11 pm

Antonio,

that's it! :D
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: FWH 11.11 + xharbour.com + xCC

Postby Antonio Linares » Wed Nov 30, 2011 3:54 pm

Very good! :-)
regards, saludos

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

Re: FWH 11.11 + xharbour.com + xCC

Postby Horizon » Thu Dec 01, 2011 8:13 pm

Hi Antonio,

I have added LIBC.LIB to my .xbp file. but it gives


xLINK: error: Unresolved external symbol '_HB_FUN_BORLANDC referenced from Fivehmx.lib(GETSYSIN.obj)'.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 11.11 + xharbour.com + xCC

Postby Antonio Linares » Thu Dec 01, 2011 9:13 pm

Hakan,

Simply add this to your app:

function BorlandC()

return 0
regards, saludos

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

Re: FWH 11.11 + xharbour.com + xCC

Postby Horizon » Fri Dec 02, 2011 7:29 am

Antonio,


Image
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 11.11 + xharbour.com + xCC

Postby Antonio Linares » Fri Dec 02, 2011 10:37 am

Hakan,

Please list all the libraries that you are linking, thanks
regards, saludos

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

Re: FWH 11.11 + xharbour.com + xCC

Postby Horizon » Fri Dec 02, 2011 12:07 pm

Antonio,

Code: Select all  Expand view
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"D:\fwh\lib" -LIBPATH:"D:\xHB\lib" -LIBPATH:"D:\xHB\c_lib" -LIBPATH:"D:\xHB\c_lib\win"  "objw\MASTER.obj" "objw\Vekalet.obj" "objw\VekIsim.obj" "objw\Noter.obj" "objw\PARAMET.obj" "objw\VekilUcr.obj" "objw\Param_Ortak.obj" "objw\IcraKart.obj" "objw\Borc.obj" "objw\TFoy.obj" "objw\ICRA_Lib.obj" "objw\IcraKonu.obj" "objw\faizler.obj" "objw\TVekUcret.obj" "objw\Yardimci.obj" "objw\FastRepH.obj" "objw\TFaiz.obj" "objw\Rapor.obj" "objw\ICRA_LB1.obj" "objw\Rapor2.obj" "objw\Rap_Vekalet.obj" "objw\Kasa.obj" "objw\Rap_Kasa.obj" "objw\Avans.obj" "objw\Uyap.obj" "objw\Raporlar.obj" "objw\TopluUYAP.obj" "objw\TopluDosyaH.obj" "objw\TopluTebligat.obj" "objw\MF_Dilekceler.obj" "objw\MF_Muzekkereler.obj" "objw\MF_Talepler.obj" "objw\MF_Ornekler.obj" "objw\MF_Diger.obj" "objw\Ajanda.obj" "objw\GetMACAdapters.obj" "objw\XPPP.obj" "objw\xHasp.obj" "D:\ONEMLI\EXTRA_C\xhb.obj" "objw\resource.res" "D:\xHB\c_lib\Win\iphlpapi.lib" "D:\ONEMLI\PPP\ent\SKeyLE32.lib" "D:\ONEMLI\HASP\haspw32.lib" "D:\PRG\520\\objektw.lib" "D:\PRG\LIB_EXTRA\png.lib" "D:\PRG\LIB_EXTRA\LIBC.LIB" "FiveHCM.lib" "FiveHMX.lib" "OptG.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib OleDlg.lib version.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"icraw.exe"<<<

xLINK: warning: Symbol '(Rapor2.obj)->_HB_FUN_SHOWPROGRESS previously defined at (Rapor.obj)' is multiply defined.

xLINK: warning: Symbol '(Rapor2.obj)->_HB_FUN_SHOWPROCESS previously defined at (Rapor.obj)' is multiply defined.

xLINK: warning: Symbol '(Rapor2.obj)->_HB_FUN_ICRAKART_TOPLAMSON previously defined at (Rapor.obj)' is multiply defined.

xLINK: warning: Symbol '(Rapor2.obj)->_HB_FUN_ICRAKART_TOPLAMAL previously defined at (Rapor.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\PRG\520\objektw.lib(wLib_3.obj)->_HB_FUN_DISABLEX previously defined at (PARAMET.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\PRG\520\objektw.lib(LIB_1.obj)->_HB_FUN_AY_BUL previously defined at (ICRA_Lib.obj)' is multiply defined.

xLINK: warning: Multiple '.CRT$XIC' sections found with different attributes (0x40000040 and 0xc0000040).

xLINK: warning: Multiple '.CRT$XIC' sections found with different attributes (0x40000040 and 0xc0000040).

xLINK: warning: Symbol 'D:\fwh\lib\Fivehcm.lib(RESCHECK.obj)->_DelResource@4 previously defined at D:\PRG\520\objektw.lib(wLib_3.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\fwh\lib\Fivehcm.lib(RESCHECK.obj)->_RegisterResource previously defined at D:\PRG\520\objektw.lib(wLib_3.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\fwh\lib\Fivehmx.lib(IMAGE.obj)->_HB_FUN_WOWHANDLE16 previously defined at D:\PRG\520\objektw.lib(TScanner.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\fwh\lib\Fivehmx.lib(BITMAP.obj)->_HB_FUN_PALBMPFREE previously defined at D:\PRG\520\objektw.lib(wLib_3.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\xHB\lib\xhb.lib(xhbrtl.obj)->__doserrno previously defined at D:\PRG\LIB_EXTRA\LIBC.LIB(crt0dat.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\xHB\lib\xhb.lib(xhbrtl.obj)->__dosmaperr previously defined at D:\PRG\LIB_EXTRA\LIBC.LIB(dosmap.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\xHB\lib\xhb.lib(util.obj)->_HB_FUN_OCCURS previously defined at D:\PRG\520\objektw.lib(LIB_G.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\xHB\c_lib\crt.lib(malloc.obj)->_malloc previously defined at D:\PRG\LIB_EXTRA\LIBC.LIB(malloc.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\xHB\c_lib\crt.lib(fclose.obj)->_fclose previously defined at D:\PRG\LIB_EXTRA\LIBC.LIB(fclose.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\xHB\c_lib\crt.lib(exit.obj)->_exit previously defined at D:\PRG\LIB_EXTRA\LIBC.LIB(crt0dat.obj)' is multiply defined.

xLINK: warning: Symbol 'D:\PRG\LIB_EXTRA\LIBC.LIB(pow.obj)->_pow previously defined at D:\xHB\c_lib\crt.lib(pow.obj)' is multiply defined.

Creating object: icraw.EXP

Creating library: icraw.LIB

xLINK: error: Unresolved external symbol '_HB_FUN_BORLANDC referenced from Fivehmx.lib(GETSYSIN.obj)'.

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


Type: C >>>Couldn't build: icraw.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>>      1409<<<

Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests