[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] Linux Mint Borked?
From: |
Michael Anderson |
Subject: |
Re: [open-cobol-list] Linux Mint Borked? |
Date: |
Wed, 03 Jul 2013 18:13:33 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
On 07/03/2013 08:59 AM, Patrick wrote:
It gives libcob: Cannot find module itobs32
Patrick,
Works on my machine :-)
This makes me think that you may NOT have compiled correctly.
Did you:
cobc -x -free -ffunctions-all mybits.cob libOCbits.c -o mybits
Because itobs32 is in the libOCbits.c source file, along with bstoi32,
on_bit32, off_bit32, and chk_bit32.
All really simple examples of calling C from Cobol.....
I agree with what Brian said, something maybe a-muck on your machine.
One thing, on Ubuntu (not sure about Mint), when you 'sudo apt-get
install open-cobol", the installation path differs from the default
installation path defined in the opencobol tar ball.
So, if you install using apt-get, then reinstall using the downloaded
opencobol tar ball (or vice-versa), things maybe mucked up, maybe?
--
Mike.
mybits.cob
Description: Text Data
libOCbits.c
Description: Text Data