Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/memchan.spec'], chrootPath='/var/lib/mock/f43-build-57592159-6555397/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2f5e338577444bc893d0466946906f0a', '-D', '/var/lib/mock/f43-build-57592159-6555397/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/memchan.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le sh: line 1: tclsh: command not found setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/memchan-2.3-29.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/memchan.spec'], chrootPath='/var/lib/mock/f43-build-57592159-6555397/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dfb3f0f0dedd43a896ad3791400e6e81', '-D', '/var/lib/mock/f43-build-57592159-6555397/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/memchan.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.kU6Ovw Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2vfl76 + umask 022 + cd /builddir/build/BUILD/memchan-2.3-build + cd /builddir/build/BUILD/memchan-2.3-build + rm -rf Memchan2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Memchan2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Memchan2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Xfy2VS + umask 022 + cd /builddir/build/BUILD/memchan-2.3-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Memchan2.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-threads --libdir=/usr/lib64/tcl9.0 checking for correct TEA configuration... ok (TEA 3.9) configure: configuring Memchan 2.3 checking for Tcl configuration... found /usr/lib64/tcl9.0/tclConfig.sh checking for existence of /usr/lib64/tcl9.0/tclConfig.sh... loading checking for ppc64le-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for intptr_t... yes checking for uintptr_t... yes checking for Tcl public headers... /usr/include checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) configure: WARNING: --enable-threads requested, but building against a Tcl that is NOT thread-enabled. This is an OK configuration that will also run in a thread-enabled core. checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Linux-6.12.10-200.fc41.ppc64le checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for ltoa... no checking for tclsh... /usr/bin/tclsh9.0 configure: creating ./config.status config.status: creating Makefile + make -j8 gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/memchan.c` -o memchan.o gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/init.c` -o init.o gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/counter.c` -o counter.o gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/fifo.c` -o fifo.o gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/fifo2.c` -o fifo2.o gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/null.c` -o null.o gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/zero.c` -o zero.o gcc -DPACKAGE_NAME=\"Memchan\" -DPACKAGE_TARNAME=\"memchan\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"Memchan\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Memchan= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"./isaac" -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo ./generic/random.c` -o random.o In file included from ./generic/memchan.c:31: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/memchan.c:37:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 37 | static int Close _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/memchan.c:40:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 40 | static int Input _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/memchan.c:43:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 43 | static int Output _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/memchan.c:46:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 46 | static int Seek _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/memchan.c:49:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 49 | static void WatchChannel _ANSI_ARGS_((ClientData instanceData, int mask)); | ^~~~~~~~~~~ ./generic/memchan.c:51:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 51 | static int GetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/memchan.c:55:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 55 | static void ChannelReady _ANSI_ARGS_((ClientData instanceData)); | ^~~~~~~~~~~ ./generic/memchan.c:56:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 56 | static int GetFile _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/memchan.c:60:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 60 | static int BlockMode _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/memchan.c:70:27: error: ‘BlockMode’ undeclared here (not in a function) 70 | (Tcl_ChannelTypeVersion)BlockMode, /* Set blocking behaviour. */ | ^~~~~~~~~ ./generic/memchan.c:71:3: error: ‘Close’ undeclared here (not in a function); did you mean ‘pclose’? 71 | Close, /* Close channel, clean instance data */ | ^~~~~ | pclose ./generic/memchan.c:72:3: error: ‘Input’ undeclared here (not in a function) 72 | Input, /* Handle read request */ | ^~~~~ ./generic/memchan.c:73:3: error: ‘Output’ undeclared here (not in a function) 73 | Output, /* Handle write request */ | ^~~~~~ ./generic/memchan.c:74:3: error: ‘Seek’ undeclared here (not in a function) 74 | Seek, /* Move location of access point. NULL'able */ | ^~~~ ./generic/memchan.c:76:3: error: ‘GetOption’ undeclared here (not in a function) 76 | GetOption, /* Get options. NULL'able */ | ^~~~~~~~~ ./generic/memchan.c:77:3: error: ‘WatchChannel’ undeclared here (not in a function) 77 | WatchChannel, /* Initialize notifier */ | ^~~~~~~~~~~~ ./generic/memchan.c:79:3: error: ‘GetFile’ undeclared here (not in a function) 79 | GetFile, /* Get OS handle from the channel. */ | ^~~~~~~ ./generic/memchan.c:96:3: error: unknown type name ‘VOID’ 96 | VOID* data; /* memory plane used to store the channel | ^~~~ ./generic/memchan.c: In function ‘BlockMode’: ./generic/memchan.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/memchan.c: In function ‘Close’: ./generic/memchan.c:151:1: warning: old-style function definition [-Wold-style-definition] 151 | Close (instanceData, interp) | ^~~~~ ./generic/memchan.c:160:18: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 160 | if (chan->data != (char*) NULL) { | ^~ ./generic/memchan.c: In function ‘Input’: ./generic/memchan.c:197:1: warning: old-style function definition [-Wold-style-definition] 197 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/memchan.c:224:14: error: ‘VOID’ undeclared (first use in this function) 224 | memcpy ((VOID*) buf, (VOID*) ((char*) chan->data + chan->rwLoc), toRead); | ^~~~ ./generic/memchan.c:224:14: note: each undeclared identifier is reported only once for each function it appears in ./generic/memchan.c:224:19: error: expected expression before ‘)’ token 224 | memcpy ((VOID*) buf, (VOID*) ((char*) chan->data + chan->rwLoc), toRead); | ^ ./generic/memchan.c:224:5: error: too few arguments to function ‘memcpy’; expected 3, have 1 224 | memcpy ((VOID*) buf, (VOID*) ((char*) chan->data + chan->rwLoc), toRead); | ^~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ./generic/memchan.c:30: /usr/include/bits/string_fortified.h:26:1: note: declared here 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ./generic/memchan.c: In function ‘Output’: ./generic/memchan.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/memchan.c:285:12: error: ‘VOID’ undeclared (first use in this function) 285 | memcpy ((VOID*) ((char*) chan->data + chan->rwLoc), (VOID*) buf, toWrite); | ^~~~ ./generic/memchan.c:285:17: error: expected expression before ‘)’ token 285 | memcpy ((VOID*) ((char*) chan->data + chan->rwLoc), (VOID*) buf, toWrite); | ^ ./generic/memchan.c:285:61: error: expected expression before ‘)’ token 285 | memcpy ((VOID*) ((char*) chan->data + chan->rwLoc), (VOID*) buf, toWrite); | ^ ./generic/memchan.c:285:3: error: too few arguments to function ‘memcpy’; expected 3, have 2 285 | memcpy ((VOID*) ((char*) chan->data + chan->rwLoc), (VOID*) buf, toWrite); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: declared here 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ./generic/memchan.c: In function ‘Seek’: ./generic/memchan.c:319:1: warning: old-style function definition [-Wold-style-definition] 319 | Seek (instanceData, offset, mode, errorCodePtr) | ^~~~ ./generic/memchan.c: In function ‘GetOption’: ./generic/memchan.c:383:1: warning: old-style function definition [-Wold-style-definition] 383 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/memchan.c: In function ‘WatchChannel’: ./generic/memchan.c:461:1: warning: old-style function definition [-Wold-style-definition] 461 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/memchan.c:476:52: error: ‘ChannelReady’ undeclared (first use in this function) 476 | chan->timer = Tcl_CreateTimerHandler (DELAY, ChannelReady, instanceData); | ^~~~~~~~~~~~ ./generic/memchan.c: In function ‘ChannelReady’: ./generic/memchan.c:508:1: warning: old-style function definition [-Wold-style-definition] 508 | ChannelReady (instanceData) | ^~~~~~~~~~~~ In file included from ./generic/counter.c:31: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/counter.c: In function ‘MemchanGenHandle’: ./generic/counter.c:35:1: error: expected declaration specifiers before ‘CONST’ 35 | CONST char* prefix; | ^~~~~ ./generic/counter.c:34:1: warning: old-style function definition [-Wold-style-definition] 34 | MemchanGenHandle (prefix) | ^~~~~~~~~~~~~~~~ ./generic/counter.c:34:1: error: type of ‘prefix’ defaults to ‘int’ [-Wimplicit-int] ./generic/counter.c:57:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 57 | Tcl_Obj* res = Tcl_NewStringObj ((char*) prefix, -1); | ^ ./generic/memchan.c: In function ‘GetFile’: ./generic/memchan.c:565:1: warning: old-style function definition [-Wold-style-definition] 565 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/memchan.c: In function ‘Memchan_CreateMemoryChannel’: ./generic/memchan.c:595:1: warning: old-style function definition [-Wold-style-definition] 595 | Memchan_CreateMemoryChannel(interp, initialSize) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/fifo2.c:30: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ In file included from ./generic/fifo2.c:31: ./generic/buf.h:91:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 91 | typedef int (Buf_ReadProc) _ANSI_ARGS_ ((Buf_Buffer buf, ClientData clientData, | ^~~~~~~~~~~ ./generic/buf.h:94:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 94 | typedef int (Buf_WriteProc) _ANSI_ARGS_ ((Buf_Buffer buf, ClientData clientData, | ^~~~~~~~~~~ ./generic/buf.h:97:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 97 | typedef Buf_Buffer (Buf_DuplicateProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:100:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 100 | typedef void (Buf_FreeProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:103:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 103 | typedef int (Buf_SizeProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:106:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 106 | typedef int (Buf_TellProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:109:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | typedef char* (Buf_DataProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ make: *** [Makefile:292: counter.o] Error 1 make: *** Waiting for unfinished jobs.... ./generic/memchan.c:609:32: error: ‘VOID’ undeclared (first use in this function) 609 | instance->data = (VOID*) Tcl_Alloc (initialSize); | ^~~~ ./generic/memchan.c:609:37: error: expected expression before ‘)’ token 609 | instance->data = (VOID*) Tcl_Alloc (initialSize); | ^ ./generic/memchan.c:611:37: error: expected expression before ‘)’ token 611 | instance->data = (VOID*) NULL; | ^ In file included from ./generic/fifo.c:30: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/buf.h:116:3: error: unknown type name ‘Buf_ReadProc’ 116 | Buf_ReadProc* readProc; /* Procedure called to read data | ^~~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ In file included from ./generic/init.c:33: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ In file included from ./generic/fifo.c:31: ./generic/buf.h:91:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 91 | typedef int (Buf_ReadProc) _ANSI_ARGS_ ((Buf_Buffer buf, ClientData clientData, | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/buf.h:94:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 94 | typedef int (Buf_WriteProc) _ANSI_ARGS_ ((Buf_Buffer buf, ClientData clientData, | ^~~~~~~~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/buf.h:97:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 97 | typedef Buf_Buffer (Buf_DuplicateProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:100:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 100 | typedef void (Buf_FreeProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:103:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 103 | typedef int (Buf_SizeProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:106:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 106 | typedef int (Buf_TellProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:109:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | typedef char* (Buf_DataProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ In file included from ./generic/init.c:34: ./generic/buf.h:91:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 91 | typedef int (Buf_ReadProc) _ANSI_ARGS_ ((Buf_Buffer buf, ClientData clientData, | ^~~~~~~~~~~ ./generic/buf.h:94:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 94 | typedef int (Buf_WriteProc) _ANSI_ARGS_ ((Buf_Buffer buf, ClientData clientData, | ^~~~~~~~~~~ ./generic/buf.h:97:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 97 | typedef Buf_Buffer (Buf_DuplicateProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:100:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 100 | typedef void (Buf_FreeProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:103:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 103 | typedef int (Buf_SizeProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:106:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 106 | typedef int (Buf_TellProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:109:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | typedef char* (Buf_DataProc) _ANSI_ARGS_ ((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/buf.h:116:3: error: unknown type name ‘Buf_ReadProc’ 116 | Buf_ReadProc* readProc; /* Procedure called to read data | ^~~~~~~~~~~~ ./generic/buf.h:116:3: error: unknown type name ‘Buf_ReadProc’ 116 | Buf_ReadProc* readProc; /* Procedure called to read data | ^~~~~~~~~~~~ ./generic/memchan.c:614:21: error: implicit declaration of function ‘MemchanGenHandle’ [-Wimplicit-function-declaration] 614 | channelHandle = MemchanGenHandle ("mem"); | ^~~~~~~~~~~~~~~~ ./generic/memchan.c:614:19: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 614 | channelHandle = MemchanGenHandle ("mem"); | ^ In file included from ./generic/null.c:30: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchan.c: In function ‘MemchanCmd’: ./generic/memchan.c:656:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 656 | Tcl_Obj*CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchan.c:652:1: warning: old-style function definition [-Wold-style-definition] 652 | MemchanCmd (notUsed, interp, objc, objv) | ^~~~~~~~~~ ./generic/memchan.c:652:1: error: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchan.c:665:48: error: subscripted value is neither array nor pointer nor vector 665 | char* buf = Tcl_GetStringFromObj (objv [1], &len); | ^ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ ./generic/memchan.c:665:53: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 665 | char* buf = Tcl_GetStringFromObj (objv [1], &len); | ^~~~ | | | int * In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchan.c:665:53: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchan.c:669:62: error: subscripted value is neither array nor pointer nor vector 669 | } else if (TCL_OK != Tcl_GetIntFromObj (interp, objv [2], &initialSize)) { | ^ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/null.c:36:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 36 | static int Close _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/null.c:39:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 39 | static int Input _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/null.c:42:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 42 | static int Output _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/null.c:45:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | static void WatchChannel _ANSI_ARGS_((ClientData instanceData, int mask)); | ^~~~~~~~~~~ ./generic/null.c:46:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 46 | static void ChannelReady _ANSI_ARGS_((ClientData instanceData)); | ^~~~~~~~~~~ ./generic/null.c:47:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | static int GetFile _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/null.c:51:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 51 | static int BlockMode _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/null.c:54:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 54 | static int GetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/null.c:59:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 59 | static int SetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ In file included from ./generic/zero.c:34: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ ./generic/memchan.c: At top level: In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchan.c:565:1: warning: ‘GetFile’ defined but not used [-Wunused-function] 565 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/memchan.c:508:1: warning: ‘ChannelReady’ defined but not used [-Wunused-function] 508 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchan.c:461:1: warning: ‘WatchChannel’ defined but not used [-Wunused-function] 461 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/memchan.c:383:1: warning: ‘GetOption’ defined but not used [-Wunused-function] 383 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchan.c:319:1: warning: ‘Seek’ defined but not used [-Wunused-function] 319 | Seek (instanceData, offset, mode, errorCodePtr) | ^~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchan.c:256:1: warning: ‘Output’ defined but not used [-Wunused-function] 256 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchan.c:197:1: warning: ‘Input’ defined but not used [-Wunused-function] 197 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/memchan.c:151:1: warning: ‘Close’ defined but not used [-Wunused-function] 151 | Close (instanceData, interp) | ^~~~~ ./generic/memchan.c:123:1: warning: ‘BlockMode’ defined but not used [-Wunused-function] 123 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/zero.c:40:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 40 | static int Close _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/zero.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 43 | static int Input _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/zero.c:47:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | static int Output _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/zero.c:52:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 52 | static void WatchChannel _ANSI_ARGS_((ClientData instanceData, int mask)); | ^~~~~~~~~~~ ./generic/zero.c:53:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 53 | static void ChannelReady _ANSI_ARGS_((ClientData instanceData)); | ^~~~~~~~~~~ ./generic/zero.c:54:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 54 | static int GetFile _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/zero.c:58:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 58 | static int BlockMode _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/zero.c:61:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 61 | static int GetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/zero.c:66:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 66 | static int SetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/buf.h:118:3: error: unknown type name ‘Buf_WriteProc’ 118 | Buf_WriteProc* writeProc; /* Procedure called to write data | ^~~~~~~~~~~~~ make: *** [Makefile:292: memchan.o] Error 1 ./generic/buf.h:118:3: error: unknown type name ‘Buf_WriteProc’ 118 | Buf_WriteProc* writeProc; /* Procedure called to write data | ^~~~~~~~~~~~~ ./generic/buf.h:118:3: error: unknown type name ‘Buf_WriteProc’ 118 | Buf_WriteProc* writeProc; /* Procedure called to write data | ^~~~~~~~~~~~~ ./generic/null.c:71:29: error: ‘BlockMode’ undeclared here (not in a function) 71 | (Tcl_ChannelTypeVersion)BlockMode, /* Set blocking behaviour. */ | ^~~~~~~~~ ./generic/buf.h:120:3: error: unknown type name ‘Buf_DuplicateProc’ 120 | Buf_DuplicateProc* dupProc; /* Procedure called to duplicate | ^~~~~~~~~~~~~~~~~ In file included from ./generic/random.c:33: ./generic/memchanInt.h:128:34: error: conflicting types for ‘Tcl_ChannelTypeVersion’; have ‘int (*)(void *, int)’ 128 | typedef Tcl_DriverBlockModeProc* Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/memchanInt.h:34: /usr/include/tcl.h:371:41: note: previous declaration of ‘Tcl_ChannelTypeVersion’ with type ‘Tcl_ChannelTypeVersion’ {aka ‘struct Tcl_ChannelTypeVersion_ *’} 371 | typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/zero.c:78:29: error: ‘BlockMode’ undeclared here (not in a function) 78 | (Tcl_ChannelTypeVersion)BlockMode, /* Set blocking behaviour. */ | ^~~~~~~~~ ./generic/memchanInt.h:182:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 182 | MemchanCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:187:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 187 | MemchanFifoCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:192:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 192 | MemchanFifo2Cmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/null.c:72:5: error: ‘Close’ undeclared here (not in a function); did you mean ‘pclose’? 72 | Close, /* Close channel, clean instance data */ | ^~~~~ | pclose ./generic/memchanInt.h:197:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 197 | MemchanNullCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:202:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 202 | MemchanRandomCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:207:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 207 | MemchanZeroCmd _ANSI_ARGS_ ((ClientData notUsed, | ^~~~~~~~~~~ ./generic/memchanInt.h:216:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 216 | MemchanGenHandle _ANSI_ARGS_ ((CONST char* prefix)); | ^~~~~~~~~~~ In file included from ./generic/memchan.h:35, from ./generic/memchanInt.h:226: ./generic/memchanDecls.h:18:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 18 | EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:20:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/memchanDecls.h:22:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 22 | EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:25:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 25 | EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:28:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:32:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 32 | EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:35:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/memchanDecls.h:38:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/zero.c:79:5: error: ‘Close’ undeclared here (not in a function); did you mean ‘pclose’? 79 | Close, /* Close channel, clean instance data */ | ^~~~~ | pclose ./generic/null.c:73:5: error: ‘Input’ undeclared here (not in a function) 73 | Input, /* Handle read request */ | ^~~~~ ./generic/memchanDecls.h:45:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/buf.h:122:3: error: unknown type name ‘Buf_FreeProc’; did you mean ‘Tcl_FreeProc’? 122 | Buf_FreeProc* freeProc; /* Procedure called to free | ^~~~~~~~~~~~ | Tcl_FreeProc ./generic/zero.c:80:5: error: ‘Input’ undeclared here (not in a function) 80 | Input, /* Handle read request */ | ^~~~~ ./generic/null.c:74:5: error: ‘Output’ undeclared here (not in a function) 74 | Output, /* Handle write request */ | ^~~~~~ ./generic/zero.c:81:5: error: ‘Output’ undeclared here (not in a function) 81 | Output, /* Handle write request */ | ^~~~~~ ./generic/random.c:40:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 40 | static int Close _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/random.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 43 | static int Input _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/random.c:46:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 46 | static int Output _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/random.c:49:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 49 | static void WatchChannel _ANSI_ARGS_((ClientData instanceData, int mask)); | ^~~~~~~~~~~ ./generic/random.c:50:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 50 | static void ChannelReady _ANSI_ARGS_((ClientData instanceData)); | ^~~~~~~~~~~ ./generic/random.c:51:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 51 | static int GetFile _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/random.c:55:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 55 | static int BlockMode _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/buf.h:124:3: error: unknown type name ‘Buf_SizeProc’ 124 | Buf_SizeProc* sizeProc; /* Procedure called to ask for the | ^~~~~~~~~~~~ ./generic/random.c:58:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 58 | static int GetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/random.c:63:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 63 | static int SetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/buf.h:120:3: error: unknown type name ‘Buf_DuplicateProc’ 120 | Buf_DuplicateProc* dupProc; /* Procedure called to duplicate | ^~~~~~~~~~~~~~~~~ ./generic/buf.h:120:3: error: unknown type name ‘Buf_DuplicateProc’ 120 | Buf_DuplicateProc* dupProc; /* Procedure called to duplicate | ^~~~~~~~~~~~~~~~~ ./generic/null.c:76:5: error: ‘SetOption’ undeclared here (not in a function) 76 | SetOption, /* Set options. NULL'able */ | ^~~~~~~~~ ./generic/zero.c:83:5: error: ‘SetOption’ undeclared here (not in a function) 83 | SetOption, /* Set options. NULL'able */ | ^~~~~~~~~ ./generic/buf.h:126:3: error: unknown type name ‘Buf_TellProc’ 126 | Buf_TellProc* tellProc; /* Procedure called to ask for the | ^~~~~~~~~~~~ ./generic/buf.h:122:3: error: unknown type name ‘Buf_FreeProc’; did you mean ‘Tcl_FreeProc’? 122 | Buf_FreeProc* freeProc; /* Procedure called to free | ^~~~~~~~~~~~ | Tcl_FreeProc ./generic/buf.h:122:3: error: unknown type name ‘Buf_FreeProc’; did you mean ‘Tcl_FreeProc’? 122 | Buf_FreeProc* freeProc; /* Procedure called to free | ^~~~~~~~~~~~ | Tcl_FreeProc ./generic/random.c:74:29: error: ‘BlockMode’ undeclared here (not in a function) 74 | (Tcl_ChannelTypeVersion)BlockMode, /* Set blocking behaviour. */ | ^~~~~~~~~ ./generic/random.c:75:5: error: ‘Close’ undeclared here (not in a function); did you mean ‘pclose’? 75 | Close, /* Close channel, clean instance data */ | ^~~~~ | pclose ./generic/null.c:77:5: error: ‘GetOption’ undeclared here (not in a function) 77 | GetOption, /* Get options. NULL'able */ | ^~~~~~~~~ ./generic/buf.h:128:3: error: unknown type name ‘Buf_DataProc’ 128 | Buf_DataProc* dataProc; /* Procedure called to ask for a | ^~~~~~~~~~~~ In file included from ./generic/buf.h:134: ./generic/bufDecls.h:35:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN int Buf_IsInitialized _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/bufDecls.h:37:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 37 | EXTERN int Buf_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/bufDecls.h:47:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | EXTERN void Buf_RegisterType _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:59:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 59 | EXTERN void Buf_IncrRefcount _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:61:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 61 | EXTERN void Buf_DecrRefcount _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:63:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 63 | EXTERN int Buf_IsShared _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:65:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 65 | EXTERN Buf_BufferType* Buf_GetType _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:67:13: error: expected ‘;’ before ‘char’ 67 | EXTERN CONST char* Buf_GetTypeName _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~ | ; ./generic/bufDecls.h:67:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 67 | EXTERN CONST char* Buf_GetTypeName _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/random.c:76:5: error: ‘Input’ undeclared here (not in a function) 76 | Input, /* Handle read request */ | ^~~~~ ./generic/bufDecls.h:69:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 69 | EXTERN int Buf_Size _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:71:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 71 | EXTERN ClientData Buf_GetClientData _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:76:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 76 | EXTERN Buf_Buffer Buf_Create _ANSI_ARGS_((Buf_BufferType* bufType, | ^~~~~~~~~~~ ./generic/bufDecls.h:79:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 79 | EXTERN Buf_Buffer Buf_Dup _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:81:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 81 | EXTERN Buf_Buffer Buf_CreateFixedBuffer _ANSI_ARGS_((int size)); | ^~~~~~~~~~~ ./generic/bufDecls.h:83:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 83 | EXTERN Buf_Buffer Buf_CreateExtendableBuffer _ANSI_ARGS_((int size)); | ^~~~~~~~~~~ ./generic/bufDecls.h:85:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 85 | EXTERN Buf_Buffer Buf_CreateRange _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:93:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 93 | EXTERN int Buf_Read _ANSI_ARGS_((Buf_Buffer buf, void* outbuf, | ^~~~~~~~~~~ ./generic/bufDecls.h:96:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 96 | EXTERN int Buf_Write _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:107:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 107 | EXTERN char* Buf_PositionPtr _ANSI_ARGS_((Buf_BufferPosition loc)); | ^~~~~~~~~~~ ./generic/bufDecls.h:109:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | EXTERN Buf_BufferPosition Buf_Tell _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:111:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 111 | EXTERN void Buf_FreePosition _ANSI_ARGS_((Buf_BufferPosition loc)); | ^~~~~~~~~~~ ./generic/bufDecls.h:113:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 113 | EXTERN void Buf_MovePosition _ANSI_ARGS_((Buf_BufferPosition loc, | ^~~~~~~~~~~ ./generic/bufDecls.h:116:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 116 | EXTERN Buf_BufferPosition Buf_DupPosition _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:119:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 119 | EXTERN int Buf_PositionOffset _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:122:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 122 | EXTERN Buf_BufferPosition Buf_PositionFromOffset _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:128:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 128 | EXTERN Buf_BufferQueue Buf_NewQueue _ANSI_ARGS_((void)); | ^~~~~~~~~~~ ./generic/bufDecls.h:130:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 130 | EXTERN void Buf_FreeQueue _ANSI_ARGS_((Buf_BufferQueue queue)); | ^~~~~~~~~~~ ./generic/bufDecls.h:132:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 132 | EXTERN int Buf_QueueRead _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/bufDecls.h:135:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 135 | EXTERN int Buf_QueueWrite _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/bufDecls.h:138:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 138 | EXTERN void Buf_QueueAppend _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/bufDecls.h:141:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 141 | EXTERN int Buf_QueueSize _ANSI_ARGS_((Buf_BufferQueue queue)); | ^~~~~~~~~~~ ./generic/bufDecls.h:152:30: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 152 | int (*buf_IsInitialized) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/zero.c:84:5: error: ‘GetOption’ undeclared here (not in a function) 84 | GetOption, /* Get options. NULL'able */ | ^~~~~~~~~ ./generic/fifo2.c:78:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 78 | static int Close _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo2.c:81:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 81 | static int Input _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo2.c:84:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 84 | static int Output _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo2.c:87:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 87 | static void WatchChannel _ANSI_ARGS_((ClientData instanceData, int mask)); | ^~~~~~~~~~~ ./generic/fifo2.c:89:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 89 | static int GetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo2.c:94:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 94 | static void ChannelReady _ANSI_ARGS_((ClientData instanceData)); | ^~~~~~~~~~~ ./generic/fifo2.c:95:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 95 | static int GetFile _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo2.c:99:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 99 | static int BlockMode _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/random.c:77:5: error: ‘Output’ undeclared here (not in a function) 77 | Output, /* Handle write request */ | ^~~~~~ ./generic/buf.h:124:3: error: unknown type name ‘Buf_SizeProc’ 124 | Buf_SizeProc* sizeProc; /* Procedure called to ask for the | ^~~~~~~~~~~~ ./generic/null.c:78:5: error: ‘WatchChannel’ undeclared here (not in a function) 78 | WatchChannel, /* Initialize notifier */ | ^~~~~~~~~~~~ ./generic/fifo2.c:109:27: error: ‘BlockMode’ undeclared here (not in a function) 109 | (Tcl_ChannelTypeVersion)BlockMode, /* Set blocking behaviour. */ | ^~~~~~~~~ ./generic/buf.h:124:3: error: unknown type name ‘Buf_SizeProc’ 124 | Buf_SizeProc* sizeProc; /* Procedure called to ask for the | ^~~~~~~~~~~~ ./generic/fifo2.c:110:3: error: ‘Close’ undeclared here (not in a function); did you mean ‘pclose’? 110 | Close, /* Close channel, clean instance data */ | ^~~~~ | pclose ./generic/null.c:80:3: error: ‘GetFile’ undeclared here (not in a function) 80 | GetFile, /* Get OS handle from the channel. */ | ^~~~~~~ ./generic/random.c:79:5: error: ‘SetOption’ undeclared here (not in a function) 79 | SetOption, /* Set options. NULL'able */ | ^~~~~~~~~ ./generic/fifo2.c:111:3: error: ‘Input’ undeclared here (not in a function) 111 | Input, /* Handle read request */ | ^~~~~ ./generic/null.c: In function ‘BlockMode’: ./generic/null.c:118:1: warning: old-style function definition [-Wold-style-definition] 118 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/null.c: In function ‘Close’: ./generic/null.c:146:1: warning: old-style function definition [-Wold-style-definition] 146 | Close (instanceData, interp) | ^~~~~ ./generic/null.c: In function ‘Input’: ./generic/null.c:189:1: warning: old-style function definition [-Wold-style-definition] 189 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/null.c: In function ‘Output’: ./generic/null.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/null.c: In function ‘WatchChannel’: ./generic/null.c:260:1: warning: old-style function definition [-Wold-style-definition] 260 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/fifo2.c:112:3: error: ‘Output’ undeclared here (not in a function) 112 | Output, /* Handle write request */ | ^~~~~~ ./generic/zero.c:85:5: error: ‘WatchChannel’ undeclared here (not in a function) 85 | WatchChannel, /* Initialize notifier */ | ^~~~~~~~~~~~ ./generic/random.c:80:5: error: ‘GetOption’ undeclared here (not in a function) 80 | GetOption, /* Get options. NULL'able */ | ^~~~~~~~~ ./generic/null.c:275:63: error: ‘ChannelReady’ undeclared (first use in this function) 275 | chan->timer = Tcl_CreateTimerHandler(chan->delay, ChannelReady, | ^~~~~~~~~~~~ ./generic/null.c:275:63: note: each undeclared identifier is reported only once for each function it appears in ./generic/null.c: In function ‘ChannelReady’: ./generic/null.c:304:1: warning: old-style function definition [-Wold-style-definition] 304 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/null.c: In function ‘GetFile’: ./generic/null.c:348:1: warning: old-style function definition [-Wold-style-definition] 348 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/null.c: In function ‘SetOption’: ./generic/null.c:385:6: error: expected declaration specifiers before ‘CONST’ 385 | CONST char *optionName; /* Name of requested option */ | ^~~~~ ./generic/null.c:386:6: error: expected declaration specifiers before ‘CONST’ 386 | CONST char *newValue; /* The new value */ | ^~~~~ ./generic/null.c:382:1: warning: old-style function definition [-Wold-style-definition] 382 | SetOption (instanceData, interp, optionName, newValue) | ^~~~~~~~~ ./generic/null.c:382:1: error: type of ‘optionName’ defaults to ‘int’ [-Wimplicit-int] ./generic/null.c:382:1: error: type of ‘newValue’ defaults to ‘int’ [-Wimplicit-int] ./generic/buf.h:126:3: error: unknown type name ‘Buf_TellProc’ 126 | Buf_TellProc* tellProc; /* Procedure called to ask for the | ^~~~~~~~~~~~ ./generic/fifo2.c:115:3: error: ‘GetOption’ undeclared here (not in a function) 115 | GetOption, /* Get options. NULL'able */ | ^~~~~~~~~ ./generic/buf.h:126:3: error: unknown type name ‘Buf_TellProc’ 126 | Buf_TellProc* tellProc; /* Procedure called to ask for the | ^~~~~~~~~~~~ ./generic/null.c:389:5: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST84’? 389 | CONST char *options = "delay"; | ^~~~~ | CONST84 ./generic/null.c:389:10: error: expected ‘;’ before ‘char’ 389 | CONST char *options = "delay"; | ^~~~~ | ; ./generic/null.c:392:27: error: passing argument 2 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 392 | if (!strcmp("-delay", optionName)) { | ^~~~~~~~~~ | | | int ./generic/zero.c:87:5: error: ‘GetFile’ undeclared here (not in a function) 87 | GetFile, /* Get OS handle from the channel. */ | ^~~~~~~ In file included from ./generic/memchanInt.h:32: /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘int’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./generic/zero.c: In function ‘BlockMode’: ./generic/null.c:394:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 394 | result = Tcl_GetInt(interp, (CONST84 char *)newValue, &delay); | ^ ./generic/zero.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/zero.c: In function ‘Close’: ./generic/zero.c:153:1: warning: old-style function definition [-Wold-style-definition] 153 | Close (instanceData, interp) | ^~~~~ ./generic/null.c:401:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 401 | (CONST84 char *)optionName, (CONST84 char *)options); | ^ ./generic/zero.c: In function ‘Input’: ./generic/zero.c:195:1: warning: old-style function definition [-Wold-style-definition] 195 | Input(instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/zero.c: In function ‘Output’: ./generic/zero.c:229:1: warning: old-style function definition [-Wold-style-definition] 229 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/zero.c: In function ‘WatchChannel’: ./generic/zero.c:263:1: warning: old-style function definition [-Wold-style-definition] 263 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/null.c:401:57: error: ‘options’ undeclared (first use in this function); did you mean ‘optionName’? 401 | (CONST84 char *)optionName, (CONST84 char *)options); | ^~~~~~~ | optionName ./generic/null.c: In function ‘GetOption’: ./generic/null.c:429:1: warning: old-style function definition [-Wold-style-definition] 429 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/null.c: In function ‘Memchan_CreateNullChannel’: ./generic/null.c:480:1: warning: old-style function definition [-Wold-style-definition] 480 | Memchan_CreateNullChannel(interp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/fifo2.c:116:3: error: ‘WatchChannel’ undeclared here (not in a function) 116 | WatchChannel, /* Initialize notifier */ | ^~~~~~~~~~~~ ./generic/random.c:81:5: error: ‘WatchChannel’ undeclared here (not in a function) 81 | WatchChannel, /* Initialize notifier */ | ^~~~~~~~~~~~ ./generic/random.c:83:5: error: ‘GetFile’ undeclared here (not in a function) 83 | GetFile, /* Get OS handle from the channel. */ | ^~~~~~~ ./generic/fifo2.c:118:3: error: ‘GetFile’ undeclared here (not in a function) 118 | GetFile, /* Get OS handle from the channel. */ | ^~~~~~~ ./generic/random.c: In function ‘BlockMode’: ./generic/random.c:122:1: warning: old-style function definition [-Wold-style-definition] 122 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/random.c: In function ‘Close’: ./generic/fifo2.c: In function ‘BlockMode’: ./generic/random.c:150:1: warning: old-style function definition [-Wold-style-definition] 150 | Close (instanceData, interp) | ^~~~~ ./generic/fifo2.c:282:1: warning: old-style function definition [-Wold-style-definition] 282 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/fifo2.c: In function ‘Close’: ./generic/fifo2.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | Close (instanceData, interp) | ^~~~~ ./generic/random.c: In function ‘Input’: ./generic/random.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ In file included from ./generic/random.c:34: ./generic/../isaac/rand.h:51:7: error: too many arguments to function ‘isaac’; expected 0, have 1 51 | (isaac(r), (r)->randcnt=RANDSIZ-1, (r)->randrsl[(r)->randcnt]) : \ | ^~~~~ ./generic/random.c:203:15: note: in expansion of macro ‘rand’ 203 | rnd = rand(&chan->state); | ^~~~ ./generic/../isaac/rand.h:41:6: note: declared here 41 | void isaac(/*_ randctx *r _*/); | ^~~~~ ./generic/../isaac/rand.h:51:7: error: too many arguments to function ‘isaac’; expected 0, have 1 51 | (isaac(r), (r)->randcnt=RANDSIZ-1, (r)->randrsl[(r)->randcnt]) : \ | ^~~~~ ./generic/random.c:207:15: note: in expansion of macro ‘rand’ 207 | rnd = rand(&chan->state); | ^~~~ ./generic/../isaac/rand.h:41:6: note: declared here 41 | void isaac(/*_ randctx *r _*/); | ^~~~~ ./generic/buf.h:128:3: error: unknown type name ‘Buf_DataProc’ 128 | Buf_DataProc* dataProc; /* Procedure called to ask for a | ^~~~~~~~~~~~ ./generic/random.c: In function ‘Output’: ./generic/random.c:239:1: warning: old-style function definition [-Wold-style-definition] 239 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ In file included from ./generic/buf.h:134: ./generic/bufDecls.h:35:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN int Buf_IsInitialized _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/bufDecls.h:37:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 37 | EXTERN int Buf_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/bufDecls.h:47:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | EXTERN void Buf_RegisterType _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/buf.h:128:3: error: unknown type name ‘Buf_DataProc’ 128 | Buf_DataProc* dataProc; /* Procedure called to ask for a | ^~~~~~~~~~~~ ./generic/../isaac/rand.h:51:7: error: too many arguments to function ‘isaac’; expected 0, have 1 51 | (isaac(r), (r)->randcnt=RANDSIZ-1, (r)->randrsl[(r)->randcnt]) : \ | ^~~~~ ./generic/random.c:254:11: note: in expansion of macro ‘rand’ 254 | rnd = rand(&chan->state); | ^~~~ ./generic/bufDecls.h:59:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 59 | EXTERN void Buf_IncrRefcount _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/../isaac/rand.h:41:6: note: declared here 41 | void isaac(/*_ randctx *r _*/); | ^~~~~ ./generic/bufDecls.h:61:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 61 | EXTERN void Buf_DecrRefcount _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/random.c:246:9: warning: variable ‘rnd’ set but not used [-Wunused-but-set-variable] 246 | ub4 rnd, n = 0; | ^~~ ./generic/bufDecls.h:63:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 63 | EXTERN int Buf_IsShared _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/random.c: In function ‘WatchChannel’: In file included from ./generic/buf.h:134: ./generic/bufDecls.h:35:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 35 | EXTERN int Buf_IsInitialized _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/random.c:284:1: warning: old-style function definition [-Wold-style-definition] 284 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/bufDecls.h:37:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 37 | EXTERN int Buf_Init _ANSI_ARGS_((Tcl_Interp * interp)); | ^~~~~~~~~~~ ./generic/bufDecls.h:65:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 65 | EXTERN Buf_BufferType* Buf_GetType _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:47:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | EXTERN void Buf_RegisterType _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:67:13: error: expected ‘;’ before ‘char’ 67 | EXTERN CONST char* Buf_GetTypeName _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~ | ; ./generic/bufDecls.h:67:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 67 | EXTERN CONST char* Buf_GetTypeName _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:59:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 59 | EXTERN void Buf_IncrRefcount _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:69:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 69 | EXTERN int Buf_Size _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:61:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 61 | EXTERN void Buf_DecrRefcount _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:63:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 63 | EXTERN int Buf_IsShared _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:71:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 71 | EXTERN ClientData Buf_GetClientData _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:76:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 76 | EXTERN Buf_Buffer Buf_Create _ANSI_ARGS_((Buf_BufferType* bufType, | ^~~~~~~~~~~ ./generic/bufDecls.h:65:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 65 | EXTERN Buf_BufferType* Buf_GetType _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:79:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 79 | EXTERN Buf_Buffer Buf_Dup _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:67:13: error: expected ‘;’ before ‘char’ 67 | EXTERN CONST char* Buf_GetTypeName _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~ | ; ./generic/bufDecls.h:67:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 67 | EXTERN CONST char* Buf_GetTypeName _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:81:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 81 | EXTERN Buf_Buffer Buf_CreateFixedBuffer _ANSI_ARGS_((int size)); | ^~~~~~~~~~~ ./generic/bufDecls.h:69:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 69 | EXTERN int Buf_Size _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:83:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 83 | EXTERN Buf_Buffer Buf_CreateExtendableBuffer _ANSI_ARGS_((int size)); | ^~~~~~~~~~~ ./generic/bufDecls.h:71:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 71 | EXTERN ClientData Buf_GetClientData _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:85:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 85 | EXTERN Buf_Buffer Buf_CreateRange _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:76:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 76 | EXTERN Buf_Buffer Buf_Create _ANSI_ARGS_((Buf_BufferType* bufType, | ^~~~~~~~~~~ ./generic/bufDecls.h:93:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 93 | EXTERN int Buf_Read _ANSI_ARGS_((Buf_Buffer buf, void* outbuf, | ^~~~~~~~~~~ ./generic/null.c:488:21: error: implicit declaration of function ‘MemchanGenHandle’ [-Wimplicit-function-declaration] 488 | channelHandle = MemchanGenHandle ("null"); | ^~~~~~~~~~~~~~~~ ./generic/bufDecls.h:79:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 79 | EXTERN Buf_Buffer Buf_Dup _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:96:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 96 | EXTERN int Buf_Write _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/null.c:488:19: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 488 | channelHandle = MemchanGenHandle ("null"); | ^ ./generic/bufDecls.h:107:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 107 | EXTERN char* Buf_PositionPtr _ANSI_ARGS_((Buf_BufferPosition loc)); | ^~~~~~~~~~~ ./generic/bufDecls.h:81:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 81 | EXTERN Buf_Buffer Buf_CreateFixedBuffer _ANSI_ARGS_((int size)); | ^~~~~~~~~~~ ./generic/bufDecls.h:109:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | EXTERN Buf_BufferPosition Buf_Tell _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:83:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 83 | EXTERN Buf_Buffer Buf_CreateExtendableBuffer _ANSI_ARGS_((int size)); | ^~~~~~~~~~~ ./generic/null.c: In function ‘MemchanNullCmd’: ./generic/null.c:530:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 530 | Tcl_Obj*CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/bufDecls.h:85:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 85 | EXTERN Buf_Buffer Buf_CreateRange _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:111:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 111 | EXTERN void Buf_FreePosition _ANSI_ARGS_((Buf_BufferPosition loc)); | ^~~~~~~~~~~ ./generic/null.c:526:1: warning: old-style function definition [-Wold-style-definition] 526 | MemchanNullCmd (notUsed, interp, objc, objv) | ^~~~~~~~~~~~~~ ./generic/null.c:526:1: error: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] ./generic/bufDecls.h:93:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 93 | EXTERN int Buf_Read _ANSI_ARGS_((Buf_Buffer buf, void* outbuf, | ^~~~~~~~~~~ ./generic/bufDecls.h:113:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 113 | EXTERN void Buf_MovePosition _ANSI_ARGS_((Buf_BufferPosition loc, | ^~~~~~~~~~~ ./generic/bufDecls.h:96:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 96 | EXTERN int Buf_Write _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:116:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 116 | EXTERN Buf_BufferPosition Buf_DupPosition _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:119:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 119 | EXTERN int Buf_PositionOffset _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:107:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 107 | EXTERN char* Buf_PositionPtr _ANSI_ARGS_((Buf_BufferPosition loc)); | ^~~~~~~~~~~ ./generic/bufDecls.h:109:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | EXTERN Buf_BufferPosition Buf_Tell _ANSI_ARGS_((Buf_Buffer buf)); | ^~~~~~~~~~~ ./generic/bufDecls.h:122:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 122 | EXTERN Buf_BufferPosition Buf_PositionFromOffset _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:128:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 128 | EXTERN Buf_BufferQueue Buf_NewQueue _ANSI_ARGS_((void)); | ^~~~~~~~~~~ ./generic/bufDecls.h:111:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 111 | EXTERN void Buf_FreePosition _ANSI_ARGS_((Buf_BufferPosition loc)); | ^~~~~~~~~~~ ./generic/bufDecls.h:130:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 130 | EXTERN void Buf_FreeQueue _ANSI_ARGS_((Buf_BufferQueue queue)); | ^~~~~~~~~~~ ./generic/bufDecls.h:113:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 113 | EXTERN void Buf_MovePosition _ANSI_ARGS_((Buf_BufferPosition loc, | ^~~~~~~~~~~ ./generic/bufDecls.h:132:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 132 | EXTERN int Buf_QueueRead _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/bufDecls.h:116:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 116 | EXTERN Buf_BufferPosition Buf_DupPosition _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:119:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 119 | EXTERN int Buf_PositionOffset _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/bufDecls.h:135:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 135 | EXTERN int Buf_QueueWrite _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/bufDecls.h:138:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 138 | EXTERN void Buf_QueueAppend _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/bufDecls.h:122:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 122 | EXTERN Buf_BufferPosition Buf_PositionFromOffset _ANSI_ARGS_((Buf_Buffer buf, | ^~~~~~~~~~~ ./generic/bufDecls.h:128:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 128 | EXTERN Buf_BufferQueue Buf_NewQueue _ANSI_ARGS_((void)); | ^~~~~~~~~~~ ./generic/bufDecls.h:141:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 141 | EXTERN int Buf_QueueSize _ANSI_ARGS_((Buf_BufferQueue queue)); | ^~~~~~~~~~~ ./generic/null.c: At top level: ./generic/null.c:429:1: warning: ‘GetOption’ defined but not used [-Wunused-function] 429 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/null.c:382:1: warning: ‘SetOption’ defined but not used [-Wunused-function] 382 | SetOption (instanceData, interp, optionName, newValue) | ^~~~~~~~~ ./generic/bufDecls.h:130:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 130 | EXTERN void Buf_FreeQueue _ANSI_ARGS_((Buf_BufferQueue queue)); | ^~~~~~~~~~~ ./generic/null.c:348:1: warning: ‘GetFile’ defined but not used [-Wunused-function] 348 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/null.c:304:1: warning: ‘ChannelReady’ defined but not used [-Wunused-function] 304 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/bufDecls.h:152:30: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 152 | int (*buf_IsInitialized) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/zero.c:278:63: error: ‘ChannelReady’ undeclared (first use in this function) 278 | chan->timer = Tcl_CreateTimerHandler(chan->delay, ChannelReady, | ^~~~~~~~~~~~ ./generic/zero.c:278:63: note: each undeclared identifier is reported only once for each function it appears in ./generic/bufDecls.h:132:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 132 | EXTERN int Buf_QueueRead _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/null.c:260:1: warning: ‘WatchChannel’ defined but not used [-Wunused-function] 260 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/bufDecls.h:135:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 135 | EXTERN int Buf_QueueWrite _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/null.c:226:1: warning: ‘Output’ defined but not used [-Wunused-function] 226 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/zero.c: In function ‘ChannelReady’: ./generic/zero.c:307:1: warning: old-style function definition [-Wold-style-definition] 307 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/null.c:189:1: warning: ‘Input’ defined but not used [-Wunused-function] 189 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/bufDecls.h:138:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 138 | EXTERN void Buf_QueueAppend _ANSI_ARGS_((Buf_BufferQueue queue, | ^~~~~~~~~~~ ./generic/null.c:146:1: warning: ‘Close’ defined but not used [-Wunused-function] 146 | Close (instanceData, interp) | ^~~~~ ./generic/null.c:118:1: warning: ‘BlockMode’ defined but not used [-Wunused-function] 118 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/bufDecls.h:141:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 141 | EXTERN int Buf_QueueSize _ANSI_ARGS_((Buf_BufferQueue queue)); | ^~~~~~~~~~~ ./generic/bufDecls.h:152:30: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 152 | int (*buf_IsInitialized) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */ | ^~~~~~~~~~~ ./generic/fifo.c:37:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 37 | static int Close _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo.c:40:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 40 | static int Input _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo2.c:370:3: error: implicit declaration of function ‘Buf_FreeQueue’ [-Wimplicit-function-declaration] 370 | Buf_FreeQueue (chan->rQueue); | ^~~~~~~~~~~~~ ./generic/fifo.c:43:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 43 | static int Output _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo.c:46:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 46 | static void WatchChannel _ANSI_ARGS_((ClientData instanceData, int mask)); | ^~~~~~~~~~~ ./generic/fifo2.c: In function ‘Input’: ./generic/fifo2.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/fifo.c:48:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 48 | static int GetOption _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/fifo.c:53:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 53 | static void ChannelReady _ANSI_ARGS_((ClientData instanceData)); | ^~~~~~~~~~~ ./generic/fifo.c:54:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 54 | static int GetFile _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/init.c:39:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 39 | Buf_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, CONST char *version, int exact)); | ^~~~~~~~~~~ ./generic/fifo.c:58:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 58 | static int BlockMode _ANSI_ARGS_((ClientData instanceData, | ^~~~~~~~~~~ ./generic/init.c: In function ‘Memchan_Init’: ./generic/init.c:68:5: warning: old-style function definition [-Wold-style-definition] 68 | int Memchan_Init (interp) | ^~~~~~~~~~~~ ./generic/zero.c: In function ‘GetFile’: ./generic/zero.c:351:1: warning: old-style function definition [-Wold-style-definition] 351 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/zero.c: In function ‘SetOption’: ./generic/zero.c:388:6: error: expected declaration specifiers before ‘CONST’ 388 | CONST char *optionName; /* Name of requested option */ | ^~~~~ ./generic/zero.c:389:6: error: expected declaration specifiers before ‘CONST’ 389 | CONST char *newValue; /* The new value */ | ^~~~~ ./generic/zero.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | SetOption (instanceData, interp, optionName, newValue) | ^~~~~~~~~ ./generic/zero.c:385:1: error: type of ‘optionName’ defaults to ‘int’ [-Wimplicit-int] ./generic/zero.c:385:1: error: type of ‘newValue’ defaults to ‘int’ [-Wimplicit-int] make: *** [Makefile:292: null.o] Error 1 ./generic/zero.c:392:5: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST84’? 392 | CONST char *options = "delay"; | ^~~~~ | CONST84 ./generic/zero.c:392:10: error: expected ‘;’ before ‘char’ 392 | CONST char *options = "delay"; | ^~~~~ | ; ./generic/zero.c:395:27: error: passing argument 2 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 395 | if (!strcmp("-delay", optionName)) { | ^~~~~~~~~~ | | | int In file included from ./generic/memchanInt.h:32: /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘int’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./generic/zero.c:397:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 397 | result = Tcl_GetInt(interp, (CONST84 char *)newValue, &delay); | ^ ./generic/zero.c:404:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 404 | (CONST84 char *)optionName, (CONST84 char *)options); | ^ ./generic/random.c:299:63: error: ‘ChannelReady’ undeclared (first use in this function) 299 | chan->timer = Tcl_CreateTimerHandler(chan->delay, ChannelReady, | ^~~~~~~~~~~~ ./generic/random.c:299:63: note: each undeclared identifier is reported only once for each function it appears in ./generic/random.c: In function ‘ChannelReady’: ./generic/random.c:328:1: warning: old-style function definition [-Wold-style-definition] 328 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/random.c: In function ‘GetFile’: ./generic/random.c:372:1: warning: old-style function definition [-Wold-style-definition] 372 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/random.c: In function ‘SetOption’: ./generic/random.c:409:6: error: expected declaration specifiers before ‘CONST’ 409 | CONST char *optionName; /* Name of requested option */ | ^~~~~ ./generic/random.c:410:6: error: expected declaration specifiers before ‘CONST’ 410 | CONST char *newValue; /* The new value */ | ^~~~~ ./generic/random.c:406:1: warning: old-style function definition [-Wold-style-definition] 406 | SetOption (instanceData, interp, optionName, newValue) | ^~~~~~~~~ ./generic/random.c:406:1: error: type of ‘optionName’ defaults to ‘int’ [-Wimplicit-int] ./generic/random.c:406:1: error: type of ‘newValue’ defaults to ‘int’ [-Wimplicit-int] ./generic/fifo2.c:439:19: error: implicit declaration of function ‘Buf_QueueRead’ [-Wimplicit-function-declaration] 439 | toRead = Buf_QueueRead (chan->rQueue, buf, toRead); | ^~~~~~~~~~~~~ ./generic/fifo2.c: In function ‘Output’: ./generic/fifo2.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/random.c:413:5: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST84’? 413 | CONST char *options = "delay"; | ^~~~~ | CONST84 ./generic/random.c:413:10: error: expected ‘;’ before ‘char’ 413 | CONST char *options = "delay"; | ^~~~~ | ; ./generic/random.c:416:27: error: passing argument 2 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 416 | if (!strcmp("-delay", optionName)) { | ^~~~~~~~~~ | | | int In file included from ./generic/memchanInt.h:32: /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘int’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ./generic/random.c:418:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 418 | result = Tcl_GetInt(interp, (CONST84 char *)newValue, &delay); | ^ ./generic/random.c:425:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 425 | (CONST84 char *)optionName, (CONST84 char *)options); | ^ ./generic/zero.c:404:57: error: ‘options’ undeclared (first use in this function); did you mean ‘optionName’? 404 | (CONST84 char *)optionName, (CONST84 char *)options); | ^~~~~~~ | optionName ./generic/zero.c: In function ‘GetOption’: ./generic/zero.c:432:1: warning: old-style function definition [-Wold-style-definition] 432 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/zero.c: In function ‘Memchan_CreateZeroChannel’: ./generic/zero.c:483:1: warning: old-style function definition [-Wold-style-definition] 483 | Memchan_CreateZeroChannel(interp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/fifo.c:67:27: error: ‘BlockMode’ undeclared here (not in a function) 67 | (Tcl_ChannelTypeVersion)BlockMode, /* Set blocking behaviour. */ | ^~~~~~~~~ ./generic/random.c:425:57: error: ‘options’ undeclared (first use in this function); did you mean ‘optionName’? 425 | (CONST84 char *)optionName, (CONST84 char *)options); | ^~~~~~~ | optionName ./generic/random.c: In function ‘GetOption’: ./generic/random.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/random.c: In function ‘Memchan_CreateRandomChannel’: ./generic/random.c:504:1: warning: old-style function definition [-Wold-style-definition] 504 | Memchan_CreateRandomChannel(interp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/init.c:78:26: error: ‘MemchanCmd’ undeclared (first use in this function) 78 | &MemchanCmd, | ^~~~~~~~~~ ./generic/init.c:78:26: note: each undeclared identifier is reported only once for each function it appears in ./generic/fifo.c:68:3: error: ‘Close’ undeclared here (not in a function); did you mean ‘pclose’? 68 | Close, /* Close channel, clean instance data */ | ^~~~~ | pclose ./generic/fifo2.c:522:15: error: implicit declaration of function ‘Buf_QueueWrite’ [-Wimplicit-function-declaration] 522 | toWrite = Buf_QueueWrite (chan->wQueue, buf, toWrite); | ^~~~~~~~~~~~~~ ./generic/fifo.c:69:3: error: ‘Input’ undeclared here (not in a function) 69 | Input, /* Handle read request */ | ^~~~~ ./generic/fifo2.c: In function ‘GetOption’: ./generic/fifo2.c:555:1: warning: old-style function definition [-Wold-style-definition] 555 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/fifo.c:70:3: error: ‘Output’ undeclared here (not in a function) 70 | Output, /* Handle write request */ | ^~~~~~ ./generic/random.c:513:21: error: implicit declaration of function ‘MemchanGenHandle’ [-Wimplicit-function-declaration] 513 | channelHandle = MemchanGenHandle ("random"); | ^~~~~~~~~~~~~~~~ ./generic/random.c:513:19: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 513 | channelHandle = MemchanGenHandle ("random"); | ^ ./generic/random.c:529:5: error: too many arguments to function ‘randinit’; expected 0, have 1 529 | randinit(&instance->state); | ^~~~~~~~ ~~~~~~~~~~~~~~~~ ./generic/../isaac/rand.h:39:6: note: declared here 39 | void randinit(/*_ randctx *r, word flag _*/); | ^~~~~~~~ ./generic/random.c: In function ‘MemchanRandomCmd’: ./generic/random.c:562:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 562 | Tcl_Obj*CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/random.c:558:1: warning: old-style function definition [-Wold-style-definition] 558 | MemchanRandomCmd (notUsed, interp, objc, objv) | ^~~~~~~~~~~~~~~~ ./generic/random.c:558:1: error: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] ./generic/fifo2.c:609:11: error: implicit declaration of function ‘Buf_QueueSize’ [-Wimplicit-function-declaration] 609 | LTOA (Buf_QueueSize (chan->rQueue), buffer); | ^~~~~~~~~~~~~ ./generic/memchanInt.h:147:59: note: in definition of macro ‘LTOA’ 147 | #define LTOA(x,str) sprintf (str, "%lu", (unsigned long) (x)) | ^ ./generic/random.c: At top level: ./generic/random.c:453:1: warning: ‘GetOption’ defined but not used [-Wunused-function] 453 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/random.c:406:1: warning: ‘SetOption’ defined but not used [-Wunused-function] 406 | SetOption (instanceData, interp, optionName, newValue) | ^~~~~~~~~ ./generic/random.c:372:1: warning: ‘GetFile’ defined but not used [-Wunused-function] 372 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/random.c:328:1: warning: ‘ChannelReady’ defined but not used [-Wunused-function] 328 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/random.c:284:1: warning: ‘WatchChannel’ defined but not used [-Wunused-function] 284 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/random.c:239:1: warning: ‘Output’ defined but not used [-Wunused-function] 239 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/fifo2.c: In function ‘WatchChannel’: ./generic/fifo2.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/random.c:192:1: warning: ‘Input’ defined but not used [-Wunused-function] 192 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/random.c:150:1: warning: ‘Close’ defined but not used [-Wunused-function] 150 | Close (instanceData, interp) | ^~~~~ ./generic/random.c:122:1: warning: ‘BlockMode’ defined but not used [-Wunused-function] 122 | BlockMode (instanceData, mode) | ^~~~~~~~~ make: *** [Makefile:292: random.o] Error 1 ./generic/zero.c:491:21: error: implicit declaration of function ‘MemchanGenHandle’ [-Wimplicit-function-declaration] 491 | channelHandle = MemchanGenHandle ("zero"); | ^~~~~~~~~~~~~~~~ ./generic/zero.c:491:19: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 491 | channelHandle = MemchanGenHandle ("zero"); | ^ ./generic/zero.c: In function ‘MemchanZeroCmd’: ./generic/zero.c:534:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 534 | Tcl_Obj*CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/zero.c:530:1: warning: old-style function definition [-Wold-style-definition] 530 | MemchanZeroCmd (notUsed, interp, objc, objv) | ^~~~~~~~~~~~~~ ./generic/zero.c:530:1: error: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] ./generic/fifo.c:73:3: error: ‘GetOption’ undeclared here (not in a function) 73 | GetOption, /* Get options. NULL'able */ | ^~~~~~~~~ ./generic/zero.c: At top level: ./generic/zero.c:432:1: warning: ‘GetOption’ defined but not used [-Wunused-function] 432 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/zero.c:385:1: warning: ‘SetOption’ defined but not used [-Wunused-function] 385 | SetOption (instanceData, interp, optionName, newValue) | ^~~~~~~~~ ./generic/zero.c:351:1: warning: ‘GetFile’ defined but not used [-Wunused-function] 351 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/zero.c:307:1: warning: ‘ChannelReady’ defined but not used [-Wunused-function] 307 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/zero.c:263:1: warning: ‘WatchChannel’ defined but not used [-Wunused-function] 263 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/fifo2.c:692:52: error: ‘ChannelReady’ undeclared (first use in this function) 692 | chan->timer = Tcl_CreateTimerHandler (DELAY, ChannelReady, instanceData); | ^~~~~~~~~~~~ ./generic/fifo2.c:692:52: note: each undeclared identifier is reported only once for each function it appears in ./generic/zero.c:229:1: warning: ‘Output’ defined but not used [-Wunused-function] 229 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/fifo2.c: In function ‘ChannelReady’: ./generic/fifo2.c:725:1: warning: old-style function definition [-Wold-style-definition] 725 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/zero.c:195:1: warning: ‘Input’ defined but not used [-Wunused-function] 195 | Input(instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/zero.c:153:1: warning: ‘Close’ defined but not used [-Wunused-function] 153 | Close (instanceData, interp) | ^~~~~ ./generic/zero.c:125:1: warning: ‘BlockMode’ defined but not used [-Wunused-function] 125 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/fifo2.c: In function ‘GetFile’: ./generic/fifo2.c:826:1: warning: old-style function definition [-Wold-style-definition] 826 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/fifo2.c: In function ‘Memchan_CreateFifo2Channel’: ./generic/fifo2.c:856:1: warning: old-style function definition [-Wold-style-definition] 856 | Memchan_CreateFifo2Channel(interp, aPtr, bPtr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/init.c:83:26: error: ‘MemchanFifoCmd’ undeclared (first use in this function) 83 | &MemchanFifoCmd, | ^~~~~~~~~~~~~~ make: *** [Makefile:292: zero.o] Error 1 ./generic/fifo2.c:870:27: error: implicit declaration of function ‘Buf_NewQueue’ [-Wimplicit-function-declaration] 870 | instanceA->rQueue = Buf_NewQueue (); | ^~~~~~~~~~~~ ./generic/fifo2.c:870:25: error: assignment to ‘Buf_BufferQueue’ {aka ‘struct Buf_BufferQueue_ *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 870 | instanceA->rQueue = Buf_NewQueue (); | ^ ./generic/fifo2.c:871:25: error: assignment to ‘Buf_BufferQueue’ {aka ‘struct Buf_BufferQueue_ *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 871 | instanceA->wQueue = Buf_NewQueue (); | ^ ./generic/fifo.c:74:3: error: ‘WatchChannel’ undeclared here (not in a function) 74 | WatchChannel, /* Initialize notifier */ | ^~~~~~~~~~~~ ./generic/fifo.c:76:3: error: ‘GetFile’ undeclared here (not in a function) 76 | GetFile, /* Get OS handle from the channel. */ | ^~~~~~~ ./generic/fifo.c: In function ‘BlockMode’: ./generic/fifo.c:133:1: warning: old-style function definition [-Wold-style-definition] 133 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/fifo.c: In function ‘Close’: ./generic/fifo.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | Close (instanceData, interp) | ^~~~~ ./generic/init.c:88:26: error: ‘MemchanFifo2Cmd’ undeclared (first use in this function) 88 | &MemchanFifo2Cmd, | ^~~~~~~~~~~~~~~ ./generic/fifo2.c:893:26: error: implicit declaration of function ‘MemchanGenHandle’ [-Wimplicit-function-declaration] 893 | channel [0] = MemchanGenHandle ("fifo"); | ^~~~~~~~~~~~~~~~ ./generic/fifo2.c:893:24: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 893 | channel [0] = MemchanGenHandle ("fifo"); | ^ ./generic/fifo2.c:894:24: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 894 | channel [1] = MemchanGenHandle ("fifo"); | ^ ./generic/fifo2.c: In function ‘MemchanFifo2Cmd’: ./generic/fifo2.c:947:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 947 | Tcl_Obj*CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/fifo2.c:943:1: warning: old-style function definition [-Wold-style-definition] 943 | MemchanFifo2Cmd (notUsed, interp, objc, objv) | ^~~~~~~~~~~~~~~ ./generic/fifo2.c:943:1: error: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] ./generic/fifo2.c: At top level: ./generic/fifo2.c:826:1: warning: ‘GetFile’ defined but not used [-Wunused-function] 826 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/fifo2.c:725:1: warning: ‘ChannelReady’ defined but not used [-Wunused-function] 725 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/fifo2.c:651:1: warning: ‘WatchChannel’ defined but not used [-Wunused-function] 651 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/fifo2.c:555:1: warning: ‘GetOption’ defined but not used [-Wunused-function] 555 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/fifo2.c:486:1: warning: ‘Output’ defined but not used [-Wunused-function] 486 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/fifo2.c:409:1: warning: ‘Input’ defined but not used [-Wunused-function] 409 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/fifo2.c:310:1: warning: ‘Close’ defined but not used [-Wunused-function] 310 | Close (instanceData, interp) | ^~~~~ ./generic/fifo2.c:282:1: warning: ‘BlockMode’ defined but not used [-Wunused-function] 282 | BlockMode (instanceData, mode) | ^~~~~~~~~ ./generic/fifo.c:180:3: error: implicit declaration of function ‘Buf_FreeQueue’ [-Wimplicit-function-declaration] 180 | Buf_FreeQueue (chan->queue); | ^~~~~~~~~~~~~ ./generic/fifo.c: In function ‘Input’: ./generic/fifo.c:210:1: warning: old-style function definition [-Wold-style-definition] 210 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ make: *** [Makefile:292: fifo2.o] Error 1 ./generic/init.c:93:26: error: ‘MemchanNullCmd’ undeclared (first use in this function) 93 | &MemchanNullCmd, | ^~~~~~~~~~~~~~ ./generic/fifo.c:229:19: error: implicit declaration of function ‘Buf_QueueRead’ [-Wimplicit-function-declaration] 229 | toRead = Buf_QueueRead (chan->queue, buf, toRead); | ^~~~~~~~~~~~~ ./generic/fifo.c: In function ‘Output’: ./generic/fifo.c:260:1: warning: old-style function definition [-Wold-style-definition] 260 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/init.c:98:26: error: ‘MemchanRandomCmd’ undeclared (first use in this function) 98 | &MemchanRandomCmd, | ^~~~~~~~~~~~~~~~ ./generic/fifo.c:273:19: error: implicit declaration of function ‘Buf_QueueWrite’ [-Wimplicit-function-declaration] 273 | toWrite = Buf_QueueWrite (chan->queue, buf, toWrite); | ^~~~~~~~~~~~~~ ./generic/fifo.c: In function ‘GetOption’: ./generic/fifo.c:302:1: warning: old-style function definition [-Wold-style-definition] 302 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/fifo.c: In function ‘WatchChannel’: ./generic/fifo.c:380:1: warning: old-style function definition [-Wold-style-definition] 380 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/init.c:103:26: error: ‘MemchanZeroCmd’ undeclared (first use in this function) 103 | &MemchanZeroCmd, | ^~~~~~~~~~~~~~ ./generic/fifo.c:395:52: error: ‘ChannelReady’ undeclared (first use in this function) 395 | chan->timer = Tcl_CreateTimerHandler (DELAY, ChannelReady, instanceData); | ^~~~~~~~~~~~ ./generic/fifo.c:395:52: note: each undeclared identifier is reported only once for each function it appears in ./generic/fifo.c: In function ‘ChannelReady’: ./generic/fifo.c:427:1: warning: old-style function definition [-Wold-style-definition] 427 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/fifo.c: In function ‘GetFile’: ./generic/fifo.c:484:1: warning: old-style function definition [-Wold-style-definition] 484 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/fifo.c: In function ‘Memchan_CreateFifoChannel’: ./generic/fifo.c:514:1: warning: old-style function definition [-Wold-style-definition] 514 | Memchan_CreateFifoChannel(interp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/init.c:113:5: error: implicit declaration of function ‘Buf_InitStubs’; did you mean ‘Tcl_InitStubs’? [-Wimplicit-function-declaration] 113 | Buf_InitStubs (interp, PACKAGE_VERSION, 0); | ^~~~~~~~~~~~~ | Tcl_InitStubs ./generic/fifo.c:523:22: error: implicit declaration of function ‘Buf_NewQueue’ [-Wimplicit-function-declaration] 523 | instance->queue = Buf_NewQueue (); | ^~~~~~~~~~~~ ./generic/fifo.c:523:20: error: assignment to ‘Buf_BufferQueue’ {aka ‘struct Buf_BufferQueue_ *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 523 | instance->queue = Buf_NewQueue (); | ^ ./generic/init.c:120:3: error: implicit declaration of function ‘Buf_Init’ [-Wimplicit-function-declaration] 120 | Buf_Init (interp); | ^~~~~~~~ ./generic/init.c: In function ‘Memchan_SafeInit’: ./generic/init.c:143:5: warning: old-style function definition [-Wold-style-definition] 143 | int Memchan_SafeInit (interp) | ^~~~~~~~~~~~~~~~ make: *** [Makefile:292: init.o] Error 1 ./generic/fifo.c:525:19: error: implicit declaration of function ‘MemchanGenHandle’ [-Wimplicit-function-declaration] 525 | channelHandle = MemchanGenHandle ("fifo"); | ^~~~~~~~~~~~~~~~ ./generic/fifo.c:525:17: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 525 | channelHandle = MemchanGenHandle ("fifo"); | ^ ./generic/fifo.c: In function ‘MemchanFifoCmd’: ./generic/fifo.c:567:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 567 | Tcl_Obj*CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/fifo.c:563:1: warning: old-style function definition [-Wold-style-definition] 563 | MemchanFifoCmd (notUsed, interp, objc, objv) | ^~~~~~~~~~~~~~ ./generic/fifo.c:563:1: error: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] ./generic/fifo.c: At top level: ./generic/fifo.c:484:1: warning: ‘GetFile’ defined but not used [-Wunused-function] 484 | GetFile (instanceData, direction, handlePtr) | ^~~~~~~ ./generic/fifo.c:427:1: warning: ‘ChannelReady’ defined but not used [-Wunused-function] 427 | ChannelReady (instanceData) | ^~~~~~~~~~~~ ./generic/fifo.c:380:1: warning: ‘WatchChannel’ defined but not used [-Wunused-function] 380 | WatchChannel (instanceData, mask) | ^~~~~~~~~~~~ ./generic/fifo.c:302:1: warning: ‘GetOption’ defined but not used [-Wunused-function] 302 | GetOption (instanceData, interp, optionName, dsPtr) | ^~~~~~~~~ ./generic/fifo.c:260:1: warning: ‘Output’ defined but not used [-Wunused-function] 260 | Output (instanceData, buf, toWrite, errorCodePtr) | ^~~~~~ ./generic/fifo.c:210:1: warning: ‘Input’ defined but not used [-Wunused-function] 210 | Input (instanceData, buf, toRead, errorCodePtr) | ^~~~~ ./generic/fifo.c:161:1: warning: ‘Close’ defined but not used [-Wunused-function] 161 | Close (instanceData, interp) | ^~~~~ ./generic/fifo.c:133:1: warning: ‘BlockMode’ defined but not used [-Wunused-function] 133 | BlockMode (instanceData, mode) | ^~~~~~~~~ make: *** [Makefile:292: fifo.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Xfy2VS (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Xfy2VS (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M dfb3f0f0dedd43a896ad3791400e6e81 -D /var/lib/mock/f43-build-57592159-6555397/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/memchan.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M dfb3f0f0dedd43a896ad3791400e6e81 -D /var/lib/mock/f43-build-57592159-6555397/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.46e_i3yp:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/memchan.spec'