|
From: | Ron Norman |
Subject: | Re: [Bug-GnuCOBOL] runtime module libcob/fileio.c not compilable with VBISAM |
Date: | Mon, 30 Oct 2017 10:29:42 -0700 |
Hi Ron,
After downloading the vbisam2, and a small correction in vbisam.h, it works fine.
The required correction:
In the age of 64 bit processors the definition
#define vbisam_off_t long long
has to be changed to a simple long
#define vbisam_off_t long
I see the note
#define VBISAM_USE_LONG_LONG /* Note hack for now */
but an using an int could be insufficient.
Many thanks for your hint and best regards
Harald
Von: Ron Norman [mailto:address@hidden]
Gesendet: Montag, 30. Oktober 2017 15:32
An: Harald Cordes | ITGAIN <address@hidden>
Cc: address@hidden
Betreff: Re: [Bug-GnuCOBOL] runtime module libcob/fileio.c not compilable with VBISAM
The GnuCOBOL README should say:
o VBISAM - ISAM file handler (libvbisam) 2.0 or later
VBISAM is distributed under GNU Lesser General Public License.
If you go to that link and Click on 'Files' you can find the vbisam2 version which is needed for GnuCOBOL.
On Mon, Oct 30, 2017 at 5:58 AM, Harald Cordes | ITGAIN <address@hidden> wrote:
Hi,
I downloaded VBISAM, like mentioned in README, from
http://sourceforge.net/
projects/vbisam/
After a configure –with-vbisam the subsequent make failed with an error msg
that during the link process the symbol isfullclose wasn’t available.
After adding in libcob/fileio.c near line 135 the definition for isfullclose:
#ifdef WITH_VBISAM
#include <vbisam.h>
#define isfullclose(x) isclose (x)
…
The error msg went and I got a running COBOL compiler the ISAM support.
cobc -version:
Built Oct 30 2017 12:55:36
With my best regards
Harald
--
Cheers
Ron Norman
[Prev in Thread] | Current Thread | [Next in Thread] |