Simon, I had to drop this project because of some business reasons that took quite a bit of my time. I suspect that the code I developed is now so far behind that when I return to this I will just start from scratch. I had begun a small reorganization of screenio.c that put SCREEN SECTION ACCEPT/DISPLAY verbs and WS ACCEPT/DISPLAY verbs into distinct areas. I know that it already has some of that separation but the SS code is more complete in data conversions and formatting. By decoupling the WS...
Vincent, Thanks for you input. Are you running latest updates to 22.04 such as 22.04.3 with all bug fixes etc, installed? Yes: lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy Have you (on the basis you are using the codebase) done a svn status and then svn update for the GnuCobol codebase ? My GC download is current as of 2023-12-19 Have you double checked that ALL needed packages and libraries are installed including the -dev products ? Many times...
Update: GnuCobol .3-dev Ubuntu 22.04 (jellyfish) gcc 11.4.0 RE: linking error at end of 'make': /bin/bash ../libtool --tag=CC --mode=link gcc -g -Q -Wl,--no-as-needed -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -version-info 6:0:2 -no-undefined -L/usr/lib/x86_64-linux-gnu -Wl,-z,relro,-z,now,-O1 -o libcob.la -rpath /usr/local/lib common.lo move.lo numeric.lo strings.lo fileio.lo call.lo intrinsic.lo termio.lo screenio.lo reportio.lo cobgetopt.lo...
Update on VBISAM shared object preparation ... I was able to get libvbisam.so created by using the following: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH ./configure \ --disable-static \ --enable-shared \ --with-pic \ CFLAGS='-g -fPIC -Q -Wl,--no-as-needed' \ LDFLAGS="-L/usr/lib/x86_64-linux-gnu" The addition of '-fPIC' in CFLAGS did the trick. Quite frankly configure seems to ignore the options presented. Also when building GC it seems that configure ignores '--disable-nls' when compiling...
Very informative web page - thank you. VBISAM - I tried with --enable shared but did not include --disable static. I give it a go with both soon. Again thank you.
Thanks for the input. Now that I have a complete list it will be better to have them and not need them. I am not sure what web page you reference for seeing the dependencies for GC ... Lastly, I have not been able to compile libvbisam into a shared object, only a '.a'. It is not important right now as I have other fires to put out. Thanks again. G
OK - only use tarballs - got it. Thanks
G'day Vincent, My Ubuntu is 22.04.3 - fresh download about a week ago. Here is a list if the extra stuff that I added for the GNU project - some I knew about from experience, some I discovered while on this quest. Basic name: <pkg-name> dev <pkg-name> Installed ------------------ ---------------- ----------------- --------- bison bison libbison-dev Y crypto libcrypt libcrypt-dev Y dh-autoreconf dh-autoreconf Y flex flex Y gcc gcc Y gettext gettext Y help2man help2man Y json libjson-c libjson-c-dev...