[Seed7-users] Fatal error when compiling 2019-08-18 version of seed7
Interpreter and compiler for the Seed7 programming language.
Brought to you by:
thomas_mertes
From: Brett S. (Y. M. #1) <bre...@ya...> - 2019-08-19 06:24:27
|
I am running Debian Linux (testing/bullseye), kernel 4.19.37 on a 64 bit machine. The version of the C compiler is 8.3.0 and the complete log file (make depend and then make) is as follows: echo "#define LIST_DIRECTORY_CONTENTS \"ls\"" >> chkccomp.h echo "#define LINKER_OPT_STATIC_LINKING \"-static\"" >> chkccomp.h echo "#define MYSQL_LIBS \"-lmysqlclient\"" >> chkccomp.h echo "#define MYSQL_DLL \"libmysqlclient.so\"" >> chkccomp.h echo "#define MYSQL_USE_LIB" >> chkccomp.h echo "#define SQLITE_LIBS \"-lsqlite3\"" >> chkccomp.h echo "#define SQLITE_DLL \"libsqlite3.so\"" >> chkccomp.h echo "#define SQLITE_USE_LIB" >> chkccomp.h echo "#define POSTGRESQL_LIBS \"-lpq\"" >> chkccomp.h echo "#define POSTGRESQL_DLL \"libpq.so\",\"libpq.so.5\"" >> chkccomp.h echo "#define POSTGRESQL_USE_LIB" >> chkccomp.h echo "#define ODBC_LIBS \"-lodbc\"" >> chkccomp.h echo "#define ODBC_DLL \"libodbc.so\"" >> chkccomp.h echo "#define ODBC_USE_LIB" >> chkccomp.h echo "#define OCI_LIBS \"-lclntsh\"" >> chkccomp.h echo "#define OCI_DLL \"libclntsh.so\"" >> chkccomp.h echo "#define OCI_USE_DLL" >> chkccomp.h echo "#define FIRE_LIBS \"-lfbclient\"" >> chkccomp.h echo "#define FIRE_DLL \"libfbclient.so\"" >> chkccomp.h echo "#define FIRE_USE_DLL" >> chkccomp.h echo "#define PATH_DELIMITER '/'" > version.h echo "#define SEARCH_PATH_DELIMITER ':'" >> version.h echo "#define AWAIT_WITH_SELECT" >> version.h echo "#define USE_TERMINFO" >> version.h echo "#define SIGNAL_HANDLER_CAN_DO_IO" >> version.h echo "#define CONSOLE_UTF8" >> version.h echo "#define OS_STRI_UTF8" >> version.h echo "#define ESCAPE_SHELL_COMMANDS" >> version.h echo "#define OBJECT_FILE_EXTENSION \".o\"" >> version.h echo "#define LIBRARY_FILE_EXTENSION \".a\"" >> version.h echo "#define C_COMPILER \"gcc\"" >> version.h echo "#define CPLUSPLUS_COMPILER \"g++\"" >> version.h echo "#define GET_CC_VERSION_INFO \"gcc --version >\"" >> version.h echo "#define CC_SOURCE_UTF8" >> version.h echo "#define CC_OPT_DEBUG_INFO \"-g\"" >> version.h echo "#define CC_OPT_NO_WARNINGS \"-w\"" >> version.h echo "#define CC_FLAGS \"-ffunction-sections -fdata-sections\"" >> version.h echo "#define CC_ERROR_FILDES 2" >> version.h echo "#define LINKER_OPT_NO_DEBUG_INFO \"-Wl,--strip-debug\"" >> version.h echo "#define LINKER_OPT_OUTPUT_FILE \"-o \"" >> version.h echo "#define LINKER_FLAGS \"-Wl,--gc-sections\"" >> version.h echo "#define SYSTEM_LIBS \"-lm -ldl\"" >> version.h echo "#define SYSTEM_CONSOLE_LIBS \"-lncurses\"" >> version.h echo "#define SYSTEM_DRAW_LIBS \"-lX11\"" >> version.h gcc --version > cc_vers.txt gcc chkccomp.c -o chkccomp ./chkccomp version.h Prepare compile command: done Chkccomp uses /dev/null as null device. Numeric sizes: ############*.+############*.+############*.+############*.+############*.+############*.+############*.############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.############*.+############*.+############*.+############*. determined General settings: ############*.+############*.############*.############*.+############*.############*.############*.+############*.############*.+############*.############*.############*.+############*.############*.############*.############*.############*.############*.############*.############*.############*.############*.############*.############*.+############*.############*.############*.############*.############*.+############*.+#############*.############*.############*.############*.+############*.+############*.+############*.############*.############*.+##############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.############*.+############*.+############*.############*.+#############*.############*.+#############*.+############*.+############*.+############*.+############*.+ determined Numeric properties: ############*.+############*.+############*.+############*.+############*.+############*.############*.+############*.+############*.+############*.+############*.############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.############*.+############*.+############*.+############*.+############*.+############*.+############*.>############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.>############*.############*.+############*.>############*.+############*.+############*.+############*.+############*.+############*.+ determined Advanced settings: ############*.+############*.+############*.############*.+############*.+############*.+############*.############*.+############*.+############*.############*.+############*.+############*.############*.+############*.############*.############*.+############*.############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.+############*.############*.############*.############*. determined ############*.############*. MySql/MariaDb: mysql/mysql.h found in system include directory. ############*. MySql/MariaDb: Linker option: -lmysqlclient ############*. SQLite: sqlite3.h found in system include directory. ############*. SQLite: Linker option: -lsqlite3 ############*. PostgreSQL: libpq-fe.h found in system include directory. ############*.############*.############*. PostgreSQL: catalog/pg_type.h not found in include directories. ############*. PostgreSQL: postgres.h not found in include directories. ############*. PostgreSQL: db_post.h found in Seed7 include directory. ############*. PostgreSQL: Linker option: -lpq ############*.############*.############*. Odbc: db_odbc.h found in Seed7 include directory. ############*. Odbc: DLL / Shared library: libodbc.so ############*.############*. Oracle: db_oci.h found in Seed7 include directory. Oracle: DLL / Shared library: libclntsh.so ############*.############*.############*. Firebird: db_fire.h found in Seed7 include directory. Firebird: DLL / Shared library: libfbclient.so ############*.+############*.############*.+# Macro read_buffer_empty defined. ###### rm chkccomp rm cc_vers.txt echo "#define SEED7_LIB \"seed7_05.a\"" >> version.h echo "#define CONSOLE_LIB \"s7_con.a\"" >> version.h echo "#define DRAW_LIB \"s7_draw.a\"" >> version.h echo "#define COMP_DATA_LIB \"s7_data.a\"" >> version.h echo "#define COMPILER_LIB \"s7_comp.a\"" >> version.h gcc setpaths.c -o setpaths ./setpaths "S7_LIB_DIR=" "SEED7_LIBRARY=" >> version.h rm setpaths gcc wrdepend.c -o wrdepend cp version.h vers_linux.h ./wrdepend -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -M s7.c "> depend" ./wrdepend -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -M arr_rtl.c bln_rtl.c bst_rtl.c chr_rtl.c cmd_rtl.c con_rtl.c dir_rtl.c drw_rtl.c fil_rtl.c flt_rtl.c hsh_rtl.c int_rtl.c itf_rtl.c pcs_rtl.c set_rtl.c soc_rtl.c sql_rtl.c str_rtl.c tim_rtl.c ut8_rtl.c heaputl.c numutl.c sigutl.c striutl.c big_rtl.c big_gmp.c cmd_unx.c dir_win.c dll_unx.c fil_unx.c pcs_unx.c pol_unx.c soc_none.c sql_base.c sql_fire.c sql_lite.c sql_my.c sql_oci.c sql_odbc.c sql_post.c tim_unx.c ">> depend" ./wrdepend -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -M kbd_rtl.c con_inf.c kbd_poll.c trm_inf.c ">> depend" ./wrdepend -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -M gkb_rtl.c drw_x11.c gkb_x11.c ">> depend" ./wrdepend -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -M typ_data.c rfl_data.c ref_data.c listutl.c flistutl.c typeutl.c datautl.c ">> depend" ./wrdepend -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -M runerr.c option.c primitiv.c actlib.c arrlib.c biglib.c binlib.c blnlib.c bstlib.c chrlib.c cmdlib.c conlib.c dcllib.c drwlib.c enulib.c fillib.c fltlib.c hshlib.c intlib.c itflib.c kbdlib.c lstlib.c pcslib.c pollib.c prclib.c prglib.c reflib.c rfllib.c sctlib.c setlib.c soclib.c sqllib.c strlib.c timlib.c typlib.c ut8lib.c exec.c doany.c objutl.c act_comp.c prg_comp.c analyze.c syntax.c token.c parser.c name.c type.c expr.c atom.c object.c scanner.c literal.c numlit.c findid.c error.c infile.c libpath.c symbol.c info.c stat.c fatal.c match.c syvarutl.c traceutl.c actutl.c executl.c blockutl.c entutl.c identutl.c chclsutl.c arrutl.c ">> depend" Use 'make' (with your make command) to create the interpreter. gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o s7.o s7.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o runerr.o runerr.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o option.o option.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o primitiv.o primitiv.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o actlib.o actlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o arrlib.o arrlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o biglib.o biglib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o binlib.o binlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o blnlib.o blnlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o bstlib.o bstlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o chrlib.o chrlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o cmdlib.o cmdlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o conlib.o conlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o dcllib.o dcllib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o drwlib.o drwlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o enulib.o enulib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o fillib.o fillib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o fltlib.o fltlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o hshlib.o hshlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o intlib.o intlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o itflib.o itflib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o kbdlib.o kbdlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o lstlib.o lstlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o pcslib.o pcslib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o pollib.o pollib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o prclib.o prclib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o prglib.o prglib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o reflib.o reflib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o rfllib.o rfllib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sctlib.o sctlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o setlib.o setlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o soclib.o soclib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sqllib.o sqllib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o strlib.o strlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o timlib.o timlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o typlib.o typlib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o ut8lib.o ut8lib.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o exec.o exec.c exec.c: In function ‘exec_lambda’: exec.c:425:44: warning: ‘backup_block_result’ may be used uninitialized in this function [-Wmaybe-uninitialized] block_result->object->value.objValue = backup_block_result; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ exec.c:483:16: note: ‘backup_block_result’ was declared here objectType backup_block_result; ^~~~~~~~~~~~~~~~~~~ gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o doany.o doany.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o objutl.o objutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o act_comp.o act_comp.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o prg_comp.o prg_comp.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o analyze.o analyze.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o syntax.o syntax.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o token.o token.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o parser.o parser.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o name.o name.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o type.o type.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o expr.o expr.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o atom.o atom.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o object.o object.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o scanner.o scanner.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o literal.o literal.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o numlit.o numlit.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o findid.o findid.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o error.o error.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o infile.o infile.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o libpath.o libpath.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o symbol.o symbol.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o info.o info.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o stat.o stat.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o fatal.o fatal.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o match.o match.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o syvarutl.o syvarutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o traceutl.o traceutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o actutl.o actutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o executl.o executl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o blockutl.o blockutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o entutl.o entutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o identutl.o identutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o chclsutl.o chclsutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o arrutl.o arrutl.c ar r ../bin/s7_comp.a runerr.o option.o primitiv.o actlib.o arrlib.o biglib.o binlib.o blnlib.o bstlib.o chrlib.o cmdlib.o conlib.o dcllib.o drwlib.o enulib.o fillib.o fltlib.o hshlib.o intlib.o itflib.o kbdlib.o lstlib.o pcslib.o pollib.o prclib.o prglib.o reflib.o rfllib.o sctlib.o setlib.o soclib.o sqllib.o strlib.o timlib.o typlib.o ut8lib.o exec.o doany.o objutl.o act_comp.o prg_comp.o analyze.o syntax.o token.o parser.o name.o type.o expr.o atom.o object.o scanner.o literal.o numlit.o findid.o error.o infile.o libpath.o symbol.o info.o stat.o fatal.o match.o syvarutl.o traceutl.o actutl.o executl.o blockutl.o entutl.o identutl.o chclsutl.o arrutl.o ar: creating ../bin/s7_comp.a gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o typ_data.o typ_data.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o rfl_data.o rfl_data.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o ref_data.o ref_data.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o listutl.o listutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o flistutl.o flistutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o typeutl.o typeutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o datautl.o datautl.c ar r ../bin/s7_data.a typ_data.o rfl_data.o ref_data.o listutl.o flistutl.o typeutl.o datautl.o ar: creating ../bin/s7_data.a gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o gkb_rtl.o gkb_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o drw_x11.o drw_x11.c drw_x11.c: In function ‘redraw’: drw_x11.c:166:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] width, height, xPos, yPos); ^~~~~ drw_x11.c:166:20: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] width, height, xPos, yPos); ^~~~~~ drw_x11.c:98:27: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] #define to_width(win) (((const_x11_winType) win)->width) ^ drw_x11.c:175:20: note: in expansion of macro ‘to_width’ xClear = to_width(expose_window); ^~~~~~~~ drw_x11.c:176:37: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] clearWidth = xPos + width - to_width(expose_window); ^ drw_x11.c:176:24: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] clearWidth = xPos + width - to_width(expose_window); ^~~~ drw_x11.c:99:27: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] #define to_height(win) (((const_x11_winType) win)->height) ^ drw_x11.c:182:24: note: in expansion of macro ‘to_height’ yClear = to_height(expose_window); ^~~~~~~~~ drw_x11.c:183:43: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] clearHeight = yPos + height - to_height(expose_window); ^ drw_x11.c:183:29: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] clearHeight = yPos + height - to_height(expose_window); ^~~~ drw_x11.c:188:55: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] xPos, yClear, to_width(expose_window) - xPos, clearHeight); ^ drw_x11.c:188:63: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] xPos, yClear, to_width(expose_window) - xPos, clearHeight); ^~~~~~~~~~~ drw_x11.c:194:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] xClear, yPos, clearWidth, height); ^~~~~~~~~~ drw_x11.c:194:39: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] xClear, yPos, clearWidth, height); ^~~~~~ drw_x11.c:99:27: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] #define to_height(win) (((const_x11_winType) win)->height) ^ drw_x11.c:202:20: note: in expansion of macro ‘to_height’ yClear = to_height(expose_window); ^~~~~~~~~ drw_x11.c:203:39: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] clearHeight = yPos + height - to_height(expose_window); ^ drw_x11.c:203:25: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] clearHeight = yPos + height - to_height(expose_window); ^~~~ drw_x11.c:208:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] xPos, yClear, width, clearHeight); ^~~~~ drw_x11.c:208:34: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] xPos, yClear, width, clearHeight); ^~~~~~~~~~~ In file included from drw_x11.c:51: drw_x11.c: In function ‘drwPolyLine’: common.h:280:27: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion] #define castToShort(num) (inShortRange(num) ? (short int) (num) : (raise_error(RANGE_ERROR), (short int) 0)) ^ drw_x11.c:1546:22: note: in expansion of macro ‘castToShort’ points[0].x += castToShort(x); ^~~~~~~~~~~ common.h:280:27: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion] #define castToShort(num) (inShortRange(num) ? (short int) (num) : (raise_error(RANGE_ERROR), (short int) 0)) ^ drw_x11.c:1547:22: note: in expansion of macro ‘castToShort’ points[0].y += castToShort(y); ^~~~~~~~~~~ drw_x11.c: In function ‘drwFPolyLine’: common.h:280:27: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion] #define castToShort(num) (inShortRange(num) ? (short int) (num) : (raise_error(RANGE_ERROR), (short int) 0)) ^ drw_x11.c:1574:22: note: in expansion of macro ‘castToShort’ points[0].x += castToShort(x); ^~~~~~~~~~~ common.h:280:27: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion] #define castToShort(num) (inShortRange(num) ? (short int) (num) : (raise_error(RANGE_ERROR), (short int) 0)) ^ drw_x11.c:1575:22: note: in expansion of macro ‘castToShort’ points[0].y += castToShort(y); ^~~~~~~~~~~ gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o gkb_x11.o gkb_x11.c ar r ../bin/s7_draw.a gkb_rtl.o drw_x11.o gkb_x11.o ar: creating ../bin/s7_draw.a gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o kbd_rtl.o kbd_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o con_inf.o con_inf.c con_inf.c:387:12: warning: ‘inf_setfont’ defined but not used [-Wunused-function] static int inf_setfont (char *fontname) ^~~~~~~~~~~ con_inf.c:369:13: warning: ‘inf_standardcolour’ defined but not used [-Wunused-function] static void inf_standardcolour (void) ^~~~~~~~~~~~~~~~~~ con_inf.c:332:13: warning: ‘inf_beep’ defined but not used [-Wunused-function] static void inf_beep (void) ^~~~~~~~ gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o kbd_poll.o kbd_poll.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o trm_inf.o trm_inf.c ar r ../bin/s7_con.a kbd_rtl.o con_inf.o kbd_poll.o trm_inf.o ar: creating ../bin/s7_con.a gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o arr_rtl.o arr_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o bln_rtl.o bln_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o bst_rtl.o bst_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o chr_rtl.o chr_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o cmd_rtl.o cmd_rtl.c cmd_rtl.c: In function ‘cmdSetFileMode’: cmd_rtl.c:3158:42: warning: conversion to ‘__mode_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] chmod_result = os_chmod(os_path, int_mode); ^~~~~~~~ gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o con_rtl.o con_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o dir_rtl.o dir_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o drw_rtl.o drw_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o fil_rtl.o fil_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o flt_rtl.o flt_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o hsh_rtl.o hsh_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o int_rtl.o int_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o itf_rtl.o itf_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o pcs_rtl.o pcs_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o set_rtl.o set_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o soc_rtl.o soc_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sql_rtl.o sql_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o str_rtl.o str_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o tim_rtl.o tim_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o ut8_rtl.o ut8_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o heaputl.o heaputl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o numutl.o numutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sigutl.o sigutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o striutl.o striutl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o big_rtl.o big_rtl.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o big_gmp.o big_gmp.c big_gmp.c: In function ‘bigHashCode’: big_gmp.c:906:90: warning: conversion to ‘mp_size_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion] result = (intType) (mpz_getlimbn(big1, 0) << 5 ^ size << 3 ^ mpz_getlimbn(big1, size - 1)); ~~~~~^~~ gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o cmd_unx.o cmd_unx.c cmd_unx.c: In function ‘getExecutablePath’: cmd_unx.c:92:23: warning: implicit declaration of function ‘readlink’; did you mean ‘cmdReadlink’? [-Wimplicit-function-declaration] readlink_result = readlink("/proc/self/exe", buffer, sizeof(buffer) - 1); ^~~~~~~~ cmdReadlink gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o dir_win.o dir_win.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o dll_unx.o dll_unx.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o fil_unx.o fil_unx.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o pcs_unx.o pcs_unx.c pcs_unx.c: In function ‘pcsPty’: pcs_unx.c:489:18: warning: implicit declaration of function ‘posix_openpt’; did you mean ‘os_popen’? [-Wimplicit-function-declaration] masterfd = posix_openpt(O_RDWR|O_NOCTTY); ^~~~~~~~~~~~ os_popen In file included from pcs_unx.c:35: pcs_unx.c:491:38: warning: implicit declaration of function ‘grantpt’ [-Wimplicit-function-declaration] if (unlikely(masterfd == -1 || grantpt(masterfd) == -1 || ^~~~~~~ version.h:82:39: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect((x),0) ^ pcs_unx.c:492:20: warning: implicit declaration of function ‘unlockpt’; did you mean ‘unlink’? [-Wimplicit-function-declaration] unlockpt(masterfd) == -1 || ^~~~~~~~ version.h:82:39: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect((x),0) ^ pcs_unx.c:493:35: warning: implicit declaration of function ‘ptsname’; did you mean ‘ttyname’? [-Wimplicit-function-declaration] (slavedevice = ptsname(masterfd)) == NULL)) { ^~~~~~~ version.h:82:39: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect((x),0) ^ pcs_unx.c:493:33: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] (slavedevice = ptsname(masterfd)) == NULL)) { ^ version.h:82:39: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect((x),0) ^ gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o pol_unx.o pol_unx.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o soc_none.o soc_none.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sql_base.o sql_base.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sql_fire.o sql_fire.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sql_lite.o sql_lite.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sql_my.o sql_my.c gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sql_oci.o sql_oci.c sql_oci.c:1064:13: warning: ‘dumpSqltNumber’ defined but not used [-Wunused-function] static void dumpSqltNumber (memSizeType dataLen, const uint8Type *ociNumberData) ^~~~~~~~~~~~~~ sql_oci.c:1054:13: warning: ‘ociNumberFromDecimalInt’ defined but not used [-Wunused-function] static void ociNumberFromDecimalInt (OCINumber *ociNumber, const const_striType decimal, ^~~~~~~~~~~~~~~~~~~~~~~ sql_oci.c:910:12: warning: ‘ociNumberToDecimalFraction’ defined but not used [-Wunused-function] static int ociNumberToDecimalFraction (const OCINumber *ociNumber, striType stri, ^~~~~~~~~~~~~~~~~~~~~~~~~~ sql_oci.c:754:13: warning: ‘ociNumberToDecimalInt’ defined but not used [-Wunused-function] static void ociNumberToDecimalInt (const OCINumber *ociNumber, striType stri, ^~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -c -o sql_odbc.o sql_odbc.c sql_odbc.c: In function ‘connectToServer’: sql_odbc.c:5433:36: error: ‘SQL_DRIVER_NOPROMPT’ undeclared (first use in this function) SQL_DRIVER_NOPROMPT); ^~~~~~~~~~~~~~~~~~~ sql_odbc.c:5433:36: note: each undeclared identifier is reported only once for each function it appears in make: *** [<builtin>: sql_odbc.o] Error 1 Please note that I have been able to successfully compile seed7 in the past and have compiled the previous release - 2019-07-14 - without any issues. It compiles fine and all tests pass. If you require any further information, then please contact me, and I will endeavour to provide it. Brett. |