Hello Simon, Thanks for replying so quickly. I have run "make uninstall" and "make distclean" then removed the previous version of gnucobol to ensure my system is clean. A fresh install of v3.2 without any directives have worked OK thanks. Now using version 3.2, so I'm happy now. Many thanks, Iain
cobc: symbol lookup error: cobc: undefined symbol
Hello Piper, OK thanks for looking at the problem. I have been using SQLite3 but recently started using MySQL and got directed into installing MariaDB instead. Functionally the same but better maintained, I have read. Any how, I'll do some more homework! Thanks, Iain
Hello, I have been trying to use dbpre with Gnu Cobol 3.2.1 and MariaDB (Ubuntu 22.04 laptop) but having a few problems, can someone help me please? Fixes I have used: 1. Mariadb libraries used: sudo apt install libmariadb-dev 2. Edite cobmysqlapi.c changed: cob_procedure_parameters to: cob_procedure_params (otherwise compile errors) 4. To compile cobmysqlapi.c used: gcc -I/usr/include/mariadb -c cobmysqlapi.c 5. Then: gcc dbpre.c -odbpre -O5 -ggdb When trying to compile sample PCTB003B: 1. Copied...
Hello, I am trying to setup CobolSQLite3 on a Raspberry Pi but get the following error when compiling: pi@raspberrypi4:~/Cobol $ cobc -o CobolSQLite3.so CobolSQLite3.cob -lsqlite3 /tmp/cob1851_0.c: In function 'CobolSQLite3_': /tmp/cob1851_0.c:118:3: error: 'temptr' undeclared (first use in this function); did you mean 'mp_ptr'? temptr = (void )sqlite3_libversion (); ^~~~~~ mp_ptr /tmp/cob1851_0.c:118:3: note: each undeclared identifier is reported only once for each function it appears in /tmp/cob1851_0.c:...