• Compiling the sources of my system with xharbour 64bit

    From reinaldohf@gmail.com@21:1/5 to All on Fri Feb 10 12:17:12 2023
    I am trying ti compile my system with xharbour 64bit, and i have an error in the ILINK64.
    What is wrong?
    Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
    Fatal: Invalid object file 'C:\MILENIO\MTZ64BIT\OBJ\MILENIO.OBJ'

    thanks in advance,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Feb 10 21:39:39 2023
    Il 10/02/2023 21:17, reina...@gmail.com ha scritto:

    I am trying ti compile my system with xharbour 64bit, and i have an error in the ILINK64.
    What is wrong?
    Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
    Fatal: Invalid object file 'C:\MILENIO\MTZ64BIT\OBJ\MILENIO.OBJ'

    Probably MILENIO.OBJ is compiled with BCC32.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Sun Feb 12 00:01:03 2023
    Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
    Fatal: Invalid object file 'C:\MILENIO\MTZ64BIT\OBJ\MILENIO.OBJ'
    Probably MILENIO.OBJ is compiled with BCC32.

    Enrico, here is the command lines:
    It wasn't supposed to be a problem.

    SET HB_PATH=c:\XHB64BIT\XHARBOUR
    SET HB_INC_PATH=%HB_PATH%\include
    SET HB_LIB_PATH=%HB_PATH%\lib
    SET BCCDIR=c:\borland\BCC7364
    SET HARBOURFLAGS=-a -es2 -gc0 -n -w0 -q

    %BCCDIR%\BIN\BCC64.exe -c -I%HB_INC_PATH% -I%BCCDIR%\INCLUDE obj\%%~nf.c -oobj\%%~nf.obj >> erros.log

    Thank for your help:

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Sun Feb 12 09:22:21 2023
    Il 12/02/2023 09:01, reina...@gmail.com ha scritto:

    Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
    Fatal: Invalid object file 'C:\MILENIO\MTZ64BIT\OBJ\MILENIO.OBJ'

    Probably MILENIO.OBJ is compiled with BCC32.

    Enrico, here is the command lines:
    It wasn't supposed to be a problem.

    SET HB_PATH=c:\XHB64BIT\XHARBOUR
    SET HB_INC_PATH=%HB_PATH%\include
    SET HB_LIB_PATH=%HB_PATH%\lib
    SET BCCDIR=c:\borland\BCC7364
    SET HARBOURFLAGS=-a -es2 -gc0 -n -w0 -q

    %BCCDIR%\BIN\BCC64.exe -c -I%HB_INC_PATH% -I%BCCDIR%\INCLUDE obj\%%~nf.c -oobj\%%~nf.obj >> erros.log

    How did you get the .C file from the .PRG one?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Sun Feb 12 00:27:57 2023
    Enrico, here is the command lines:
    It wasn't supposed to be a problem.

    SET HB_PATH=c:\XHB64BIT\XHARBOUR
    SET HB_INC_PATH=%HB_PATH%\include
    SET HB_LIB_PATH=%HB_PATH%\lib
    SET BCCDIR=c:\borland\BCC7364
    SET HARBOURFLAGS=-a -es2 -gc0 -n -w0 -q

    %BCCDIR%\BIN\BCC64.exe -c -I%HB_INC_PATH% -I%BCCDIR%\INCLUDE obj\%%~nf.c -oobj\%%~nf.obj >> erros.log
    How did you get the .C file from the .PRG one?
    --
    here:
    if exist %%~nf.prg %HB_PATH%\bin\HARBOUR.EXE %HARBOURFLAGS% -I%HB_INC_PATH% -o.\obj\%%~nf.c %%~nf.prg >>erros.log

    Thanks for your help,
    Reyando Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Sun Feb 12 10:58:33 2023
    Il 12/02/2023 09:27, reina...@gmail.com ha scritto:
    How did you get the .C file from the .PRG one?

    here:
    if exist %%~nf.prg %HB_PATH%\bin\HARBOUR.EXE %HARBOURFLAGS% -I%HB_INC_PATH% -o.\obj\%%~nf.c %%~nf.prg >>erros.log

    Can I have the PRG to test it here?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Sun Feb 12 12:21:46 2023
    Em domingo, 12 de fevereiro de 2023 às 06:58:35 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/02/2023 09:27, reina...@gmail.com ha scritto:
    How did you get the .C file from the .PRG one?

    here:
    if exist %%~nf.prg %HB_PATH%\bin\HARBOUR.EXE %HARBOURFLAGS% -I%HB_INC_PATH% -o.\obj\%%~nf.c %%~nf.prg >>erros.log
    Can I have the PRG to test it here?
    --
    Enrico Maria Giordano

    Enrico,
    that's a lot of prg files on my system, that's 45 prg files in the build script. There are more than 54,000 lines of code, the first file inside the millenio.rsp file, the first of which is millenio.prg. The error is appearing for any prg file I put in
    millenio.rsp.

    I can test with other prg file, and if the erro appears I send the prg to you test.

    Thank for you Help.

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Sun Feb 12 17:36:43 2023
    Em domingo, 12 de fevereiro de 2023 às 17:21:48 UTC-3, reina...@gmail.com escreveu:
    Em domingo, 12 de fevereiro de 2023 às 06:58:35 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/02/2023 09:27, reina...@gmail.com ha scritto:
    How did you get the .C file from the .PRG one?

    here:
    if exist %%~nf.prg %HB_PATH%\bin\HARBOUR.EXE %HARBOURFLAGS% -I%HB_INC_PATH% -o.\obj\%%~nf.c %%~nf.prg >>erros.log
    Can I have the PRG to test it here?
    --
    Enrico Maria Giordano

    Enrico,
    that's a lot of prg files on my system, that's 45 prg files in the build script. There are more than 54,000 lines of code, the first file inside the millenio.rsp file, the first of which is millenio.prg. The error is appearing for any prg file I put in
    millenio.rsp.

    I can test with other prg file, and if the erro appears I send the prg to you test.

    Thank for you Help.

    Reynaldo Henrique

    Enrico,

    Now is apearing the error bellow:

    Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
    Fatal: Unable to open file 'PDFLIB.A'

    I think xharbour 64bit is missing pdflib.a.

    Thank for you help,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Mon Feb 13 10:22:34 2023
    Il 13/02/2023 02:36, reina...@gmail.com ha scritto:

    Enrico,

    Now is apearing the error bellow:

    Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
    Fatal: Unable to open file 'PDFLIB.A'

    I think xharbour 64bit is missing pdflib.a.

    Try with pdflite.a.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Mon Feb 13 06:54:11 2023
    Enrico,

    Now is apearing the error bellow:

    Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.
    Fatal: Unable to open file 'PDFLIB.A'

    I think xharbour 64bit is missing pdflib.a.
    Try with pdflite.a.
    --
    I already tryed with pdflite.a, and it does not resolved.
    So, I decide to re-create the pdflib.a from the sources that I had here in my computer
    I created the PDFLIB.a, and my application already is working fine here.
    I spent a lot of time to do the job.
    So, I am happy now!

    Best regards,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Mon Feb 13 16:06:51 2023
    Il 13/02/2023 15:54, reina...@gmail.com ha scritto:

    I already tryed with pdflite.a, and it does not resolved.
    So, I decide to re-create the pdflib.a from the sources that I had here in my computer
    I created the PDFLIB.a, and my application already is working fine here.
    I spent a lot of time to do the job.
    So, I am happy now!

    Great! Can you share the solution (ie. how to build the missing library)
    so i can include it in the standard distributions? It seems it not get
    built using make_bc.bat.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Thu Mar 9 19:34:40 2023
    Great! Can you share the solution (ie. how to build the missing library)
    so i can include it in the standard distributions? It seems it not get built using make_bc.bat.
    I will send the sources and the script file for your private email.

    Here is the bat file:

    :: This batch file was creates by Reynaldo Henrique
    :: em 13/02/2023, my email address is reinaldohf@gmail.com
    :: Location : Mulungu do Morro-BA - Brazil
    @echo off
    cls

    echo Creating a lib pdflib.a 64bit
    if exist pdflib.a @del pdflib.a /s >limpa.log
    if exist obj\*.o @del obj\*.o /s >>limpa.log
    if exist obj\*.c @del obj\*.c /s >>limpa.log

    :: here set the variables
    SET HB_PATH=c:\XHB64BIT\XHARBOUR
    SET HB_INC_PATH=%HB_PATH%\include
    SET HB_LIB_PATH=%HB_PATH%\lib
    SET BCCDIR=c:\borland\BCC7364
    SET HARBOURFLAGS=-a -es2 -gc0 -n -w0 -m

    :: here I compile the sources for de pdflib.a
    %HB_PATH%\bin\HARBOUR.EXE %HARBOURFLAGS% -I%HB_INC_PATH% -o.\obj\pdf1.c pdf1.prg
    %HB_PATH%\bin\HARBOUR.EXE %HARBOURFLAGS% -I%HB_INC_PATH% -o.\obj\pdfhbdocs.c pdfhbdocs.prg

    :: Here I make the .o object from the prg files
    %BCCDIR%\BIN\bcc64.exe -c -I%HB_INC_PATH% -I%BCCDIR%\INCLUDE pdfhbdoc.c -oobj\pdfhbdoc.o
    %BCCDIR%\BIN\bcc64.exe -c -I%HB_INC_PATH% -I%BCCDIR%\INCLUDE obj\pdf1.c -oobj\pdf1.o
    %BCCDIR%\BIN\bcc64.exe -c -I%HB_INC_PATH% -I%BCCDIR%\INCLUDE obj\pdfhbdocs.c -oobj\pdfhbdocs.o

    :: here I link the lib
    tlib64.exe /a pdflib.a obj\pdfhbdoc.o obj\pdf1.o obj\pdfhbdocs.o
    echo.
    echo.
    if exist pdflib.a copy pdflib.a c:\xhb64bit\xharbour\lib\.
    if exist pdflib.a dir pdflib.a

    Thanks,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Thu Mar 9 19:15:35 2023
    I already tryed with pdflite.a, and it does not resolved.
    So, I decide to re-create the pdflib.a from the sources that I had here in my computer
    I created the PDFLIB.a, and my application already is working fine here.
    I spent a lot of time to do the job.
    So, I am happy now!
    Great! Can you share the solution (ie. how to build the missing library)
    so i can include it in the standard distributions? It seems it not get
    built using make_bc.bat.

    I will send the sources and the script file for your private email.

    Thanks,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Mar 10 11:03:37 2023
    Il 10/03/2023 04:15, reina...@gmail.com ha scritto:

    I will send the sources and the script file for your private email.

    Thank you, but I just realize that it is too difficult for me to
    integrate it in the standard distribution, sorry. :-(

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)