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 aarch64 --nodeps /builddir/build/SPECS/irsim.spec'], chrootPath='/var/lib/mock/f42-build-56661924-6545378/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.ycovjlui:/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.ycovjlui:/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', '4ad093cb25aa4c4a8a7bbbbda1a99adb', '-D', '/var/lib/mock/f42-build-56661924-6545378/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ycovjlui:/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 aarch64 --nodeps /builddir/build/SPECS/irsim.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/irsim-9.7.104-15.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/irsim.spec'], chrootPath='/var/lib/mock/f42-build-56661924-6545378/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.ycovjlui:/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.ycovjlui:/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', 'de7ddf7104da4b6fad86bfc8c0b33487', '-D', '/var/lib/mock/f42-build-56661924-6545378/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ycovjlui:/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 aarch64 --nodeps /builddir/build/SPECS/irsim.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.q4uzKd + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + test -d /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/rm -rf /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/mkdir -p /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/mkdir -p /builddir/build/BUILD/irsim-9.7.104-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Uo5Trf + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + cd /builddir/build/BUILD/irsim-9.7.104-build + rm -rf irsim-9.7.104 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/irsim-9.7.104.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd irsim-9.7.104 + /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.QMNvyA + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 irsim-9.7.104 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 scripts + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 --- ./configure.backup 2019-03-22 20:20:38.000000000 +0000 +++ ./configure 2025-01-23 18:58:27.905114245 +0000 @@ -1906,7 +1906,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 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=aarch64-redhat-linux-gnu --host=aarch64-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu checking for aarch64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-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 size of void *... 8 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for gm4... no checking for gnum4... no checking for m4... /usr/bin/m4 checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking size of void *... (cached) 8 checking size of unsigned int... (cached) 4 checking size of unsigned long... (cached) 8 checking size of unsigned long long... (cached) 8 checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for setenv... yes checking for putenv... yes checking for vfork... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking param.h usability... no checking param.h presence... no checking for param.h... no checking for va_copy... yes checking for __va_copy... yes checking for tclConfig.sh... /usr/lib64/tclConfig.sh checking for tkConfig.sh... /usr/lib64/tkConfig.sh checking for wish executable... /usr/bin/wish checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: creating ./config.status config.status: creating defs.mak config.status: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting configure: WARNING: unrecognized options: --disable-dependency-tracking configure: "Notice: Use 'make' to compile and 'make install' to install" + /usr/bin/make -O -j12 V=1 VERBOSE=1 --- errors and warnings logged in file make.log make[1]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104' --- making modules make[1]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104' for dir in base analyzer faultsim usersubckt tcltk; do \ (cd $dir && /usr/bin/make module); done make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/conn_list.o rm -f conn_list.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c conn_list.c conn_list.c: In function ‘BuildConnList’: conn_list.c:32:13: warning: old-style function definition [-Wold-style-definition] 32 | public void BuildConnList( n ) | ^~~~~~~~~~~~~ conn_list.c:34:3: error: number of arguments doesn’t match prototype 34 | { | ^ In file included from conn_list.c:20: globals.h:76:13: error: prototype declaration 76 | extern void BuildConnList( /* n */ ); | ^~~~~~~~~~~~~ conn_list.c:88:25: error: too many arguments to function ‘WarnTooManyParallel’; expected 0, have 2 88 | WarnTooManyParallel( this->nname, other->nname ); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:77:13: note: declared here 77 | extern void WarnTooManyParallel( /* s1, s2 */ ); | ^~~~~~~~~~~~~~~~~~~ conn_list.c: In function ‘WarnTooManyParallel’: conn_list.c:110:13: warning: old-style function definition [-Wold-style-definition] 110 | public void WarnTooManyParallel( s1, s2 ) | ^~~~~~~~~~~~~~~~~~~ conn_list.c:112:3: error: number of arguments doesn’t match prototype 112 | { | ^ globals.h:77:13: error: prototype declaration 77 | extern void WarnTooManyParallel( /* s1, s2 */ ); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: conn_list.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/fio.o rm -f fio.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c fio.c fio.c:24:17: error: conflicting types for ‘clearerr’; have ‘void(void)’ 24 | extern void clearerr(); | ^~~~~~~~ In file included from fio.c:15: /usr/include/stdio.h:850:13: note: previous declaration of ‘clearerr’ with type ‘void(FILE *)’ 850 | extern void clearerr (FILE *__stream) __THROW __nonnull ((1)); | ^~~~~~~~ fio.c: In function ‘fgetline’: fio.c:33:14: warning: old-style function definition [-Wold-style-definition] 33 | public char *fgetline( bp, len, fp ) | ^~~~~~~~ fio.c:37:3: error: number of arguments doesn’t match prototype 37 | { | ^ In file included from fio.c:21: globals.h:103:14: error: prototype declaration 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ fio.c:49:17: error: too many arguments to function ‘clearerr’; expected 0, have 1 49 | clearerr( fp ); | ^~~~~~~~ ~~ fio.c:24:17: note: declared here 24 | extern void clearerr(); | ^~~~~~~~ fio.c:56:45: warning: value computed is not used [-Wunused-value] 56 | printf("\b \b"); fflush(stdout); *buff--; | ^~~~~~~ fio.c: In function ‘Fread’: fio.c:84:12: warning: old-style function definition [-Wold-style-definition] 84 | public int Fread( ptr, size, fp ) | ^~~~~ fio.c:88:3: error: number of arguments doesn’t match prototype 88 | { | ^ globals.h:104:12: error: prototype declaration 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ fio.c:95:9: error: too many arguments to function ‘clearerr’; expected 0, have 1 95 | clearerr( fp ); | ^~~~~~~~ ~~ fio.c:24:17: note: declared here 24 | extern void clearerr(); | ^~~~~~~~ fio.c: In function ‘Fwrite’: fio.c:102:12: warning: old-style function definition [-Wold-style-definition] 102 | public int Fwrite( ptr, size, fp ) | ^~~~~~ fio.c:106:3: error: number of arguments doesn’t match prototype 106 | { | ^ globals.h:105:12: error: prototype declaration 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ fio.c:113:9: error: too many arguments to function ‘clearerr’; expected 0, have 1 113 | clearerr( fp ); | ^~~~~~~~ ~~ fio.c:24:17: note: declared here 24 | extern void clearerr(); | ^~~~~~~~ make[2]: *** [../rules.mak:15: fio.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/cad_dir.o rm -f cad_dir.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c cad_dir.c cad_dir.c:27:25: error: conflicting types for ‘getenv’; have ‘char *(void)’ 27 | extern char *getenv(); | ^~~~~~ In file included from cad_dir.c:16: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ cad_dir.c:28:25: error: conflicting types for ‘getpwnam’; have ‘struct passwd *(void)’ 28 | extern struct passwd *getpwnam(); | ^~~~~~~~ In file included from cad_dir.c:20: /usr/include/pwd.h:116:23: note: previous declaration of ‘getpwnam’ with type ‘struct passwd *(const char *)’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ cad_dir.c: In function ‘InitCAD’: cad_dir.c:40:13: error: too many arguments to function ‘getenv’; expected 0, have 1 40 | if (s = getenv("CAD_ROOT")) | ^~~~~~ ~~~~~~~~~~ cad_dir.c:27:25: note: declared here 27 | extern char *getenv(); | ^~~~~~ cad_dir.c:40:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 40 | if (s = getenv("CAD_ROOT")) | ^ cad_dir.c:52:15: error: too many arguments to function ‘Valloc’; expected 0, have 2 52 | cad_lib = Valloc( len + 1, 1 ); | ^~~~~~ ~~~~~~~ cad_dir.c:29:25: note: declared here 29 | extern char *Valloc(); | ^~~~~~ cad_dir.c:56:15: error: too many arguments to function ‘Valloc’; expected 0, have 2 56 | cad_bin = Valloc( len + 1, 1 ); | ^~~~~~ ~~~~~~~ cad_dir.c:29:25: note: declared here 29 | extern char *Valloc(); | ^~~~~~ cad_dir.c:35:21: warning: unused variable ‘pwd’ [-Wunused-variable] 35 | struct passwd *pwd; | ^~~ make[2]: *** [../rules.mak:15: cad_dir.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/hist.o rm -f hist.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c hist.c hist.c: In function ‘SetFirstHist’: hist.c:81:13: warning: old-style function definition [-Wold-style-definition] 81 | public void SetFirstHist( node, value, inp, time ) | ^~~~~~~~~~~~ hist.c:85:3: error: number of arguments doesn’t match prototype 85 | { | ^ In file included from hist.c:21: globals.h:116:13: error: prototype declaration 116 | extern void SetFirstHist( /* node, value, inp, time */ ); | ^~~~~~~~~~~~ hist.c: In function ‘AddHist’: hist.c:96:13: warning: old-style function definition [-Wold-style-definition] 96 | public void AddHist( node, value, inp, time, delay, rtime ) | ^~~~~~~ hist.c:102:3: error: number of arguments doesn’t match prototype 102 | { | ^ globals.h:117:13: error: prototype declaration 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:115:5: note: in expansion of macro ‘NEW_HIST’ 115 | NEW_HIST( newh, return ); | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘AddPunted’: hist.c:137:13: warning: old-style function definition [-Wold-style-definition] 137 | public void AddPunted( node, ev, tim ) | ^~~~~~~~~ hist.c:141:3: error: number of arguments doesn’t match prototype 141 | { | ^ globals.h:118:13: error: prototype declaration 118 | extern void AddPunted( /* node, ev, tim */ ); | ^~~~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:150:5: note: in expansion of macro ‘NEW_HIST’ 150 | NEW_HIST( newp, return ); /* allocate the punted event itself */ | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘FreeHistList’: hist.c:174:13: warning: old-style function definition [-Wold-style-definition] 174 | public void FreeHistList( node ) | ^~~~~~~~~~~~ hist.c:176:3: error: number of arguments doesn’t match prototype 176 | { | ^ globals.h:119:13: error: prototype declaration 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ hist.c: In function ‘NewModel’: hist.c:206:13: warning: old-style function definition [-Wold-style-definition] 206 | public void NewModel( nmodel ) | ^~~~~~~~ hist.c:208:3: error: number of arguments doesn’t match prototype 208 | { | ^ globals.h:121:13: error: prototype declaration 121 | extern void NewModel( /* nmodel */ ); | ^~~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:213:9: note: in expansion of macro ‘NEW_HIST’ 213 | NEW_HIST( newh, NoMoreIncSim() ); | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘NewEdge’: hist.c:234:13: warning: old-style function definition [-Wold-style-definition] 234 | public void NewEdge( nd, ev ) | ^~~~~~~ hist.c:237:3: error: number of arguments doesn’t match prototype 237 | { | ^ globals.h:122:13: error: prototype declaration 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:245:9: note: in expansion of macro ‘NEW_HIST’ 245 | NEW_HIST( newh, NoMoreIncSim() ); | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘DeleteNextEdge’: hist.c:266:13: warning: old-style function definition [-Wold-style-definition] 266 | public void DeleteNextEdge( nd ) | ^~~~~~~~~~~~~~ hist.c:268:3: error: number of arguments doesn’t match prototype 268 | { | ^ globals.h:123:13: error: prototype declaration 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ hist.c: In function ‘FlushHist’: hist.c:318:13: warning: old-style function definition [-Wold-style-definition] 318 | public void FlushHist( ftime ) | ^~~~~~~~~ hist.c:320:3: error: number of arguments doesn’t match prototype 320 | { | ^ globals.h:124:13: error: prototype declaration 124 | extern void FlushHist( /* ftime */ ); | ^~~~~~~~~ hist.c: In function ‘backToTime’: hist.c:355:12: warning: old-style function definition [-Wold-style-definition] 355 | public int backToTime( nd ) | ^~~~~~~~~~ hist.c:357:3: error: number of arguments doesn’t match prototype 357 | { | ^ globals.h:125:12: error: prototype declaration 125 | extern int backToTime( /* nd */ ); | ^~~~~~~~~~ hist.c:387:17: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 387 | enqueue_event( nd, (int) h->val, (long) h->t.p.delay, | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ hist.c:403:17: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 403 | enqueue_event( nd, (int) h->val, (long) h->t.r.delay, | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist.c:442:24: note: in expansion of macro ‘compute_trans_state’ 442 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: hist.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/hist_io.o rm -f hist_io.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c hist_io.c hist_io.c: In function ‘DumpNodeHist’: hist_io.c:125:13: warning: old-style function definition [-Wold-style-definition] 125 | private int DumpNodeHist( nd, ndindx, fp ) | ^~~~~~~~~~~~ hist_io.c:142:9: error: too many arguments to function ‘Fwrite’; expected 0, have 3 142 | if( Fwrite( &header, Size_Node_Head, fp ) <= 0 ) | ^~~~~~ ~~~~~~~ In file included from hist_io.c:27: globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:154:17: error: too many arguments to function ‘Fwrite’; expected 0, have 3 154 | if( Fwrite( &hist, Size_PuntFile_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:161:17: error: too many arguments to function ‘Fwrite’; expected 0, have 3 161 | if( Fwrite( &hist, Size_File_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:172:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 172 | for( n = 0, ev = nd->events; ev != NULL; ev = ev->nlink, n++ ); | ^~~ In file included from hist_io.c:26: bin_io.h:58:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 58 | { \ | ^ hist_io.c:173:9: note: in expansion of macro ‘PackBytes’ 173 | PackBytes( h_end.npend, n, NB_RTIME ); | ^~~~~~~~~ hist_io.c:174:13: error: too many arguments to function ‘Fwrite’; expected 0, have 3 174 | if( Fwrite( &h_end, Size_File_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:178:22: error: too many arguments to function ‘Node2index’; expected 0, have 1 178 | ndindx = Node2index( ev->p.cause ); | ^~~~~~~~~~ ~~~~~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ hist_io.c:184:17: error: too many arguments to function ‘Fwrite’; expected 0, have 3 184 | if( Fwrite( &pending, Size_File_Pend, fp ) <= 0 ) | ^~~~~~ ~~~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:191:13: error: too many arguments to function ‘Fwrite’; expected 0, have 3 191 | if( Fwrite( &h_end, Size_File_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c: In function ‘WriteHistHeader’: hist_io.c:203:13: warning: old-style function definition [-Wold-style-definition] 203 | private int WriteHistHeader( fd ) | ^~~~~~~~~~~~~~~ hist_io.c:218:9: error: too many arguments to function ‘Fwrite’; expected 0, have 3 218 | if( Fwrite( &fh, Size_File_Head, fd ) <= 0 ) | ^~~~~~ ~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c: In function ‘ReadHistHead’: hist_io.c:224:13: warning: old-style function definition [-Wold-style-definition] 224 | private int ReadHistHead( fd, pNewTime, pTime0 ) | ^~~~~~~~~~~~ hist_io.c:233:9: error: too many arguments to function ‘Fread’; expected 0, have 3 233 | if( Fread( &fh, Size_File_Head, fd ) != Size_File_Head ) | ^~~~~ ~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c: In function ‘DumpHist’: hist_io.c:271:13: warning: old-style function definition [-Wold-style-definition] 271 | public void DumpHist( fname ) | ^~~~~~~~ hist_io.c:273:3: error: number of arguments doesn’t match prototype 273 | { | ^ globals.h:129:13: error: prototype declaration 129 | extern void DumpHist( /* fname */ ); | ^~~~~~~~ hist_io.c:289:5: error: too many arguments to function ‘walk_net_index’; expected 0, have 2 289 | walk_net_index( DumpNodeHist, fp ); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~ globals.h:214:13: note: declared here 214 | extern void walk_net_index( /* fun, arg */ ); | ^~~~~~~~~~~~~~ hist_io.c: In function ‘rd_hist’: hist_io.c:295:13: warning: old-style function definition [-Wold-style-definition] 295 | private int rd_hist( fd, pnlist ) | ^~~~~~~ hist_io.c:310:12: error: too many arguments to function ‘Fread’; expected 0, have 3 310 | while( Fread( &head, Size_Node_Head, fd ) == Size_Node_Head ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:313:19: error: too many arguments to function ‘Index2node’; expected 0, have 1 313 | if( (nd = Index2node( ndindx )) == NULL ) | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ hist_io.c:330:9: error: too many arguments to function ‘SetFirstHist’; expected 0, have 4 330 | SetFirstHist( nd, val, inp, etime ); | ^~~~~~~~~~~~ ~~ globals.h:116:13: note: declared here 116 | extern void SetFirstHist( /* node, value, inp, time */ ); | ^~~~~~~~~~~~ hist_io.c:336:13: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 336 | FreeHistList( nd ); | ^~~~~~~~~~~~ ~~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ hist_io.c:340:17: error: too many arguments to function ‘Fread’; expected 0, have 3 340 | if( Fread( &hist, Size_File_Hist, fd ) != Size_File_Hist ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:361:21: error: too many arguments to function ‘Fread’; expected 0, have 3 361 | if( Fread( hist.ptime, Size_Ptime, fd ) != Size_Ptime ) | ^~~~~ ~~~~~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:369:17: error: too many arguments to function ‘AddPunted’; expected 0, have 3 369 | AddPunted( nd, &ev, etime ); | ^~~~~~~~~ ~~ globals.h:118:13: note: declared here 118 | extern void AddPunted( /* node, ev, tim */ ); | ^~~~~~~~~ hist_io.c:372:17: error: too many arguments to function ‘AddHist’; expected 0, have 6 372 | AddHist( nd, val, inp, etime, (long) delay, (long) rtime ); | ^~~~~~~ ~~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ hist_io.c:383:13: error: too many arguments to function ‘free_event’; expected 0, have 1 383 | free_event( nd->events ); | ^~~~~~~~~~ ~~~~~~~~~~ globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ hist_io.c:390:17: error: too many arguments to function ‘Fread’; expected 0, have 3 390 | if( Fread( &pend, Size_File_Pend, fd ) != Size_File_Pend ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:406:24: error: too many arguments to function ‘Index2node’; expected 0, have 1 406 | cur_node = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ hist_io.c:408:13: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 408 | enqueue_event( nd, val, (long) delay, (long) rtime ); | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ hist_io.c: In function ‘fix_transistors’: hist_io.c:423:14: warning: old-style function definition [-Wold-style-definition] 423 | private void fix_transistors( nd ) | ^~~~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist_io.c:431:30: note: in expansion of macro ‘compute_trans_state’ 431 | l->xtor->state = compute_trans_state( l->xtor ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist_io.c:435:26: note: in expansion of macro ‘compute_trans_state’ 435 | l->xtor->state = compute_trans_state( l->xtor ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist_io.c:437:26: note: in expansion of macro ‘compute_trans_state’ 437 | l->xtor->state = compute_trans_state( l->xtor ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ hist_io.c: In function ‘ReadHist’: hist_io.c:441:13: warning: old-style function definition [-Wold-style-definition] 441 | public void ReadHist( fname ) | ^~~~~~~~ hist_io.c:443:3: error: number of arguments doesn’t match prototype 443 | { | ^ globals.h:130:13: error: prototype declaration 130 | extern void ReadHist( /* fname */ ); | ^~~~~~~~ hist_io.c:468:13: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 468 | FreeHistList( n ); /* undo any work done */ | ^~~~~~~~~~~~ ~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ hist_io.c:470:17: error: too many arguments to function ‘free_event’; expected 0, have 1 470 | free_event( n->events ); | ^~~~~~~~~~ ~~~~~~~~~ globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: hist_io.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/binsim.o rm -f binsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c binsim.c binsim.c: In function ‘wr_nodes’: binsim.c:140:23: error: too many arguments to function ‘StackCap’; expected 0, have 1 140 | cap += (StackCap( t ) / 2.0); | ^~~~~~~~ ~ In file included from binsim.c:26: globals.h:342:15: note: declared here 342 | extern double StackCap( /* t */ ); | ^~~~~~~~ In file included from binsim.c:28: binsim.c:149:38: error: too many arguments to function ‘Node2index’; expected 0, have 1 149 | PackBytes( node.n.alias, Node2index( n->nlink ), NB_NDINDEX ) | ^~~~~~~~~~ ~~~~~~~~ bin_io.h:59:36: note: in definition of macro ‘PackBytes’ 59 | register unsigned long B_T = (NUM); \ | ^~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:152:16: error: too many arguments to function ‘Fwrite’; expected 0, have 3 152 | (void) Fwrite( &node, Size_File_Node, fnet ); | ^~~~~~ ~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c:153:16: error: too many arguments to function ‘Fwrite’; expected 0, have 3 153 | (void) Fwrite( pnode( n ), slen, fnet ); | ^~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c:159:20: error: too many arguments to function ‘Fwrite’; expected 0, have 3 159 | (void) Fwrite( &delays, Size_File_Delay, fnet ); | ^~~~~~ ~~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c:165:20: error: too many arguments to function ‘Fwrite’; expected 0, have 3 165 | (void) Fwrite( &thresh, Size_File_Thresh, fnet ); | ^~~~~~ ~~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c: In function ‘wr_trans’: binsim.c:173:14: warning: old-style function definition [-Wold-style-definition] 173 | private void wr_trans( t ) | ^~~~~~~~ binsim.c:185:14: error: too many arguments to function ‘Node2index’; expected 0, have 1 185 | ndindx = Node2index( t->gate ); | ^~~~~~~~~~ ~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:188:14: error: too many arguments to function ‘Node2index’; expected 0, have 1 188 | ndindx = Node2index( t->source ); | ^~~~~~~~~~ ~~~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:191:14: error: too many arguments to function ‘Node2index’; expected 0, have 1 191 | ndindx = Node2index( t->drain ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:206:12: error: too many arguments to function ‘Fwrite’; expected 0, have 3 206 | (void) Fwrite( &trans, Size_File_Trans, fnet ); | ^~~~~~ ~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c: In function ‘wr_txtors’: binsim.c:210:14: warning: old-style function definition [-Wold-style-definition] 210 | private void wr_txtors( tlist ) | ^~~~~~~~~ binsim.c: In function ‘WriteAscii’: binsim.c:236:14: warning: old-style function definition [-Wold-style-definition] 236 | private void WriteAscii( f ) | ^~~~~~~~~~ binsim.c: In function ‘ReadAscii’: binsim.c:249:13: warning: old-style function definition [-Wold-style-definition] 249 | private int ReadAscii( f, line ) | ^~~~~~~~~ binsim.c:262:13: error: too many arguments to function ‘fgetline’; expected 0, have 3 262 | if( fgetline( line, 200, f ) == NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ binsim.c: In function ‘wr_netfile’: binsim.c:285:13: warning: old-style function definition [-Wold-style-definition] 285 | public void wr_netfile( fname ) | ^~~~~~~~~~ binsim.c:287:3: error: number of arguments doesn’t match prototype 287 | { | ^ globals.h:26:13: error: prototype declaration 26 | extern void wr_netfile( /* fname */ ); | ^~~~~~~~~~ binsim.c: In function ‘rd_nodes’: binsim.c:313:14: warning: old-style function definition [-Wold-style-definition] 313 | private void rd_nodes( nname, n_nodes ) | ^~~~~~~~ binsim.c:328:13: error: too many arguments to function ‘Fread’; expected 0, have 3 328 | if( Fread( &node, Size_File_Node, fnet ) != Size_File_Node ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:332:13: error: too many arguments to function ‘Fread’; expected 0, have 3 332 | if( Fread( nname, slen, fnet ) != slen ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:335:13: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 335 | n = RsimGetNode( nname ); | ^~~~~~~~~~~ ~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ binsim.c:356:17: error: too many arguments to function ‘Fread’; expected 0, have 3 356 | if( Fread( &delays, Size_File_Delay, fnet ) != Size_File_Delay ) | ^~~~~ ~~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:364:17: error: too many arguments to function ‘Fread’; expected 0, have 3 364 | if( Fread( &thresh, Size_File_Thresh, fnet ) != Size_File_Thresh ) | ^~~~~ ~~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:378:20: error: too many arguments to function ‘Index2node’; expected 0, have 1 378 | n->nlink = Index2node( n->c.time ); | ^~~~~~~~~~ ~~~~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c: In function ‘rd_txtors’: binsim.c:395:12: error: too many arguments to function ‘Fread’; expected 0, have 3 395 | while( Fread( &trans, Size_File_Trans, fnet ) == Size_File_Trans ) | ^~~~~ ~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ In file included from binsim.c:29: net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ binsim.c:397:9: note: in expansion of macro ‘NEW_TRANS’ 397 | NEW_TRANS( t ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ binsim.c:400:19: error: too many arguments to function ‘Index2node’; expected 0, have 1 400 | t->gate = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c:403:21: error: too many arguments to function ‘Index2node’; expected 0, have 1 403 | t->source = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c:406:20: error: too many arguments to function ‘Index2node’; expected 0, have 1 406 | t->drain = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c:418:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 418 | EnterPos( t, TRUE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ binsim.c:421:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 421 | EnterPos( t, FALSE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ binsim.c:423:16: error: too many arguments to function ‘requiv’; expected 0, have 3 423 | t->r = requiv( (int) t->ttype, width, length ); | ^~~~~~ ~~~~~~~~~~~~~~ globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ binsim.c: In function ‘rd_netfile’: binsim.c:434:12: warning: old-style function definition [-Wold-style-definition] 434 | public int rd_netfile( f, line ) | ^~~~~~~~~~ binsim.c:437:3: error: number of arguments doesn’t match prototype 437 | { | ^ globals.h:27:12: error: prototype declaration 27 | extern int rd_netfile( /* f, line */ ); | ^~~~~~~~~~ binsim.c:443:9: error: too many arguments to function ‘fgetline’; expected 0, have 3 443 | if( fgetline( line, 200, f ) == NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ binsim.c:464:5: error: too many arguments to function ‘adjust_transistors’; expected 0, have 1 464 | adjust_transistors( brd_tlist ); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ binsim.c:38:17: note: declared here 38 | private void adjust_transistors(); | ^~~~~~~~~~~~~~~~~~ binsim.c: In function ‘adjust_transistors’: binsim.c:470:14: warning: old-style function definition [-Wold-style-definition] 470 | private void adjust_transistors( tlist ) | ^~~~~~~~~~~~~~~~~~ binsim.c: In function ‘bin_connect_txtors’: net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:538:17: note: in expansion of macro ‘CONNECT’ 538 | CONNECT( on_trans, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:542:17: note: in expansion of macro ‘CONNECT’ 542 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:547:17: note: in expansion of macro ‘CONNECT’ 547 | CONNECT( t->source->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:552:17: note: in expansion of macro ‘CONNECT’ 552 | CONNECT( t->drain->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: binsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/access.o rm -f access.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c access.c access.c: In function ‘FileStatus’: access.c:34:15: warning: old-style function definition [-Wold-style-definition] 34 | public Fstat *FileStatus( name ) | ^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/mem.o rm -f mem.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c mem.c mem.c:119:19: error: conflicting types for ‘sleep’; have ‘unsigned int(void)’ 119 | extern unsigned sleep(); | ^~~~~ In file included from mem.c:60: /usr/include/unistd.h:464:21: note: previous declaration of ‘sleep’ with type ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ mem.c: In function ‘GetMoreCore’: mem.c:204:17: warning: old-style function definition [-Wold-style-definition] 204 | private Pointer GetMoreCore( npages ) | ^~~~~~~~~~~ mem.c:251:20: error: too many arguments to function ‘sleep’; expected 0, have 1 251 | (void) sleep( 15 ); | ^~~~~ ~~ mem.c:119:19: note: declared here 119 | extern unsigned sleep(); | ^~~~~ mem.c:273:24: error: too many arguments to function ‘sleep’; expected 0, have 1 273 | (void) sleep( 15 ); | ^~~~~ ~~ mem.c:119:19: note: declared here 119 | extern unsigned sleep(); | ^~~~~ mem.c: In function ‘GetPage’: mem.c:290:17: warning: old-style function definition [-Wold-style-definition] 290 | private Pointer GetPage( nPages, size, no_mem_exit ) | ^~~~~~~ mem.c: In function ‘Falloc’: mem.c:334:14: warning: old-style function definition [-Wold-style-definition] 334 | public char *Falloc( nbytes, no_mem_exit ) | ^~~~~~ mem.c:347:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 347 | return( Valloc( nbytes, no_mem_exit ) ); | ^~~~~~ ~~~~~~ mem.c:330:19: note: declared here 330 | char *Valloc(); | ^~~~~~ mem.c: In function ‘Ffree’: mem.c:375:13: warning: old-style function definition [-Wold-style-definition] 375 | public void Ffree( p, nbytes ) | ^~~~~ mem.c:378:3: error: number of arguments doesn’t match prototype 378 | { | ^ mem.c:331:18: error: prototype declaration 331 | void Ffree(), Vfree(); | ^~~~~ mem.c:386:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 386 | Vfree( p ); | ^~~~~ ~ mem.c:331:27: note: declared here 331 | void Ffree(), Vfree(); | ^~~~~ mem.c: In function ‘MallocList’: mem.c:397:14: warning: old-style function definition [-Wold-style-definition] 397 | public MList MallocList( nbytes, no_mem_exit ) | ^~~~~~~~~~ mem.c:410:17: error: too many arguments to function ‘MallocBigList’; expected 0, have 2 410 | return( MallocBigList( nbytes, no_mem_exit ) ); | ^~~~~~~~~~~~~ ~~~~~~ mem.c:329:18: note: declared here 329 | private MList MallocBigList(); | ^~~~~~~~~~~~~ mem.c: In function ‘MallocBigList’: mem.c:437:15: warning: old-style function definition [-Wold-style-definition] 437 | private MList MallocBigList( nbytes, no_mem_exit ) | ^~~~~~~~~~~~~ mem.c:445:29: error: too many arguments to function ‘Valloc’; expected 0, have 2 445 | head = tail = (Pointer) Valloc( nbytes, no_mem_exit ); | ^~~~~~ ~~~~~~ mem.c:330:19: note: declared here 330 | char *Valloc(); | ^~~~~~ mem.c:451:31: error: too many arguments to function ‘Valloc’; expected 0, have 2 451 | tail->ptr = (Pointer) Valloc( nbytes, no_mem_exit ); | ^~~~~~ ~~~~~~ mem.c:330:19: note: declared here 330 | char *Valloc(); | ^~~~~~ mem.c:457:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 457 | Vfree( head ); | ^~~~~ ~~~~ mem.c:331:27: note: declared here 331 | void Ffree(), Vfree(); | ^~~~~ mem.c: In function ‘Vfree’: mem.c:487:13: warning: old-style function definition [-Wold-style-definition] 487 | public void Vfree( ptr ) | ^~~~~ mem.c:489:3: error: number of arguments doesn’t match prototype 489 | { | ^ mem.c:331:27: error: prototype declaration 331 | void Ffree(), Vfree(); | ^~~~~ mem.c: In function ‘Valloc’: mem.c:540:14: warning: old-style function definition [-Wold-style-definition] 540 | public char *Valloc( nbytes, no_mem_exit ) | ^~~~~~ mem.c:543:3: error: number of arguments doesn’t match prototype 543 | { | ^ mem.c:330:19: error: prototype declaration 330 | char *Valloc(); | ^~~~~~ mem.c:589:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 589 | Vfree( pg + 1 ); | ^~~~~ ~~~~~~ mem.c:487:13: note: declared here 487 | public void Vfree( ptr ) | ^~~~~ make[2]: *** [../rules.mak:13: mem.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/config.o rm -f config.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c config.c config.c:87:3: warning: missing braces around initializer [-Wmissing-braces] 87 | { | ^ config.c: In function ‘ParseLine’: config.c:123:13: warning: old-style function definition [-Wold-style-definition] 123 | private int ParseLine( line, args ) | ^~~~~~~~~ config.c: In function ‘config’: config.c:152:12: warning: old-style function definition [-Wold-style-definition] 152 | public int config( cname ) | ^~~~~~ config.c:154:3: error: number of arguments doesn’t match prototype 154 | { | ^ In file included from config.c:22: globals.h:68:12: error: prototype declaration 68 | extern int config( /* cname */ ); | ^~~~~~ config.c:176:16: error: too many arguments to function ‘FileStatus’; expected 0, have 1 176 | stat = FileStatus( cname ); | ^~~~~~~~~~ ~~~~~ globals.h:22:15: note: declared here 22 | extern Fstat *FileStatus( /* name */ ); | ^~~~~~~~~~ config.c:181:20: error: too many arguments to function ‘FileStatus’; expected 0, have 1 181 | stat = FileStatus( prm_file ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:22:15: note: declared here 22 | extern Fstat *FileStatus( /* name */ ); | ^~~~~~~~~~ config.c:187:24: error: too many arguments to function ‘FileStatus’; expected 0, have 1 187 | stat = FileStatus( prm_file ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:22:15: note: declared here 22 | extern Fstat *FileStatus( /* name */ ); | ^~~~~~~~~~ config.c:208:5: error: too many arguments to function ‘fgetline’; expected 0, have 3 208 | fgetline(line, LSIZE, cfile); | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ config.c:212:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 212 | if (fgetline(line, LSIZE, cfile) == NULL) { | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ config.c:225:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 225 | while( fgetline( line, LSIZE, cfile ) != NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ config.c:231:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 231 | if( str_eql( "resistance", targv[0] ) == 0 ) | ^~~~~~~ ~~~~~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:234:17: error: too many arguments to function ‘insert’; expected 0, have 5 234 | insert( targv[1], targv[2], targv[3], targv[4], targv[5] ); | ^~~~~~ ~~~~~~~~ config.c:120:17: note: declared here 120 | private void insert(); | ^~~~~~ config.c:246:21: error: too many arguments to function ‘str_eql’; expected 0, have 2 246 | if( str_eql( p->name, targv[0] ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c: In function ‘lresist’: config.c:340:16: warning: old-style function definition [-Wold-style-definition] 340 | private double lresist( list, l, size ) | ^~~~~~~ config.c: In function ‘wresist’: config.c:364:16: warning: old-style function definition [-Wold-style-definition] 364 | private double wresist( list, w, l ) | ^~~~~~~ config.c: In function ‘requiv’: config.c:402:17: warning: old-style function definition [-Wold-style-definition] 402 | public Resists *requiv( type, width, length ) | ^~~~~~ config.c:405:3: error: number of arguments doesn’t match prototype 405 | { | ^ globals.h:69:17: error: prototype declaration 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ config.c:417:27: error: too many arguments to function ‘Valloc’; expected 0, have 2 417 | rtab = (resptr *) Valloc( RES_TAB_SIZE * sizeof( resptr * ), 1 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c:428:22: error: too many arguments to function ‘MallocList’; expected 0, have 2 428 | r = (resptr) MallocList( sizeof( ResEntry ), 1 ); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ config.c: In function ‘linsert’: config.c:450:14: warning: old-style function definition [-Wold-style-definition] 450 | private void linsert( list, l, resist ) | ^~~~~~~ config.c:467:30: error: too many arguments to function ‘Valloc’; expected 0, have 2 467 | lnew = (struct length *) Valloc( sizeof( struct length ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c: In function ‘winsert’: config.c:479:14: warning: old-style function definition [-Wold-style-definition] 479 | private void winsert( list, w, l, resist ) | ^~~~~~~ config.c:497:29: error: too many arguments to function ‘Valloc’; expected 0, have 2 497 | wnew = (struct width *) Valloc( sizeof( struct width ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c:498:30: error: too many arguments to function ‘Valloc’; expected 0, have 2 498 | lnew = (struct length *) Valloc( sizeof( struct length ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c: In function ‘insert’: config.c:513:14: warning: old-style function definition [-Wold-style-definition] 513 | private void insert( type, context, w, l, r ) | ^~~~~~ config.c:530:9: error: too many arguments to function ‘str_eql’; expected 0, have 2 530 | if( str_eql( context, "static" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:532:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 532 | else if( str_eql( context, "dynamic-high" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:534:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 534 | else if( str_eql( context, "dynamic-low" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:536:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 536 | else if( str_eql( context, "power" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:547:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 547 | if( str_eql( ttype[t], type ) == 0 ) | ^~~~~~~ ~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:554:18: error: too many arguments to function ‘str_eql’; expected 0, have 2 554 | else if( str_eql( ttype_drop[t], type ) == 0 ) | ^~~~~~~ ~~~~~~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ make[2]: *** [../rules.mak:13: config.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/eval.o rm -f eval.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c eval.c eval.c: In function ‘init_vdd_gnd’: eval.c:64:5: error: too many arguments to function ‘enqueue_input’; expected 0, have 2 64 | enqueue_input( VDD_node, HIGH ); | ^~~~~~~~~~~~~ ~~~~~~~~ In file included from eval.c:23: globals.h:302:13: note: declared here 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ eval.c:65:5: error: too many arguments to function ‘enqueue_input’; expected 0, have 2 65 | enqueue_input( GND_node, LOW ); | ^~~~~~~~~~~~~ ~~~~~~~~ globals.h:302:13: note: declared here 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ eval.c: In function ‘pr_decay’: eval.c:90:14: warning: old-style function definition [-Wold-style-definition] 90 | private void pr_decay( e ) | ^~~~~~~~ eval.c: In function ‘pr_watched’: eval.c:103:14: warning: old-style function definition [-Wold-style-definition] 103 | private void pr_watched( e, n ) | ^~~~~~~~~~ eval.c: In function ‘pr_capwatched’: eval.c:139:14: warning: old-style function definition [-Wold-style-definition] 139 | private void pr_capwatched( e, n ) | ^~~~~~~~~~~~~ eval.c: In function ‘acc_step_power’: eval.c:167:14: warning: old-style function definition [-Wold-style-definition] 167 | private void acc_step_power( n ) | ^~~~~~~~~~~~~~ eval.c: In function ‘MarkNodes’: eval.c:178:14: warning: old-style function definition [-Wold-style-definition] 178 | private void MarkNodes( evlist ) | ^~~~~~~~~ eval.c:201:13: error: too many arguments to function ‘SetInputs’; expected 0, have 2 201 | SetInputs( &hinputs, HIGH ); /* HIGH inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:44:14: note: declared here 44 | private void SetInputs( /* listp, val */ ); | ^~~~~~~~~ eval.c:202:13: error: too many arguments to function ‘SetInputs’; expected 0, have 2 202 | SetInputs( &linputs, LOW ); /* LOW inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:44:14: note: declared here 44 | private void SetInputs( /* listp, val */ ); | ^~~~~~~~~ eval.c:203:13: error: too many arguments to function ‘SetInputs’; expected 0, have 2 203 | SetInputs( &uinputs, X ); /* X inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:44:14: note: declared here 44 | private void SetInputs( /* listp, val */ ); | ^~~~~~~~~ eval.c:211:23: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 211 | new = EnqueueOther(TIMED_EV, cur_delta + (Ulong)e->delay); | ^~~~~~~~~~~~ globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ eval.c:217:17: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 217 | free((char *)e->enode); | ^~~~ eval.c:24:1: note: include ‘’ or provide a declaration of ‘free’ 23 | #include "globals.h" +++ |+#include 24 | eval.c:217:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 217 | free((char *)e->enode); | ^~~~ eval.c:217:17: note: include ‘’ or provide a declaration of ‘free’ eval.c:247:13: error: too many arguments to function ‘AddHist’; expected 0, have 6 247 | AddHist( n, n->npot, 0, e->ntime, (long) e->delay, (long) e->rtime ); | ^~~~~~~ ~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ eval.c:250:13: error: too many arguments to function ‘evalAssertWhen’; expected 0, have 1 250 | evalAssertWhen(n); | ^~~~~~~~~~~~~~ ~ globals.h:257:17: note: declared here 257 | extern void evalAssertWhen( /* n*/ ); | ^~~~~~~~~~~~~~ eval.c:253:43: error: too many arguments to function ‘IncHistEvCnt’; expected 0, have 1 253 | { extern int ev_hgm; if( ev_hgm ) IncHistEvCnt( -1 ); } | ^~~~~~~~~~~~ ~~ globals.h:262:13: note: declared here 262 | extern void IncHistEvCnt( /* tp */ ); | ^~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ eval.c:309:28: note: in expansion of macro ‘compute_trans_state’ 309 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ eval.c: In function ‘EvalNodes’: eval.c:365:14: warning: old-style function definition [-Wold-style-definition] 365 | private long EvalNodes( evlist ) | ^~~~~~~~~ eval.c:402:25: error: too many arguments to function ‘subckt_model_C’; expected 0, have 1 402 | subckt_model_C(t); | ^~~~~~~~~~~~~~ ~ globals.h:374:13: note: declared here 374 | extern void subckt_model_C( /* t */ ); | ^~~~~~~~~~~~~~ eval.c:408:26: error: too many arguments to function ‘model’; expected 0, have 1 408 | (*model)( t->source ); | ~^~~~~~~ ~~~~~~~~~ eval.c:410:26: error: too many arguments to function ‘model’; expected 0, have 1 410 | (*model)( t->drain ); | ~^~~~~~~ ~~~~~~~~ eval.c:423:22: error: too many arguments to function ‘model’; expected 0, have 1 423 | (*model)( other ); | ~^~~~~~~ ~~~~~ eval.c: In function ‘SetInputs’: eval.c:442:14: warning: old-style function definition [-Wold-style-definition] 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:460:9: error: too many arguments to function ‘enqueue_input’; expected 0, have 2 460 | enqueue_input( n, val ); | ^~~~~~~~~~~~~ ~ globals.h:302:13: note: declared here 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ eval.c:463:13: error: too many arguments to function ‘AddHist’; expected 0, have 6 463 | AddHist( n, val, 1, cur_delta, 0L, 0L ); | ^~~~~~~ ~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ eval.c: In function ‘EvalNOinputs’: eval.c:496:9: error: too many arguments to function ‘AddHist’; expected 0, have 6 496 | AddHist( n, (int) n->curr->val, 0, cur_delta, 0L, 0L ); | ^~~~~~~ ~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ eval.c:498:14: error: too many arguments to function ‘model’; expected 0, have 1 498 | (*model)( n ); | ~^~~~~~~ ~ eval.c: In function ‘step’: eval.c:510:12: warning: old-style function definition [-Wold-style-definition] 510 | public int step( stop_time ) | ^~~~ eval.c:512:3: error: number of arguments doesn’t match prototype 512 | { | ^ globals.h:93:12: error: prototype declaration 93 | extern int step( /* stop_time */ ); | ^~~~ eval.c:520:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2 520 | SetInputs( &hinputs, HIGH ); /* HIGH inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:442:14: note: declared here 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:521:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2 521 | SetInputs( &linputs, LOW ); /* LOW inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:442:14: note: declared here 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:522:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2 522 | SetInputs( &uinputs, X ); /* X inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:442:14: note: declared here 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:535:22: error: too many arguments to function ‘get_next_event’; expected 0, have 1 535 | while( (evlist = get_next_event( stop_time )) != NULL ) | ^~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:287:14: note: declared here 287 | extern evptr get_next_event( /* stop_time */ ); | ^~~~~~~~~~~~~~ eval.c:549:17: error: too many arguments to function ‘disp_watch_vec’; expected 0, have 1 549 | disp_watch_vec( brk_flag ); | ^~~~~~~~~~~~~~ ~~~~~~~~ globals.h:258:13: note: declared here 258 | extern void disp_watch_vec( /* which */ ); | ^~~~~~~~~~~~~~ eval.c:567:9: error: too many arguments to function ‘UpdateWindow’; expected 0, have 1 567 | UpdateWindow( cur_delta ); | ^~~~~~~~~~~~ ~~~~~~~~~ globals.h:390:13: note: declared here 390 | extern void UpdateWindow( /* endT */ ); | ^~~~~~~~~~~~ eval.c: At top level: eval.c:576:3: warning: missing braces around initializer [-Wmissing-braces] 576 | { | ^ eval.c: In function ‘ComputeTransState’: eval.c:597:12: warning: old-style function definition [-Wold-style-definition] 597 | public int ComputeTransState( t ) | ^~~~~~~~~~~~~~~~~ eval.c:599:3: error: number of arguments doesn’t match prototype 599 | { | ^ globals.h:99:12: error: prototype declaration 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:13: eval.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/intr.o rm -f intr.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c intr.c intr.c: In function ‘InitSignals’: intr.c:56:28: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 56 | (void) signal( SIGINT, int_handler ); | ^~~~~~~~~~~ | | | void (*)(void) In file included from intr.c:17: /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ intr.c:31:14: note: ‘int_handler’ declared here 31 | private void int_handler() | ^~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ intr.c:57:28: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 57 | (void) signal( SIGHUP, bye_bye ); /* for magic's sake */ | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ intr.c:44:14: note: ‘bye_bye’ declared here 44 | private void bye_bye() | ^~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/netupdate.o rm -f netupdate.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c netupdate.c netupdate.c: In function ‘InitAliasTbl’: netupdate.c:76:32: error: too many arguments to function ‘Valloc’; expected 0, have 2 76 | aliases.bucket = (nptr **) Valloc( SIZEOF( nptr * ) * aliases.size, 1 ); | ^~~~~~ In file included from netupdate.c:48: globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c: In function ‘FreeAliasTbl’: netupdate.c:91:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 91 | Vfree( aliases.bucket[ i ] ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ netupdate.c:93:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 93 | Vfree( aliases.bucket ); | ^~~~~ ~~~~~~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ netupdate.c: In function ‘IncreaseAliasTbl’: netupdate.c:100:14: warning: old-style function definition [-Wold-style-definition] 100 | private void IncreaseAliasTbl( i ) | ^~~~~~~~~~~~~~~~ netupdate.c:109:32: error: too many arguments to function ‘Valloc’; expected 0, have 2 109 | aliases.bucket = (nptr **) Valloc( SIZEOF( nptr * ) * aliases.size, 1 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c:112:5: error: too many arguments to function ‘Vfree’; expected 0, have 1 112 | Vfree( old.bucket ); | ^~~~~ ~~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ netupdate.c: In function ‘EnterAlias’: netupdate.c:116:14: warning: old-style function definition [-Wold-style-definition] 116 | private void EnterAlias( n, nd ) | ^~~~~~~~~~ netupdate.c:131:24: error: too many arguments to function ‘Valloc’; expected 0, have 2 131 | tbl = (nptr *) Valloc( SIZEOF( nptr ) * ALIAS_TBL_SIZE, 1 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c: In function ‘LookupAlias’: netupdate.c:140:14: warning: old-style function definition [-Wold-style-definition] 140 | private nptr LookupAlias( n ) | ^~~~~~~~~~~ netupdate.c: In function ‘alias_node’: netupdate.c:257:14: warning: old-style function definition [-Wold-style-definition] 257 | private void alias_node( ac, av ) | ^~~~~~~~~~ netupdate.c:269:30: error: too many arguments to function ‘FindNode_TxtorPos’; expected 0, have 1 269 | nd = (av[0][1] != '=') ? FindNode_TxtorPos( av[2] ) : RsimGetNode( av[2] ); | ^~~~~~~~~~~~~~~~~ ~~~~~ globals.h:352:13: note: declared here 352 | extern nptr FindNode_TxtorPos( /* s */ ); | ^~~~~~~~~~~~~~~~~ netupdate.c:269:59: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 269 | nd = (av[0][1] != '=') ? FindNode_TxtorPos( av[2] ) : RsimGetNode( av[2] ); | ^~~~~~~~~~~ ~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ netupdate.c: In function ‘new_node’: netupdate.c:277:14: warning: old-style function definition [-Wold-style-definition] 277 | private void new_node( ac, av ) | ^~~~~~~~ netupdate.c:291:10: error: too many arguments to function ‘GetNewNode’; expected 0, have 1 291 | nd = GetNewNode( av[3] ); | ^~~~~~~~~~ ~~~~~ globals.h:210:13: note: declared here 210 | extern nptr GetNewNode( /* name */ ); | ^~~~~~~~~~ netupdate.c: In function ‘eliminate_node’: netupdate.c:299:14: warning: old-style function definition [-Wold-style-definition] 299 | private void eliminate_node( ac, av ) | ^~~~~~~~~~~~~~ netupdate.c:309:14: error: too many arguments to function ‘find’; expected 0, have 1 309 | nd = find( av[1] ); | ^~~~ ~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ netupdate.c:321:5: error: too many arguments to function ‘n_delete’; expected 0, have 1 321 | n_delete( nd ); | ^~~~~~~~ ~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c: In function ‘change_cap’: netupdate.c:329:14: warning: old-style function definition [-Wold-style-definition] 329 | private void change_cap( ac, av ) | ^~~~~~~~~~ netupdate.c: In function ‘ChangeNodeName’: netupdate.c:356:14: warning: old-style function definition [-Wold-style-definition] 356 | private void ChangeNodeName( nd, str ) | ^~~~~~~~~~~~~~ netupdate.c:364:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 364 | if( str_eql( str, nd->nname ) == 0 ) | ^~~~~~~ ~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ netupdate.c:374:5: error: too many arguments to function ‘n_delete’; expected 0, have 1 374 | n_delete( nd ); | ^~~~~~~~ ~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c:376:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 376 | nd->nname = Valloc( len, 1 ); | ^~~~~~ ~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c:381:9: error: too many arguments to function ‘str_eql’; expected 0, have 2 381 | if( str_eql( str, "Vdd" ) ) | ^~~~~~~ ~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ netupdate.c:383:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 383 | else if( str_eql( str, "Gnd" ) ) | ^~~~~~~ ~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ netupdate.c: In function ‘rename_node’: netupdate.c:388:14: warning: old-style function definition [-Wold-style-definition] 388 | private void rename_node( ac, av ) | ^~~~~~~~~~~ netupdate.c: In function ‘BestNodeName’: netupdate.c:406:13: warning: old-style function definition [-Wold-style-definition] 406 | private int BestNodeName( name1, name2 ) | ^~~~~~~~~~~~ netupdate.c: In function ‘hier_rename_node’: netupdate.c:444:14: warning: old-style function definition [-Wold-style-definition] 444 | private void hier_rename_node( ac, av ) | ^~~~~~~~~~~~~~~~ netupdate.c: In function ‘connect_nodes’: netupdate.c:465:14: warning: old-style function definition [-Wold-style-definition] 465 | private void connect_nodes( ac, av ) | ^~~~~~~~~~~~~ netupdate.c:546:5: error: too many arguments to function ‘n_delete’; expected 0, have 1 546 | n_delete( nd2 ); | ^~~~~~~~ ~~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c: In function ‘break_node’: netupdate.c:563:14: warning: old-style function definition [-Wold-style-definition] 563 | private void break_node( ac, av ) | ^~~~~~~~~~ netupdate.c:580:14: error: too many arguments to function ‘GetNewNode’; expected 0, have 1 580 | new_nd = GetNewNode( av[4] ); | ^~~~~~~~~~ ~~~~~ globals.h:210:13: note: declared here 210 | extern nptr GetNewNode( /* name */ ); | ^~~~~~~~~~ netupdate.c: In function ‘add_new_trans’: netupdate.c:587:14: warning: old-style function definition [-Wold-style-definition] 587 | private void add_new_trans( ac, av ) | ^~~~~~~~~~~~~ In file included from netupdate.c:49: net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ netupdate.c:622:5: note: in expansion of macro ‘NEW_TRANS’ 622 | NEW_TRANS( t ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ netupdate.c:624:12: error: too many arguments to function ‘requiv’; expected 0, have 3 624 | t->r = requiv( (int) tran.ttype, width, length ); | ^~~~~~ ~~~~~~~~~~~~~~~~ globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ netupdate.c: In function ‘delete_trans’: netupdate.c:658:14: warning: old-style function definition [-Wold-style-definition] 658 | private void delete_trans( ac, av ) | ^~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:668:5: note: in expansion of macro ‘FindTxtor’ 668 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:670:5: error: too many arguments to function ‘DeleteTxtorPos’; expected 0, have 1 670 | DeleteTxtorPos( t ); | ^~~~~~~~~~~~~~ ~ globals.h:351:13: note: declared here 351 | extern void DeleteTxtorPos( /* tran */ ); | ^~~~~~~~~~~~~~ netupdate.c:686:34: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 686 | if( t->ttype & STACKED ) DestroyStack( t->dcache.t ); | ^~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c:687:33: error: too many arguments to function ‘UnParallelTrans’; expected 0, have 1 687 | if( t->ttype & ORLIST ) UnParallelTrans( t ); | ^~~~~~~~~~~~~~~ ~ globals.h:225:13: note: declared here 225 | extern void UnParallelTrans( /* t */ ); | ^~~~~~~~~~~~~~~ netupdate.c: In function ‘exchange_terms’: netupdate.c:719:14: warning: old-style function definition [-Wold-style-definition] 719 | private void exchange_terms( ac, av ) | ^~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:728:5: note: in expansion of macro ‘FindTxtor’ 728 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c: In function ‘change_tsize’: netupdate.c:734:14: warning: old-style function definition [-Wold-style-definition] 734 | private void change_tsize( ac, av ) | ^~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:746:5: note: in expansion of macro ‘FindTxtor’ 746 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:762:12: error: too many arguments to function ‘requiv’; expected 0, have 3 762 | t->r = requiv( (int) t->ttype, width, length ); | ^~~~~~ ~~~~~~~~~~~~~~ globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ netupdate.c: In function ‘change_tposition’: netupdate.c:772:14: warning: old-style function definition [-Wold-style-definition] 772 | private void change_tposition( ac, av ) | ^~~~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:781:5: note: in expansion of macro ‘FindTxtor’ 781 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:783:5: error: too many arguments to function ‘DeleteTxtorPos’; expected 0, have 1 783 | DeleteTxtorPos( t ); | ^~~~~~~~~~~~~~ ~ globals.h:351:13: note: declared here 351 | extern void DeleteTxtorPos( /* tran */ ); | ^~~~~~~~~~~~~~ netupdate.c: In function ‘move_trans_terms’: netupdate.c:792:14: warning: old-style function definition [-Wold-style-definition] 792 | private void move_trans_terms( ac, av ) | ^~~~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:805:5: note: in expansion of macro ‘FindTxtor’ 805 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:814:33: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 814 | if( t->ttype & STACKED ) DestroyStack( t->dcache.t ); | ^~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c:815:33: error: too many arguments to function ‘UnParallelTrans’; expected 0, have 1 815 | if( t->ttype & ORLIST ) UnParallelTrans( t ); | ^~~~~~~~~~~~~~~ ~ globals.h:225:13: note: declared here 225 | extern void UnParallelTrans( /* t */ ); | ^~~~~~~~~~~~~~~ netupdate.c:826:13: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 826 | DestroyStack( gate->t.tran ); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c: In function ‘SwitchContext’: netupdate.c:895:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 895 | EnterPos( t, TRUE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ netupdate.c: In function ‘move_trans_to_node’: netupdate.c:902:14: warning: old-style function definition [-Wold-style-definition] 902 | private void move_trans_to_node( ac, av ) | ^~~~~~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:916:5: note: in expansion of macro ‘FindTxtor’ 916 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:934:33: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 934 | if( t->ttype & STACKED ) DestroyStack( t->dcache.t ); | ^~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c:935:33: error: too many arguments to function ‘UnParallelTrans’; expected 0, have 1 935 | if( t->ttype & ORLIST ) UnParallelTrans( t ); | ^~~~~~~~~~~~~~~ ~ globals.h:225:13: note: declared here 225 | extern void UnParallelTrans( /* t */ ); | ^~~~~~~~~~~~~~~ netupdate.c: In function ‘change_thresh’: netupdate.c:984:14: warning: old-style function definition [-Wold-style-definition] 984 | private void change_thresh( ac, av ) | ^~~~~~~~~~~~~ netupdate.c:992:10: error: too many arguments to function ‘find’; expected 0, have 1 992 | nd = find( av[1] ); | ^~~~ ~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ netupdate.c: In function ‘ndelay’: netupdate.c:1005:14: warning: old-style function definition [-Wold-style-definition] 1005 | private void ndelay( ac, av ) | ^~~~~~ netupdate.c:1013:10: error: too many arguments to function ‘find’; expected 0, have 1 1013 | nd = find( av[1] ); | ^~~~ ~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ netupdate.c: In function ‘parse_line’: netupdate.c:1030:13: warning: old-style function definition [-Wold-style-definition] 1030 | private int parse_line( line, carg ) | ^~~~~~~~~~ netupdate.c:1038:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1038 | while( ch = *line++ ) | ^~ netupdate.c: In function ‘input_changes’: netupdate.c:1054:14: warning: old-style function definition [-Wold-style-definition] 1054 | private void input_changes( fin ) | ^~~~~~~~~~~~~ netupdate.c:1068:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 1068 | while( fgetline( line, LSIZE, fin ) != NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ netupdate.c: In function ‘mark_del_alias’: netupdate.c:1117:13: warning: old-style function definition [-Wold-style-definition] 1117 | private int mark_del_alias( n ) | ^~~~~~~~~~~~~~ netupdate.c: In function ‘rm_nodes’: netupdate.c:1153:9: error: too many arguments to function ‘walk_net’; expected 0, have 2 1153 | walk_net( mark_del_alias, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ netupdate.c:1170:13: error: too many arguments to function ‘free_event’; expected 0, have 1 1170 | free_event( node->events ); | ^~~~~~~~~~ ~~~~~~~~~~~~ globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ netupdate.c:1173:13: error: too many arguments to function ‘idelete’; expected 0, have 2 1173 | idelete( node, listTbl[INPUT_NUM( node->nflags )] ); | ^~~~~~~ ~~~~ globals.h:182:13: note: declared here 182 | extern void idelete( /* n, list */ ); | ^~~~~~~ netupdate.c:1175:9: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 1175 | FreeHistList( node ); | ^~~~~~~~~~~~ ~~~~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ netupdate.c:1178:13: error: too many arguments to function ‘n_delete’; expected 0, have 1 1178 | n_delete( node ); | ^~~~~~~~ ~~~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c: In function ‘conn_ch_trans’: netupdate.c:1189:14: warning: old-style function definition [-Wold-style-definition] 1189 | private void conn_ch_trans( tlist ) | ^~~~~~~~~~~~~ netupdate.c:1200:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 1200 | EnterPos( t, TRUE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1225:25: note: in expansion of macro ‘CONNECT’ 1225 | CONNECT( on_trans, t ) | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1227:25: note: in expansion of macro ‘CONNECT’ 1227 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1230:21: note: in expansion of macro ‘CONNECT’ 1230 | CONNECT( src->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1232:21: note: in expansion of macro ‘CONNECT’ 1232 | CONNECT( drn->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ netupdate.c: In function ‘add_tran_cap’: netupdate.c:1277:14: warning: old-style function definition [-Wold-style-definition] 1277 | private void add_tran_cap( t ) | ^~~~~~~~~~~~ netupdate.c: In function ‘changed_nodes’: netupdate.c:1307:13: error: too many arguments to function ‘n_insert’; expected 0, have 1 1307 | n_insert( n ); | ^~~~~~~~ ~ globals.h:211:13: note: declared here 211 | extern void n_insert( /* nd */ ); | ^~~~~~~~ netupdate.c:1329:17: error: too many arguments to function ‘iinsert’; expected 0, have 2 1329 | iinsert( stack, &ilist ); | ^~~~~~~ ~~~~~ globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ netupdate.c:1335:17: error: too many arguments to function ‘iinsert’; expected 0, have 2 1335 | iinsert( stack, &ilist ); | ^~~~~~~ ~~~~~ globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ netupdate.c:1345:9: error: too many arguments to function ‘iinsert’; expected 0, have 2 1345 | iinsert( n, &ilist ); | ^~~~~~~ ~ globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ netupdate.c: In function ‘rd_changes’: netupdate.c:1351:13: warning: old-style function definition [-Wold-style-definition] 1351 | public iptr rd_changes( fname, logname ) | ^~~~~~~~~~ netupdate.c:1354:3: error: number of arguments doesn’t match prototype 1354 | { | ^ globals.h:170:13: error: prototype declaration 170 | extern iptr rd_changes( /* fname, logname */ ); | ^~~~~~~~~~ netupdate.c:1358:20: error: conflicting types for ‘getenv’; have ‘char *(void)’ 1358 | extern char *getenv(); | ^~~~~~ In file included from netupdate.c:40: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ netupdate.c:1388:23: error: too many arguments to function ‘walk_trans’; expected 0, have 2 1388 | if( num_cap_set ) walk_trans( add_tran_cap, (char *) 0 ); | ^~~~~~~~~~ ~~~~~~~~~~~~ globals.h:353:13: note: declared here 353 | extern void walk_trans( /* func, arg */ ); | ^~~~~~~~~~ netupdate.c:1389:5: error: too many arguments to function ‘make_parallel’; expected 0, have 1 1389 | make_parallel( ch_nlist ); | ^~~~~~~~~~~~~ ~~~~~~~~ globals.h:224:13: note: declared here 224 | extern void make_parallel( /* nlist */ ); | ^~~~~~~~~~~~~ netupdate.c:1390:5: error: too many arguments to function ‘make_stacks’; expected 0, have 1 1390 | make_stacks( ch_nlist ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:343:13: note: declared here 343 | extern void make_stacks( /* nlist */ ); | ^~~~~~~~~~~ netupdate.c:1399:25: error: too many arguments to function ‘RestartAnalyzer’; expected 0, have 3 1399 | if( analyzerON ) RestartAnalyzer( sim_time0, sim_time0, FALSE ); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:385:13: note: declared here 385 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ netupdate.c:1405:9: error: too many arguments to function ‘getenv’; expected 0, have 1 1405 | if( getenv( "RSIM_CHANGED" ) != NULL ) | ^~~~~~ ~~~~~~~~~~~~~~ netupdate.c:1358:20: note: declared here 1358 | extern char *getenv(); | ^~~~~~ make[2]: *** [../rules.mak:13: netupdate.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/defaults.o rm -f defaults.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c defaults.c defaults.c: In function ‘GetXDefault’: defaults.c:71:14: warning: old-style function definition [-Wold-style-definition] 71 | public char *GetXDefault( key ) | ^~~~~~~~~~~ defaults.c:73:3: error: number of arguments doesn’t match prototype 73 | { | ^ In file included from defaults.c:20: ana_glob.h:84:14: error: prototype declaration 84 | extern char *GetXDefault( /* key */ ); | ^~~~~~~~~~~ defaults.c: In function ‘IsDefault’: defaults.c:81:12: warning: old-style function definition [-Wold-style-definition] 81 | public int IsDefault( key, val ) | ^~~~~~~~~ defaults.c:84:3: error: number of arguments doesn’t match prototype 84 | { | ^ ana_glob.h:85:12: error: prototype declaration 85 | extern int IsDefault( /* key, val */ ); | ^~~~~~~~~ defaults.c: In function ‘ProgDefault’: defaults.c:91:14: warning: old-style function definition [-Wold-style-definition] 91 | public char *ProgDefault( key ) | ^~~~~~~~~~~ defaults.c:91:14: warning: type of ‘key’ defaults to ‘int’ [-Wimplicit-int] defaults.c:92:3: error: number of arguments doesn’t match prototype 92 | { | ^ ana_glob.h:86:14: error: prototype declaration 86 | extern char *ProgDefault( /* key */ ); | ^~~~~~~~~~~ make[2]: *** [../rules.mak:15: defaults.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/zoom.o rm -f zoom.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c zoom.c zoom.c: In function ‘Zoom’: zoom.c:19:13: warning: old-style function definition [-Wold-style-definition] 19 | public void Zoom( what ) | ^~~~ zoom.c:21:3: error: number of arguments doesn’t match prototype 21 | { | ^ In file included from zoom.c:16: ana_glob.h:214:13: error: prototype declaration 214 | extern void Zoom( /* what */ ); | ^~~~ zoom.c:60:9: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 60 | DrawTraces( start, tims.end ); | ^~~~~~~~~~ ~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: zoom.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/coords.o rm -f coords.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c coords.c coords.c: In function ‘MaxTraceDigits’: coords.c:224:13: warning: old-style function definition [-Wold-style-definition] 224 | private int MaxTraceDigits( n ) | ^~~~~~~~~~~~~~ coords.c: In function ‘MaxTraceName’: coords.c:252:13: warning: old-style function definition [-Wold-style-definition] 252 | private int MaxTraceName( n ) | ^~~~~~~~~~~~ coords.c: In function ‘GetMinWsize’: coords.c:269:13: warning: old-style function definition [-Wold-style-definition] 269 | public void GetMinWsize( w, h ) | ^~~~~~~~~~~ coords.c:271:3: error: number of arguments doesn’t match prototype 271 | { | ^ In file included from coords.c:20: ana_glob.h:50:13: error: prototype declaration 50 | extern void GetMinWsize( /* w, h */ ); | ^~~~~~~~~~~ coords.c: In function ‘WindowChanges’: coords.c:331:13: error: too many arguments to function ‘UpdateTraceCache’; expected 0, have 1 331 | UpdateTraceCache( last_disp ); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:195:13: note: declared here 195 | extern void UpdateTraceCache( /* first_trace */ ); | ^~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: coords.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/setsteps.o rm -f setsteps.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c setsteps.c setsteps.c: In function ‘GetWidth’: setsteps.c:22:14: warning: old-style function definition [-Wold-style-definition] 22 | private void GetWidth( str ) | ^~~~~~~~ setsteps.c:45:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 45 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ In file included from setsteps.c:19: ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ setsteps.c: In function ‘SetWidth’: setsteps.c:49:13: warning: old-style function definition [-Wold-style-definition] 49 | public void SetWidth( s ) | ^~~~~~~~ setsteps.c:51:3: error: number of arguments doesn’t match prototype 51 | { | ^ ana_glob.h:132:13: error: prototype declaration 132 | extern void SetWidth( /* s */ ); | ^~~~~~~~ setsteps.c:52:5: error: too many arguments to function ‘Query’; expected 0, have 2 52 | Query( "\nEnter Time Steps > ", GetWidth ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:153:13: note: declared here 153 | extern void Query( /* prompt, func */ ); | ^~~~~ setsteps.c: In function ‘SetTimeLeft’: setsteps.c:66:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 66 | DrawTraces(tims.start, tims.end); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ setsteps.c: In function ‘SetTimeRight’: setsteps.c:76:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 76 | DrawTraces(tims.start, tims.end); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: setsteps.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/textwind.o rm -f textwind.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c textwind.c textwind.c: In function ‘PRINT’: textwind.c:67:13: warning: old-style function definition [-Wold-style-definition] 67 | public void PRINT( s ) | ^~~~~ textwind.c:69:3: error: number of arguments doesn’t match prototype 69 | { | ^ In file included from textwind.c:20: ana_glob.h:151:13: error: prototype declaration 151 | extern void PRINT( /* s */ ); | ^~~~~ textwind.c: In function ‘Query’: textwind.c:135:13: warning: old-style function definition [-Wold-style-definition] 135 | public void Query( prompt, func ) | ^~~~~ textwind.c:138:3: error: number of arguments doesn’t match prototype 138 | { | ^ ana_glob.h:153:13: error: prototype declaration 153 | extern void Query( /* prompt, func */ ); | ^~~~~ textwind.c:141:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 141 | PRINT( prompt ); | ^~~~~ ~~~~~~ textwind.c:67:13: note: declared here 67 | public void PRINT( s ) | ^~~~~ textwind.c:146:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 146 | SendEventTo( StrInput ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ textwind.c: In function ‘StrInput’: textwind.c:179:14: warning: old-style function definition [-Wold-style-definition] 179 | private void StrInput( ev ) | ^~~~~~~~ textwind.c:194:10: error: too many arguments to function ‘FQuerying’; expected 0, have 1 194 | (*FQuerying)( NULL ); | ~^~~~~~~~~~~ ~~~~ textwind.c:281:9: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 281 | SendEventTo( NULL ); | ^~~~~~~~~~~ ~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ textwind.c:284:10: error: too many arguments to function ‘FQuerying’; expected 0, have 1 284 | (*FQuerying)( inpStart ); | ~^~~~~~~~~~~ ~~~~~~~~ make[2]: *** [../rules.mak:15: textwind.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/analyzer.o rm -f analyzer.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c analyzer.c analyzer.c: In function ‘SetName’: analyzer.c:25:14: warning: old-style function definition [-Wold-style-definition] 25 | public char *SetName( n ) | ^~~~~~~ analyzer.c:27:3: error: number of arguments doesn’t match prototype 27 | { | ^ In file included from analyzer.c:20: ana_glob.h:12:14: error: prototype declaration 12 | extern char *SetName( /* n */ ); | ^~~~~~~ analyzer.c: In function ‘AddTrace’: analyzer.c:40:14: warning: old-style function definition [-Wold-style-definition] 40 | private void AddTrace( t ) | ^~~~~~~~ analyzer.c: In function ‘OffsetNode’: analyzer.c:58:12: warning: old-style function definition [-Wold-style-definition] 58 | public int OffsetNode( nd, flag ) | ^~~~~~~~~~ analyzer.c:61:1: error: number of arguments doesn’t match prototype 61 | { | ^ ana_glob.h:15:12: error: prototype declaration 15 | extern int OffsetNode( /* nd, flag */ ); | ^~~~~~~~~~ analyzer.c: In function ‘OffsetVector’: analyzer.c:66:12: warning: old-style function definition [-Wold-style-definition] 66 | public int OffsetVector( vec, flag ) | ^~~~~~~~~~~~ analyzer.c:69:1: error: number of arguments doesn’t match prototype 69 | { | ^ ana_glob.h:16:12: error: prototype declaration 16 | extern int OffsetVector( /* vec, flag */ ); | ^~~~~~~~~~~~ analyzer.c: In function ‘AddNode’: analyzer.c:74:12: warning: old-style function definition [-Wold-style-definition] 74 | public int AddNode( nd, flag ) | ^~~~~~~ analyzer.c:77:3: error: number of arguments doesn’t match prototype 77 | { | ^ ana_glob.h:13:12: error: prototype declaration 13 | extern int AddNode( /* nd, flag */ ); | ^~~~~~~ analyzer.c:88:22: error: too many arguments to function ‘Valloc’; expected 0, have 2 88 | if( (t = (Trptr) Valloc( sizeof( TraceEnt ), 0 )) == NULL ) | ^~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from analyzer.c:18: ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ analyzer.c:94:15: error: too many arguments to function ‘SetName’; expected 0, have 1 94 | t->name = SetName( nd->nname ); | ^~~~~~~ ~~~~~~~~~ analyzer.c:25:14: note: declared here 25 | public char *SetName( n ) | ^~~~~~~ analyzer.c: In function ‘AddVector’: analyzer.c:105:12: warning: old-style function definition [-Wold-style-definition] 105 | public int AddVector( vec, flag ) | ^~~~~~~~~ analyzer.c:108:3: error: number of arguments doesn’t match prototype 108 | { | ^ ana_glob.h:14:12: error: prototype declaration 14 | extern int AddVector( /* vec, flag */ ); | ^~~~~~~~~ analyzer.c:113:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 113 | t = (Trptr) Valloc( sizeof( TraceEnt ) + sizeof( Cache ) * (n - 1), 0 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ analyzer.c:120:15: error: too many arguments to function ‘SetName’; expected 0, have 1 120 | t->name = SetName( vec->name ); | ^~~~~~~ ~~~~~~~~~ analyzer.c:25:14: note: declared here 25 | public char *SetName( n ) | ^~~~~~~ analyzer.c: In function ‘DisplayTraces’: analyzer.c:136:13: warning: old-style function definition [-Wold-style-definition] 136 | public void DisplayTraces( isMapped ) | ^~~~~~~~~~~~~ analyzer.c:138:3: error: number of arguments doesn’t match prototype 138 | { | ^ ana_glob.h:17:13: error: prototype declaration 17 | extern void DisplayTraces( /* isMapped */ ); | ^~~~~~~~~~~~~ analyzer.c:157:13: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 157 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:158:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 158 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:161:17: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 161 | DrawScrollBar( FALSE ); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ analyzer.c:164:13: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 164 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ analyzer.c: In function ‘RestartAnalyzer’: analyzer.c:178:13: warning: old-style function definition [-Wold-style-definition] 178 | public void RestartAnalyzer( first_time, last_time, same_hist ) | ^~~~~~~~~~~~~~~ analyzer.c:181:3: error: number of arguments doesn’t match prototype 181 | { | ^ ana_glob.h:19:13: error: prototype declaration 19 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ analyzer.c:200:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 200 | InitTimes( first_time, tims.steps / DEF_STEPS, last_time, 1); | ^~~~~~~~~ ~~~~~~~~~~ ana_glob.h:186:13: note: declared here 186 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ analyzer.c:202:9: error: too many arguments to function ‘UpdateTraceCache’; expected 0, have 1 202 | UpdateTraceCache( 0 ); | ^~~~~~~~~~~~~~~~ ~ ana_glob.h:195:13: note: declared here 195 | extern void UpdateTraceCache( /* first_trace */ ); | ^~~~~~~~~~~~~~~~ analyzer.c: In function ‘RemoveTrace’: analyzer.c:209:13: warning: old-style function definition [-Wold-style-definition] 209 | public void RemoveTrace( t ) | ^~~~~~~~~~~ analyzer.c:232:5: error: too many arguments to function ‘Vfree’; expected 0, have 1 232 | Vfree( t ); | ^~~~~ ~ ../base/globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ analyzer.c: In function ‘ClearTraces’: analyzer.c:266:9: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 266 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:268:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 268 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:269:5: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 269 | DrawScrollBar( wasTooSmall ); | ^~~~~~~~~~~~~ ~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ analyzer.c:271:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 271 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ analyzer.c:238:10: warning: variable ‘change’ set but not used [-Wunused-but-set-variable] 238 | int change, wasTooSmall; | ^~~~~~ analyzer.c: In function ‘UpdateWinRemove’: analyzer.c:293:9: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 293 | DrawScrollBar( FALSE ); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ analyzer.c:297:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 297 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:298:5: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 298 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:299:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 299 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ analyzer.c: In function ‘RemoveVector’: analyzer.c:305:13: warning: old-style function definition [-Wold-style-definition] 305 | public void RemoveVector( b ) | ^~~~~~~~~~~~ analyzer.c:307:3: error: number of arguments doesn’t match prototype 307 | { | ^ ana_glob.h:21:13: error: prototype declaration 21 | extern void RemoveVector( /* b */ ); | ^~~~~~~~~~~~ analyzer.c: In function ‘RemoveNode’: analyzer.c:329:13: warning: old-style function definition [-Wold-style-definition] 329 | public void RemoveNode( n ) | ^~~~~~~~~~ analyzer.c:331:3: error: number of arguments doesn’t match prototype 331 | { | ^ ana_glob.h:22:13: error: prototype declaration 22 | extern void RemoveNode( /* n */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: analyzer.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/namelen.o rm -f namelen.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c namelen.c namelen.c: In function ‘GetNameLen’: namelen.c:25:13: warning: old-style function definition [-Wold-style-definition] 25 | public void GetNameLen( str ) | ^~~~~~~~~~ namelen.c:53:23: error: too many arguments to function ‘SetName’; expected 0, have 1 53 | t->name = SetName( t->n.vec->name ); | ^~~~~~~ ~~~~~~~~~~~~~~ In file included from namelen.c:20: ana_glob.h:12:14: note: declared here 12 | extern char *SetName( /* n */ ); | ^~~~~~~ namelen.c:55:23: error: too many arguments to function ‘SetName’; expected 0, have 1 55 | t->name = SetName( t->n.nd->nname ); | ^~~~~~~ ~~~~~~~~~~~~~~ ana_glob.h:12:14: note: declared here 12 | extern char *SetName( /* n */ ); | ^~~~~~~ namelen.c:81:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 81 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ namelen.c:83:9: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 83 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ namelen.c:84:9: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 84 | DrawScrollBar( wasTooSmall ); | ^~~~~~~~~~~~~ ~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ namelen.c:86:9: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 86 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ namelen.c: In function ‘SetNameLen’: namelen.c:93:13: warning: old-style function definition [-Wold-style-definition] 93 | public void SetNameLen( s ) | ^~~~~~~~~~ namelen.c:95:3: error: number of arguments doesn’t match prototype 95 | { | ^ ana_glob.h:123:13: error: prototype declaration 123 | extern void SetNameLen( /* s */ ); | ^~~~~~~~~~ namelen.c:97:5: error: too many arguments to function ‘Query’; expected 0, have 2 97 | Query( " > ", GetNameLen ); | ^~~~~ ~~~~~ ana_glob.h:153:13: note: declared here 153 | extern void Query( /* prompt, func */ ); | ^~~~~ make[2]: *** [../rules.mak:15: namelen.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/movetrace.o rm -f movetrace.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c movetrace.c movetrace.c: In function ‘GetYTrace’: movetrace.c:34:14: warning: old-style function definition [-Wold-style-definition] 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:36:3: error: number of arguments doesn’t match prototype 36 | { | ^ In file included from movetrace.c:21: ana_glob.h:115:14: error: prototype declaration 115 | extern Trptr GetYTrace( /* y */ ); | ^~~~~~~~~ movetrace.c: In function ‘UnderlineTrace’: movetrace.c:57:13: warning: old-style function definition [-Wold-style-definition] 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c:60:3: error: number of arguments doesn’t match prototype 60 | { | ^ ana_glob.h:116:13: error: prototype declaration 116 | extern void UnderlineTrace( /* t, color */ ); | ^~~~~~~~~~~~~~ movetrace.c: In function ‘MoveTrace’: movetrace.c:73:13: warning: old-style function definition [-Wold-style-definition] 73 | public void MoveTrace( y ) | ^~~~~~~~~ movetrace.c:75:3: error: number of arguments doesn’t match prototype 75 | { | ^ ana_glob.h:117:13: error: prototype declaration 117 | extern void MoveTrace( /* y */ ); | ^~~~~~~~~ movetrace.c:84:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 84 | if( (select = GetYTrace( y )) == NULL ) | ^~~~~~~~~ ~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:103:5: error: too many arguments to function ‘GrabMouse’; expected 0, have 3 103 | GrabMouse( window, ButtonPressMask | ButtonMotionMask | ButtonReleaseMask, | ^~~~~~~~~ ~~~~~~ ana_glob.h:207:13: note: declared here 207 | extern void GrabMouse( /* w, ev_mask, cursor */ ); | ^~~~~~~~~ movetrace.c:110:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 110 | new = GetYTrace( ev.xmotion.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:112:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 112 | new = GetYTrace( ev.xbutton.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:153:9: error: too many arguments to function ‘SelectTrace’; expected 0, have 1 153 | SelectTrace( select ); | ^~~~~~~~~~~ ~~~~~~ movetrace.c:28:32: note: declared here 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c:156:9: error: too many arguments to function ‘MoveTraces’; expected 0, have 2 156 | MoveTraces( select, old ); | ^~~~~~~~~~ ~~~~~~ movetrace.c:28:47: note: declared here 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~ movetrace.c:157:9: error: too many arguments to function ‘UnderlineTrace’; expected 0, have 2 157 | UnderlineTrace( selectedTrace, gcs.black ); /* select box erased it */ | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~ movetrace.c:57:13: note: declared here 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c:160:9: error: too many arguments to function ‘DeleteTrace’; expected 0, have 1 160 | DeleteTrace( select ); | ^~~~~~~~~~~ ~~~~~~ movetrace.c:28:17: note: declared here 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c: In function ‘DeleteTrace’: movetrace.c:168:13: warning: old-style function definition [-Wold-style-definition] 168 | public void DeleteTrace( t ) | ^~~~~~~~~~~ movetrace.c:170:3: error: number of arguments doesn’t match prototype 170 | { | ^ movetrace.c:28:17: error: prototype declaration 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c:193:5: error: too many arguments to function ‘Vfree’; expected 0, have 1 193 | Vfree( t ); | ^~~~~ ~ In file included from movetrace.c:18: ../base/globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ movetrace.c:205:9: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 205 | DrawScrollBar( FALSE ); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ movetrace.c:209:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 209 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:210:5: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 210 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:211:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 211 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ movetrace.c: In function ‘SelectTrace’: movetrace.c:218:13: warning: old-style function definition [-Wold-style-definition] 218 | public void SelectTrace( t ) | ^~~~~~~~~~~ movetrace.c:220:3: error: number of arguments doesn’t match prototype 220 | { | ^ movetrace.c:28:32: error: prototype declaration 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c:225:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 225 | PRINT( "\nvector: " ); | ^~~~~ ~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:226:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 226 | PRINT( t->n.vec->name ); | ^~~~~ ~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:231:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 231 | PRINT( "\nalias: " ); | ^~~~~ ~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:232:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 232 | PRINT( t->n.vec->nodes[0]->nname ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:237:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 237 | PRINT( "\nnode: " ); | ^~~~~ ~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:238:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 238 | PRINT( t->n.nd->nname ); | ^~~~~ ~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:242:9: error: too many arguments to function ‘UnderlineTrace’; expected 0, have 2 242 | UnderlineTrace( selectedTrace, gcs.white ); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~ movetrace.c:57:13: note: declared here 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c:244:5: error: too many arguments to function ‘UnderlineTrace’; expected 0, have 2 244 | UnderlineTrace( t, gcs.black ); | ^~~~~~~~~~~~~~ ~ movetrace.c:57:13: note: declared here 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c: In function ‘MoveTraces’: movetrace.c:252:13: warning: old-style function definition [-Wold-style-definition] 252 | public void MoveTraces( from, to ) | ^~~~~~~~~~ movetrace.c:254:3: error: number of arguments doesn’t match prototype 254 | { | ^ movetrace.c:28:47: error: prototype declaration 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~ movetrace.c:319:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 319 | RedrawNames( rb ); | ^~~~~~~~~~~ ~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:320:5: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 320 | DrawCursVal( rb ); | ^~~~~~~~~~~ ~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:323:5: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 323 | RedrawTraces( &rb ); | ^~~~~~~~~~~~ ~~~ ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ movetrace.c: In function ‘SelectCursTrace’: movetrace.c:332:13: warning: old-style function definition [-Wold-style-definition] 332 | public void SelectCursTrace( y ) | ^~~~~~~~~~~~~~~ movetrace.c:334:3: error: number of arguments doesn’t match prototype 334 | { | ^ ana_glob.h:118:13: error: prototype declaration 118 | extern void SelectCursTrace( /* y */ ); | ^~~~~~~~~~~~~~~ movetrace.c:346:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 346 | if( (select = GetYTrace( y )) ) | ^~~~~~~~~ ~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:353:5: error: too many arguments to function ‘GrabMouse’; expected 0, have 3 353 | GrabMouse( window, ButtonPressMask | ButtonMotionMask | ButtonReleaseMask, | ^~~~~~~~~ ~~~~~~ ana_glob.h:207:13: note: declared here 207 | extern void GrabMouse( /* w, ev_mask, cursor */ ); | ^~~~~~~~~ movetrace.c:360:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 360 | new = GetYTrace( ev.xmotion.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:362:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 362 | new = GetYTrace( ev.xbutton.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:388:9: error: too many arguments to function ‘ExpandCursVal’; expected 0, have 1 388 | ExpandCursVal( select ); | ^~~~~~~~~~~~~ ~~~~~~ ana_glob.h:202:13: note: declared here 202 | extern void ExpandCursVal( /* t */ ); | ^~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: movetrace.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/base.o rm -f base.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c base.c base.c: In function ‘ChangeTraceBase’: base.c:23:13: warning: old-style function definition [-Wold-style-definition] 23 | public void ChangeTraceBase(trace, base) | ^~~~~~~~~~~~~~~ base.c:31:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 31 | PRINT("\nSelect a trace first!"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from base.c:16: ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ base.c:36:13: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration] 36 | switch (tolower(*base)) { | ^~~~~~~ base.c:18:1: note: include ‘’ or provide a declaration of ‘tolower’ 17 | #include "graphics.h" +++ |+#include 18 | base.c:56:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 56 | PRINT("\nUnknown base type!"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ base.c:67:13: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 67 | DrawScrollBar(FALSE); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ base.c:69:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 69 | DrawCursVal(cursorBox); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ base.c:70:13: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 70 | DrawTraces(tims.start, tims.end); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ base.c:79:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 79 | DrawCursVal(rb); | ^~~~~~~~~~~ ~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ base.c:82:13: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 82 | RedrawTraces(&rb); /* just redraw this trace */ | ^~~~~~~~~~~~ ~~~ ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ base.c: In function ‘ChangeBase’: base.c:91:13: warning: old-style function definition [-Wold-style-definition] 91 | public void ChangeBase(base) | ^~~~~~~~~~ base.c:93:1: error: number of arguments doesn’t match prototype 93 | { | ^ ana_glob.h:27:13: error: prototype declaration 27 | extern void ChangeBase( /* base */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: base.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/graphics.o rm -f graphics.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c graphics.c graphics.c:47:34: warning: missing braces around initializer [-Wmissing-braces] 47 | private char tops_bits[3][2] = { 0x5, 0x7, 0x1, 0x3, 0x4, 0x6 }; | ^ | { } { } { } graphics.c:48:34: warning: missing braces around initializer [-Wmissing-braces] 48 | private char bots_bits[3][2] = { 0x7, 0x5, 0x3, 0x1, 0x6, 0x4 }; | ^ | { } { } { } graphics.c: In function ‘GetColor’: graphics.c:54:13: warning: old-style function definition [-Wold-style-definition] 54 | private int GetColor( key, colors, ndefined ) | ^~~~~~~~ graphics.c:65:9: error: too many arguments to function ‘GetXDefault’; expected 0, have 1 65 | s = GetXDefault( key ); | ^~~~~~~~~~~ ~~~ In file included from graphics.c:25: ana_glob.h:84:14: note: declared here 84 | extern char *GetXDefault( /* key */ ); | ^~~~~~~~~~~ graphics.c:68:13: error: too many arguments to function ‘IsDefault’; expected 0, have 2 68 | if( IsDefault( key, s ) ) | ^~~~~~~~~ ~~~ ana_glob.h:85:12: note: declared here 85 | extern int IsDefault( /* key, val */ ); | ^~~~~~~~~ graphics.c:72:13: error: too many arguments to function ‘ProgDefault’; expected 0, have 1 72 | s = ProgDefault( key ); | ^~~~~~~~~~~ ~~~ ana_glob.h:86:14: note: declared here 86 | extern char *ProgDefault( /* key */ ); | ^~~~~~~~~~~ graphics.c: In function ‘SetColors’: graphics.c:164:17: error: too many arguments to function ‘GetXDefault’; expected 0, have 1 164 | if( strcmp( GetXDefault( DEFL_RV ), "on" ) == 0 ) | ^~~~~~~~~~~ ana_glob.h:84:14: note: declared here 84 | extern char *GetXDefault( /* key */ ); | ^~~~~~~~~~~ graphics.c: In function ‘MakeCursor’: graphics.c:225:16: warning: old-style function definition [-Wold-style-definition] 225 | private Cursor MakeCursor( fg, bg, curs, mask, w, h, x, y ) | ^~~~~~~~~~ graphics.c:225:16: warning: type of ‘x’ defaults to ‘int’ [-Wimplicit-int] graphics.c:225:16: warning: type of ‘y’ defaults to ‘int’ [-Wimplicit-int] graphics.c: In function ‘InitGraphics’: graphics.c:272:13: warning: old-style function definition [-Wold-style-definition] 272 | public void InitGraphics(font) | ^~~~~~~~~~~~ graphics.c:274:3: error: number of arguments doesn’t match prototype 274 | { | ^ ana_glob.h:94:13: error: prototype declaration 94 | extern void InitGraphics( /* font */ ); | ^~~~~~~~~~~~ In file included from graphics.c:37: Bitmaps/sizebox: At top level: Bitmaps/sizebox:3:13: warning: ‘sizebox_bits’ defined but not used [-Wunused-variable] 3 | static char sizebox_bits[] = { | ^~~~~~~~~~~~ In file included from graphics.c:36: Bitmaps/iconbox:3:13: warning: ‘iconbox_bits’ defined but not used [-Wunused-variable] 3 | static char iconbox_bits[] = { | ^~~~~~~~~~~~ In file included from graphics.c:35: Bitmaps/chk:3:13: warning: ‘chk_bits’ defined but not used [-Wunused-variable] 3 | static char chk_bits[] = { | ^~~~~~~~ In file included from graphics.c:30: Bitmaps/right_arrows:3:13: warning: ‘right_arrows_bits’ defined but not used [-Wunused-variable] 3 | static char right_arrows_bits[] = { | ^~~~~~~~~~~~~~~~~ In file included from graphics.c:29: Bitmaps/left_arrows:3:13: warning: ‘left_arrows_bits’ defined but not used [-Wunused-variable] 3 | static char left_arrows_bits[] = { | ^~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: graphics.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/deltaT.o rm -f deltaT.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c deltaT.c deltaT.c: In function ‘FindPreviousEdge’: deltaT.c:20:18: warning: old-style function definition [-Wold-style-definition] 20 | private TimeType FindPreviousEdge( t, tm, edgeH ) | ^~~~~~~~~~~~~~~~ deltaT.c: In function ‘FindNextEdge’: deltaT.c:70:18: warning: old-style function definition [-Wold-style-definition] 70 | private TimeType FindNextEdge( t, tm, edgeH ) | ^~~~~~~~~~~~ deltaT.c: In function ‘WaitForRelease’: deltaT.c:134:5: error: too many arguments to function ‘GrabMouse’; expected 0, have 3 134 | GrabMouse( window, ButtonPressMask | ButtonReleaseMask, None ); | ^~~~~~~~~ ~~~~~~ In file included from deltaT.c:16: ana_glob.h:207:13: note: declared here 207 | extern void GrabMouse( /* w, ev_mask, cursor */ ); | ^~~~~~~~~ deltaT.c: In function ‘Terminate’: deltaT.c:150:14: warning: old-style function definition [-Wold-style-definition] 150 | private void Terminate( cancel ) | ^~~~~~~~~ deltaT.c:154:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 154 | PRINT( "(canceled: click on a trace)" ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ deltaT.c:155:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 155 | SendEventTo( NULL ); | ^~~~~~~~~~~ ~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ deltaT.c: In function ‘SetEdge1’: deltaT.c:161:14: warning: old-style function definition [-Wold-style-definition] 161 | private void SetEdge1( ev ) | ^~~~~~~~ deltaT.c:176:10: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 176 | t1 = GetYTrace( ev->y ); | ^~~~~~~~~ ~~~~~ ana_glob.h:115:14: note: declared here 115 | extern Trptr GetYTrace( /* y */ ); | ^~~~~~~~~ deltaT.c:177:10: error: too many arguments to function ‘XToTime’; expected 0, have 1 177 | tm = XToTime( ev->x ); | ^~~~~~~ ~~~~~ ana_glob.h:180:17: note: declared here 180 | extern TimeType XToTime( /* x */ ); | ^~~~~~~ deltaT.c:184:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 184 | x1 = TimeToX( time1 ); | ^~~~~~~ ~~~~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ deltaT.c:193:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 193 | PRINT( " | t2 = " ); | ^~~~~ ~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ deltaT.c:195:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 195 | SendEventTo( SetEdge2 ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ deltaT.c: In function ‘SetEdge2’: deltaT.c:199:14: warning: old-style function definition [-Wold-style-definition] 199 | private void SetEdge2( ev ) | ^~~~~~~~ deltaT.c:216:10: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 216 | t2 = GetYTrace( ev->y ); | ^~~~~~~~~ ~~~~~ ana_glob.h:115:14: note: declared here 115 | extern Trptr GetYTrace( /* y */ ); | ^~~~~~~~~ deltaT.c:217:13: error: too many arguments to function ‘XToTime’; expected 0, have 1 217 | time2 = XToTime( ev->x ); | ^~~~~~~ ~~~~~ ana_glob.h:180:17: note: declared here 180 | extern TimeType XToTime( /* x */ ); | ^~~~~~~ deltaT.c:224:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 224 | x2 = TimeToX( time2 ); | ^~~~~~~ ~~~~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ deltaT.c: In function ‘DeltaT’: deltaT.c:246:13: warning: old-style function definition [-Wold-style-definition] 246 | public void DeltaT( s ) | ^~~~~~ deltaT.c:248:3: error: number of arguments doesn’t match prototype 248 | { | ^ ana_glob.h:59:13: error: prototype declaration 59 | extern void DeltaT( /* s */ ); | ^~~~~~ deltaT.c:249:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 249 | PRINT( "\nt1 = " ); | ^~~~~ ~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ deltaT.c:250:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 250 | SendEventTo( SetEdge1 ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ make[2]: *** [../rules.mak:15: deltaT.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/postscript.o rm -f postscript.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c postscript.c postscript.c: In function ‘printPS’: postscript.c:86:13: warning: old-style function definition [-Wold-style-definition] 86 | public void printPS( s ) | ^~~~~~~ postscript.c:88:3: error: number of arguments doesn’t match prototype 88 | { | ^ In file included from postscript.c:23: ana_glob.h:128:13: error: prototype declaration 128 | extern void printPS( /* s */ ); | ^~~~~~~ postscript.c:91:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 91 | PRINT( "\nThere's nothing to print" ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ postscript.c:114:5: error: too many arguments to function ‘WritePSfile’; expected 0, have 1 114 | WritePSfile(fname); | ^~~~~~~~~~~ ~~~~~ postscript.c:47:13: note: declared here 47 | public void WritePSfile(); | ^~~~~~~~~~~ postscript.c: In function ‘WritePSfile’: postscript.c:132:13: warning: old-style function definition [-Wold-style-definition] 132 | public void WritePSfile( psfname ) | ^~~~~~~~~~~ postscript.c:134:3: error: number of arguments doesn’t match prototype 134 | { | ^ postscript.c:47:13: error: prototype declaration 47 | public void WritePSfile(); | ^~~~~~~~~~~ postscript.c:136:22: error: conflicting types for ‘time’; have ‘time_t(void)’ {aka ‘long int(void)’} 136 | time_t theTime, time(); | ^~~~ In file included from postscript.c:19: /usr/include/time.h:76:15: note: previous declaration of ‘time’ with type ‘time_t(time_t *)’ {aka ‘long int(long int *)’} 76 | extern time_t time (time_t *__timer) __THROW; | ^~~~ postscript.c:161:15: error: too many arguments to function ‘time’; expected 0, have 1 161 | theTime = time( 0 ); | ^~~~ ~ postscript.c:136:22: note: declared here 136 | time_t theTime, time(); | ^~~~ postscript.c:167:5: error: too many arguments to function ‘DrawOutline’; expected 0, have 1 167 | DrawOutline( date ); | ^~~~~~~~~~~ ~~~~ postscript.c:43:14: note: declared here 43 | private void DrawOutline(), PrintNames(), PrintTraces(); | ^~~~~~~~~~~ postscript.c:169:9: error: too many arguments to function ‘PrintTimes’; expected 0, have 2 169 | PrintTimes( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ postscript.c:44:44: note: declared here 44 | private void PrintSignal(), PrintVector(), PrintTimes(), PrintLegend(); | ^~~~~~~~~~ postscript.c:171:5: error: too many arguments to function ‘PrintTraces’; expected 0, have 2 171 | PrintTraces( tims.start, min( tims.end, tims.last ) ); | ^~~~~~~~~~~ ~~~~~~~~~~ postscript.c:43:43: note: declared here 43 | private void DrawOutline(), PrintNames(), PrintTraces(); | ^~~~~~~~~~~ postscript.c:178:9: error: too many arguments to function ‘DrawOutline’; expected 0, have 1 178 | DrawOutline( date ); | ^~~~~~~~~~~ ~~~~ postscript.c:43:14: note: declared here 43 | private void DrawOutline(), PrintNames(), PrintTraces(); | ^~~~~~~~~~~ postscript.c:185:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 185 | PRINT( "done" ); | ^~~~~ ~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ postscript.c: In function ‘psString’: postscript.c:275:14: warning: old-style function definition [-Wold-style-definition] 275 | private void psString( s, len ) | ^~~~~~~~ postscript.c: In function ‘SetPattern’: postscript.c:292:17: warning: old-style function definition [-Wold-style-definition] 292 | private pattern SetPattern( patt ) | ^~~~~~~~~~ postscript.c: In function ‘DrawOutline’: postscript.c:313:14: warning: old-style function definition [-Wold-style-definition] 313 | private void DrawOutline( date ) | ^~~~~~~~~~~ postscript.c: In function ‘PrintTimes’: postscript.c:345:14: warning: old-style function definition [-Wold-style-definition] 345 | private void PrintTimes( t1, t2 ) | ^~~~~~~~~~ postscript.c:370:13: error: too many arguments to function ‘TimeToX’; expected 0, have 1 370 | x = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:382:13: error: too many arguments to function ‘TimeToX’; expected 0, have 1 382 | x = TimeToX( i ); | ^~~~~~~ ~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:392:13: error: too many arguments to function ‘TimeToX’; expected 0, have 1 392 | x = TimeToX( t2 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c: In function ‘PrintTraces’: postscript.c:423:14: warning: old-style function definition [-Wold-style-definition] 423 | private void PrintTraces( t1, t2 ) | ^~~~~~~~~~~ postscript.c:432:13: error: too many arguments to function ‘PrintVector’; expected 0, have 3 432 | PrintVector( t, t1, t2 ); | ^~~~~~~~~~~ ~ postscript.c:44:29: note: declared here 44 | private void PrintSignal(), PrintVector(), PrintTimes(), PrintLegend(); | ^~~~~~~~~~~ postscript.c:434:13: error: too many arguments to function ‘PrintSignal’; expected 0, have 3 434 | PrintSignal( t, t1, t2 ); | ^~~~~~~~~~~ ~ postscript.c:44:14: note: declared here 44 | private void PrintSignal(), PrintVector(), PrintTimes(), PrintLegend(); | ^~~~~~~~~~~ postscript.c: In function ‘PrintSignal’: postscript.c:439:14: warning: old-style function definition [-Wold-style-definition] 439 | private void PrintSignal( t, t1, t2 ) | ^~~~~~~~~~~ postscript.c:452:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 452 | x1 = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:469:14: error: too many arguments to function ‘TimeToX’; expected 0, have 1 469 | x2 = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c: In function ‘PrintVector’: postscript.c:491:14: warning: old-style function definition [-Wold-style-definition] 491 | private void PrintVector( t, t1, t2 ) | ^~~~~~~~~~~ postscript.c:531:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 531 | x2 = TimeToX( t2 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:532:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 532 | x1 = TimeToX( firstChange ); | ^~~~~~~ ~~~~~~~~~~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:550:18: error: too many arguments to function ‘TimeToX’; expected 0, have 1 550 | x2 = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:577:18: error: too many arguments to function ‘TimeToX’; expected 0, have 1 577 | x2 = TimeToX( tm ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:584:19: error: too many arguments to function ‘HistToStr’; expected 0, have 4 584 | str = HistToStr( start, nbits, t->bdigit, 1 ); | ^~~~~~~~~ ~~~~~ ana_glob.h:31:14: note: declared here 31 | extern char *HistToStr( /* hist, nbits, b_digit, offset */ ); | ^~~~~~~~~ make[2]: *** [../rules.mak:15: postscript.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' --- compiling faultsim/faultsim.o rm -f faultsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c faultsim.c faultsim.c: In function ‘add_trigger’: faultsim.c:55:5: warning: old-style function definition [-Wold-style-definition] 55 | int add_trigger( nd, edge, delay ) | ^~~~~~~~~~~ faultsim.c:76:13: error: too many arguments to function ‘AddHist’; expected 0, have 6 76 | AddHist( &fake_nd, edge, 1, tm, 0L, 0L ); | ^~~~~~~ ~~~~~~~~ In file included from faultsim.c:8: ../base/globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ faultsim.c:82:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 82 | t = (ptrig) Valloc( (int) sizeof( Trigger ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ faultsim.c: In function ‘add_sampler’: faultsim.c:92:5: warning: old-style function definition [-Wold-style-definition] 92 | int add_sampler( period, offset ) | ^~~~~~~~~~~ faultsim.c:98:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 98 | t = (ptrig) Valloc( (int) sizeof( Trigger ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ faultsim.c: In function ‘add_prim_output’: faultsim.c:109:5: warning: old-style function definition [-Wold-style-definition] 109 | int add_prim_output( nd, flag ) | ^~~~~~~~~~~~~~~ faultsim.c:128:9: error: too many arguments to function ‘iinsert’; expected 0, have 2 128 | iinsert( nd, &triggers->outp ); | ^~~~~~~ ~~ ../base/globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ faultsim.c: In function ‘cleanup_fsim’: faultsim.c:148:13: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 148 | FreeHistList( &fake_nd ); | ^~~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ faultsim.c:158:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 158 | Vfree( t ); | ^~~~~ ~ ../base/globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ faultsim.c: In function ‘StuckNode’: faultsim.c:193:14: warning: old-style function definition [-Wold-style-definition] 193 | private void StuckNode( nd, val ) | ^~~~~~~~~ In file included from faultsim.c:7: ../base/net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ../base/net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ faultsim.c:212:5: note: in expansion of macro ‘CONNECT’ 212 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ ../base/net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ../base/net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ faultsim.c:213:5: note: in expansion of macro ‘CONNECT’ 213 | CONNECT( nd->nterm, t ); | ^~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ faultsim.c: In function ‘UnStuckNode’: faultsim.c:217:14: warning: old-style function definition [-Wold-style-definition] 217 | private void UnStuckNode( nd ) | ^~~~~~~~~~~ faultsim.c: In function ‘do_fault’: faultsim.c:227:13: warning: old-style function definition [-Wold-style-definition] 227 | private int do_fault( nd, val ) | ^~~~~~~~ faultsim.c:239:5: error: too many arguments to function ‘faultsim’; expected 0, have 1 239 | faultsim( nd ); | ^~~~~~~~ ~~ ../base/globals.h:153:13: note: declared here 153 | extern void faultsim( /* n */ ); | ^~~~~~~~ faultsim.c: In function ‘should_seed’: faultsim.c:254:13: warning: old-style function definition [-Wold-style-definition] 254 | private int should_seed( nd ) | ^~~~~~~~~~~ faultsim.c: In function ‘seed_faults’: faultsim.c:277:13: warning: old-style function definition [-Wold-style-definition] 277 | private int seed_faults( p_seed ) | ^~~~~~~~~~~ faultsim.c:311:5: error: too many arguments to function ‘srandom’; expected 0, have 1 311 | srandom( (long) nnodes ); | ^~~~~~~ ~~~~~~~~~~~~~ faultsim.c:281:18: note: declared here 281 | extern void srandom(); | ^~~~~~~ faultsim.c: In function ‘seed_fault’: faultsim.c:340:13: warning: old-style function definition [-Wold-style-definition] 340 | private int seed_fault( nd ) | ^~~~~~~~~~ faultsim.c: In function ‘clear_node_flags’: faultsim.c:358:13: warning: old-style function definition [-Wold-style-definition] 358 | private int clear_node_flags( nd ) | ^~~~~~~~~~~~~~~~ faultsim.c: In function ‘exec_fsim’: faultsim.c:366:6: warning: old-style function definition [-Wold-style-definition] 366 | void exec_fsim( fname, p_seed ) | ^~~~~~~~~ faultsim.c:398:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 398 | walk_net( seed_fault, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ faultsim.c:407:9: error: too many arguments to function ‘walk_net’; expected 0, have 2 407 | walk_net( clear_node_flags, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ faultsim.c: In function ‘setup_triggers’: faultsim.c:445:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 445 | ev = EnqueueOther( TRIGGER_EV, (long) t->samples->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c:452:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 452 | ev = EnqueueOther( TRIGGER_EV, tm ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c: In function ‘do_trigger’: faultsim.c:460:5: warning: old-style function definition [-Wold-style-definition] 460 | int do_trigger( ev ) | ^~~~~~~~~~ faultsim.c:492:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 492 | ev = EnqueueOther( TRIGGER_EV, (Ulong) h->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c:503:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 503 | ev = EnqueueOther( TRIGGER_EV, ev->ntime + t->period ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c: In function ‘init_fault_trans’: faultsim.c:525:16: warning: operation on ‘tran.x.pos’ may be undefined [-Wsequence-point] 525 | tran.x.pos = tran.x.pos = 0; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: faultsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' --- compiling faultsim/incsim.o rm -f incsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c incsim.c incsim.c: In function ‘UpdateNode’: incsim.c:101:14: warning: old-style function definition [-Wold-style-definition] 101 | private hptr UpdateNode( nd ) | ^~~~~~~~~~ incsim.c: In function ‘ActivateNode’: incsim.c:135:14: warning: old-style function definition [-Wold-style-definition] 135 | private void ActivateNode( nd ) | ^~~~~~~~~~~~ incsim.c:149:13: error: too many arguments to function ‘DequeueEvent’; expected 0, have 1 149 | DequeueEvent( nd ); | ^~~~~~~~~~~~ ~~ In file included from incsim.c:24: ../base/globals.h:308:13: note: declared here 308 | extern void DequeueEvent( /* nd */ ); | ^~~~~~~~~~~~ incsim.c:156:12: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 156 | (void) EnqueueHist( nd, p, CHECK_PNT ); | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:173:28: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 173 | (void) EnqueueHist( nd, h, PUNTED ); | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:194:24: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 194 | (void) EnqueueHist( nd, h, REVAL ); | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘ReplacePunts’: incsim.c:310:14: warning: old-style function definition [-Wold-style-definition] 310 | private void ReplacePunts( nd ) | ^~~~~~~~~~~~ incsim.c: In function ‘UpdateReval’: incsim.c:341:14: warning: old-style function definition [-Wold-style-definition] 341 | private void UpdateReval( e ) | ^~~~~~~~~~~ incsim.c:355:9: error: too many arguments to function ‘NewEdge’; expected 0, have 2 355 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:383:21: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 383 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:384:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 384 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:387:17: error: too many arguments to function ‘DequeueEvent’; expected 0, have 1 387 | DequeueEvent( n ); | ^~~~~~~~~~~~ ~ ../base/globals.h:308:13: note: declared here 308 | extern void DequeueEvent( /* nd */ ); | ^~~~~~~~~~~~ incsim.c:393:21: error: too many arguments to function ‘DelayEvent’; expected 0, have 2 393 | DelayEvent( e, d_t ); /* delay again */ | ^~~~~~~~~~ ~ ../base/globals.h:309:13: note: declared here 309 | extern void DelayEvent( /* ev, delay */ ); | ^~~~~~~~~~ incsim.c:401:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 401 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:415:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 415 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:430:25: error: too many arguments to function ‘DelayEvent’; expected 0, have 2 430 | DelayEvent( e, d_t ); | ^~~~~~~~~~ ~ ../base/globals.h:309:13: note: declared here 309 | extern void DelayEvent( /* ev, delay */ ); | ^~~~~~~~~~ incsim.c:434:25: error: too many arguments to function ‘NewEdge’; expected 0, have 2 434 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:441:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 441 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:460:17: error: too many arguments to function ‘NewEdge’; expected 0, have 2 460 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c: In function ‘UpdateCheck_Pnt’: incsim.c:480:14: warning: old-style function definition [-Wold-style-definition] 480 | private void UpdateCheck_Pnt( e ) | ^~~~~~~~~~~~~~~ incsim.c:497:9: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 497 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:523:13: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 523 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:526:13: error: too many arguments to function ‘NewEdge’; expected 0, have 2 526 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:535:13: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 535 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:549:17: error: too many arguments to function ‘DelayEvent’; expected 0, have 2 549 | DelayEvent( e, d_t ); | ^~~~~~~~~~ ~ ../base/globals.h:309:13: note: declared here 309 | extern void DelayEvent( /* ev, delay */ ); | ^~~~~~~~~~ incsim.c:553:17: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 553 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c: In function ‘UpdateDelay_Chk’: incsim.c:561:14: warning: old-style function definition [-Wold-style-definition] 561 | private void UpdateDelay_Chk( e ) | ^~~~~~~~~~~~~~~ incsim.c:593:9: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 593 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:600:13: error: too many arguments to function ‘NewEdge’; expected 0, have 2 600 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c: In function ‘UpdateDelay_Ev’: incsim.c:609:14: warning: old-style function definition [-Wold-style-definition] 609 | private void UpdateDelay_Ev( e ) | ^~~~~~~~~~~~~~ incsim.c:641:9: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 641 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:645:13: error: too many arguments to function ‘NewEdge’; expected 0, have 2 645 | NewEdge( n, nxte ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c: In function ‘update_nodes’: incsim.c:657:14: warning: old-style function definition [-Wold-style-definition] 657 | private void update_nodes( e ) | ^~~~~~~~~~~~ incsim.c:671:43: error: too many arguments to function ‘IncHistEvCnt’; expected 0, have 1 671 | { extern int ev_hgm; if( ev_hgm ) IncHistEvCnt( (Uint) e->type ); } | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ ../base/globals.h:262:13: note: declared here 262 | extern void IncHistEvCnt( /* tp */ ); | ^~~~~~~~~~~~ incsim.c:715:21: error: too many arguments to function ‘free_event’; expected 0, have 1 715 | free_event( n->events ); | ^~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ incsim.c:744:25: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 744 | if( not EnqueueHist( n, h, STIMULI ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:783:28: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 783 | (void) EnqueueOther( CHNG_MODEL, (Ulong) modelp->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ incsim.c:788:30: error: too many arguments to function ‘do_trigger’; expected 0, have 1 788 | stop_early = do_trigger( e ); | ^~~~~~~~~~ ~ incsim.c:72:17: note: declared here 72 | extern int do_trigger(); | ^~~~~~~~~~ incsim.c: In function ‘UpdateTransistors’: ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:824:32: note: in expansion of macro ‘compute_trans_state’ 824 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:836:32: note: in expansion of macro ‘compute_trans_state’ 836 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:851:28: note: in expansion of macro ‘compute_trans_state’ 851 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:866:32: note: in expansion of macro ‘compute_trans_state’ 866 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:880:28: note: in expansion of macro ‘compute_trans_state’ 880 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:897:28: note: in expansion of macro ‘compute_trans_state’ 897 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘GetConnList’: incsim.c:927:14: warning: old-style function definition [-Wold-style-definition] 927 | private pstg GetConnList( n ) | ^~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:976:28: note: in expansion of macro ‘compute_trans_state’ 976 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘ActivateStage’: incsim.c:1119:14: warning: old-style function definition [-Wold-style-definition] 1119 | private void ActivateStage( stg ) | ^~~~~~~~~~~~~ incsim.c:1105:13: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1105 | if( EnqueueHist( GATE, nextH, STIMULI ) ) \ | ^~~~~~~~~~~ incsim.c:1142:21: note: in expansion of macro ‘StimulateGate’ 1142 | StimulateGate( t->gate ); | ^~~~~~~~~~~~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1105:13: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1105 | if( EnqueueHist( GATE, nextH, STIMULI ) ) \ | ^~~~~~~~~~~ incsim.c:1145:17: note: in expansion of macro ‘StimulateGate’ 1145 | StimulateGate( t->gate ); | ^~~~~~~~~~~~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘MergePunts’: incsim.c:1171:14: warning: old-style function definition [-Wold-style-definition] 1171 | private void MergePunts( nd ) | ^~~~~~~~~~ incsim.c: In function ‘DeactivateStage’: incsim.c:1212:14: warning: old-style function definition [-Wold-style-definition] 1212 | private void DeactivateStage( stg, skipnd ) | ^~~~~~~~~~~~~~~ incsim.c:1233:17: error: too many arguments to function ‘DequeueEvent’; expected 0, have 1 1233 | DequeueEvent( n ); | ^~~~~~~~~~~~ ~ ../base/globals.h:308:13: note: declared here 308 | extern void DequeueEvent( /* nd */ ); | ^~~~~~~~~~~~ incsim.c:1242:17: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1242 | if( EnqueueHist( n, h, STIMULI ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘UndoStage’: incsim.c:1268:14: warning: old-style function definition [-Wold-style-definition] 1268 | private void UndoStage( stg ) | ^~~~~~~~~ incsim.c: In function ‘EvalSrcDrn’: incsim.c:1303:13: warning: old-style function definition [-Wold-style-definition] 1303 | private int EvalSrcDrn( nd, force ) | ^~~~~~~~~~ incsim.c:1337:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1337 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1356:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1356 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c: In function ‘EvalJustDeviated’: incsim.c:1369:14: warning: old-style function definition [-Wold-style-definition] 1369 | private void EvalJustDeviated( nd, has_trans ) | ^~~~~~~~~~~~~~~~ incsim.c:1396:22: error: too many arguments to function ‘curr_model’; expected 0, have 1 1396 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1415:22: error: too many arguments to function ‘curr_model’; expected 0, have 1 1415 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1105:13: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1105 | if( EnqueueHist( GATE, nextH, STIMULI ) ) \ | ^~~~~~~~~~~ incsim.c:1427:21: note: in expansion of macro ‘StimulateGate’ 1427 | StimulateGate( t->gate ); | ^~~~~~~~~~~~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:1430:24: note: in expansion of macro ‘compute_trans_state’ 1430 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘EvalInputs’: incsim.c:1468:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1468 | (*curr_model)( other ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1476:17: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1476 | if( EnqueueHist( n, h, CHECK_PNT ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1497:17: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1497 | if( EnqueueHist( n, h, STIMULI ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘EvalStimulus’: incsim.c:1522:21: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1522 | if( not EnqueueHist( nd, h, STIMULI ) ) | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘EvalXinputs’: incsim.c:1546:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1546 | (*curr_model)( n ); | ~^~~~~~~~~~~~ ~ incsim.c: In function ‘EvalEventList’: incsim.c:1574:20: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1574 | (void) EnqueueHist( n, h, CHECK_PNT ); | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1600:20: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1600 | (void) EnqueueHist( n, h, CHECK_PNT ); | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1640:20: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1640 | (void) EnqueueHist( n, h, CHECK_PNT ); | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘EvalPending’: incsim.c:1661:13: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 1661 | enqueue_event( n, (int) ev->eval, (long) ev->delay, (long) ev->rtime ); | ^~~~~~~~~~~~~ ~ ../base/globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ incsim.c: In function ‘incstep’: incsim.c:1666:14: warning: old-style function definition [-Wold-style-definition] 1666 | private void incstep( stop_time ) | ^~~~~~~ incsim.c:1676:22: error: too many arguments to function ‘get_next_event’; expected 0, have 1 1676 | while( (evlist = get_next_event( stop_time )) != NULL ) | ^~~~~~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:287:14: note: declared here 287 | extern evptr get_next_event( /* stop_time */ ); | ^~~~~~~~~~~~~~ incsim.c:1700:17: error: too many arguments to function ‘UpdateWindow’; expected 0, have 1 1700 | UpdateWindow( cur_delta - 1 ); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:390:13: note: declared here 390 | extern void UpdateWindow( /* endT */ ); | ^~~~~~~~~~~~ incsim.c: In function ‘fix_inc_nodes’: incsim.c:1715:13: warning: old-style function definition [-Wold-style-definition] 1715 | private int fix_inc_nodes( nd ) | ^~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:1761:20: note: in expansion of macro ‘compute_trans_state’ 1761 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘startup_isim’: incsim.c:1778:14: warning: old-style function definition [-Wold-style-definition] 1778 | private void startup_isim( n ) | ^~~~~~~~~~~~ incsim.c:1786:10: error: too many arguments to function ‘curr_model’; expected 0, have 1 1786 | (*curr_model)( n ); | ~^~~~~~~~~~~~ ~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:1795:24: note: in expansion of macro ‘compute_trans_state’ 1795 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘incsim’: incsim.c:1811:13: warning: old-style function definition [-Wold-style-definition] 1811 | public void incsim( ch_list ) | ^~~~~~ incsim.c:1813:3: error: number of arguments doesn’t match prototype 1813 | { | ^ ../base/globals.h:150:13: error: prototype declaration 150 | extern void incsim( /* ch_list */ ); | ^~~~~~ incsim.c:1824:12: error: too many arguments to function ‘back_sim_time’; expected 0, have 2 1824 | (void) back_sim_time( cur_delta, TRUE ); | ^~~~~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:306:14: note: declared here 306 | extern evptr back_sim_time( /* btime, is_inc */ ); | ^~~~~~~~~~~~~ incsim.c:1830:16: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 1830 | (void) EnqueueOther( CHNG_MODEL, (Ulong) modelp->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ incsim.c:1862:5: error: too many arguments to function ‘rm_inc_events’; expected 0, have 1 1862 | rm_inc_events( FALSE ); | ^~~~~~~~~~~~~ ../base/globals.h:313:13: note: declared here 313 | extern void rm_inc_events( /* all */ ); | ^~~~~~~~~~~~~ incsim.c:1864:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 1864 | walk_net( fix_inc_nodes, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ incsim.c: In function ‘init_faultsim’: incsim.c:1882:19: error: too many arguments to function ‘back_sim_time’; expected 0, have 2 1882 | pending_evs = back_sim_time( cur_delta, TRUE + TRUE ); | ^~~~~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:306:14: note: declared here 306 | extern evptr back_sim_time( /* btime, is_inc */ ); | ^~~~~~~~~~~~~ incsim.c: In function ‘end_faultsim’: incsim.c:1889:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 1889 | walk_net( fix_inc_nodes, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ incsim.c:1891:5: error: too many arguments to function ‘requeue_events’; expected 0, have 2 1891 | requeue_events( pending_evs, TRUE ); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ ../base/globals.h:305:13: note: declared here 305 | extern void requeue_events( /* evlist, thread */ ); | ^~~~~~~~~~~~~~ incsim.c: In function ‘fix_fault_nodes’: incsim.c:1900:13: warning: old-style function definition [-Wold-style-definition] 1900 | private int fix_fault_nodes( nd ) | ^~~~~~~~~~~~~~~ incsim.c: In function ‘faultsim’: incsim.c:1930:13: warning: old-style function definition [-Wold-style-definition] 1930 | public void faultsim( n ) | ^~~~~~~~ incsim.c:1932:3: error: number of arguments doesn’t match prototype 1932 | { | ^ ../base/globals.h:153:13: error: prototype declaration 153 | extern void faultsim( /* n */ ); | ^~~~~~~~ incsim.c:1944:16: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 1944 | (void) EnqueueOther( CHNG_MODEL, (Ulong) modelp->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ incsim.c:1953:5: error: too many arguments to function ‘rm_inc_events’; expected 0, have 1 1953 | rm_inc_events( TRUE ); | ^~~~~~~~~~~~~ ../base/globals.h:313:13: note: declared here 313 | extern void rm_inc_events( /* all */ ); | ^~~~~~~~~~~~~ incsim.c:1955:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 1955 | walk_net( fix_fault_nodes, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ make[2]: *** [../rules.mak:15: incsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' --- compiling usersubckt/user.o rm -f user.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c user.c make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' --- compiling usersubckt/subckt.o rm -f subckt.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c subckt.c subckt.c:44:8: warning: type defaults to ‘int’ in declaration of ‘pot2ch’ [-Wimplicit-int] 44 | static pot2ch[] = {'0', 'x', 'z', '1'}; | ^~~~~~ subckt.c:55:13: error: conflicting types for ‘init_subs’; have ‘void(userSubCircuit *)’ 55 | public void init_subs(userSubCircuit *subckts) | ^~~~~~~~~ In file included from subckt.c:13: ../base/globals.h:372:13: note: previous declaration of ‘init_subs’ with type ‘void(void)’ 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ subckt.c:77:24: error: conflicting types for ‘subckt_instantiate’; have ‘userSubCircuit *(char *, int *, char **)’ 77 | public userSubCircuit *subckt_instantiate(char *sname, int *inst, uptr *udatap) | ^~~~~~~~~~~~~~~~~~ ../base/globals.h:373:24: note: previous declaration of ‘subckt_instantiate’ with type ‘userSubCircuit *(void)’ 373 | extern userSubCircuit *subckt_instantiate( /* sname, inst */ ); | ^~~~~~~~~~~~~~~~~~ subckt.c: In function ‘subckt_instantiate’: subckt.c:141:23: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration] 141 | s->name = strdup(sname); | ^~~~~~ subckt.c:141:23: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] subckt.c:109:16: warning: unused variable ‘dval’ [-Wunused-variable] 109 | double dval; | ^~~~ subckt.c: At top level: subckt.c:234:13: error: conflicting types for ‘subckt_model_C’; have ‘void(struct Trans *)’ 234 | public void subckt_model_C(tptr t) | ^~~~~~~~~~~~~~ ../base/globals.h:374:13: note: previous declaration of ‘subckt_model_C’ with type ‘void(void)’ 374 | extern void subckt_model_C( /* t */ ); | ^~~~~~~~~~~~~~ subckt.c: In function ‘subckt_model_C’: subckt.c:259:10: error: too many arguments to function ‘subptr->subckt->model’; expected 0, have 4 259 | (*subptr->subckt->model)(in, out, delay, udata); | ~^~~~~~~~~~~~~~~~~~~~~~~ ~~ In file included from ../base/net.h:35, from ../base/globals.h:5: ../base/../usersubckt/subckt.h:29:17: note: declared here 29 | vfun model; /* function that models sub-circuit */ | ^~~~~ subckt.c:272:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 272 | in[i] = pot2ch[in[i]]; | ~~^~~ subckt.c:275:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] 275 | out[i] = pot2ch[out[i]]; | ~~~^~~ subckt.c:298:21: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 298 | if (strlen(newoutvals) == nouts) | ^~~~~~ subckt.c:17:1: note: include ‘’ or provide a declaration of ‘strlen’ 16 | #include "net_macros.h" +++ |+#include 17 | #endif subckt.c:298:21: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 298 | if (strlen(newoutvals) == nouts) | ^~~~~~ subckt.c:298:21: note: include ‘’ or provide a declaration of ‘strlen’ subckt.c:304:33: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration] 304 | switch (tolower(newoutvals[i])) | ^~~~~~~ subckt.c:17:1: note: include ‘’ or provide a declaration of ‘tolower’ 16 | #include "net_macros.h" +++ |+#include 17 | #endif subckt.c:288:20: warning: unused variable ‘dval’ [-Wunused-variable] 288 | double dval; | ^~~~ subckt.c:346:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 346 | QueueFVal(nodes[i+nins], HIGH, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:347:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 347 | QueueFVal(nodes[i+nins+nouts], HIGH, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:350:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 350 | QueueFVal(nodes[i+nins], X, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:351:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 351 | QueueFVal(nodes[i+nins+nouts], X, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:354:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 354 | QueueFVal(nodes[i+nins], HIGH, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:355:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 355 | QueueFVal(nodes[i+nins+nouts], LOW, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:358:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 358 | QueueFVal(nodes[i+nins], LOW, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:359:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 359 | QueueFVal(nodes[i+nins+nouts], LOW, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c: In function ‘newsubckt’: subckt.c:380:12: warning: old-style function definition [-Wold-style-definition] 380 | public int newsubckt(targc, targv) | ^~~~~~~~~ subckt.c:383:1: error: number of arguments doesn’t match prototype 383 | { | ^ ../base/globals.h:371:13: error: prototype declaration 371 | extern int newsubckt( /* targc, targv */ ); | ^~~~~~~~~ subckt.c:416:34: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 416 | out_name_Ub = (char *)malloc(strlen(targv[targc-1]) + 20); | ^~~~~~ subckt.c:416:34: note: include ‘’ or provide a declaration of ‘strlen’ subckt.c:431:26: error: too many arguments to function ‘subcircuit->init’; expected 0, have 2 431 | usrData = (uptr)(*subcircuit->init)(targc - ninputs - noutputs, | ~^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../base/../usersubckt/subckt.h:30:17: note: declared here 30 | ufun init; /* Function to call to init */ | ^~~~ In file included from subckt.c:16: ../base/net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:456:9: note: in expansion of macro ‘NEW_TRANS’ 456 | NEW_TRANS(t); | ^~~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ ../base/net_macros.h:92:21: error: too many arguments to function ‘Falloc’; expected 0, have 1 92 | S = ( SubcktT *) Falloc( sizeof (SubcktT) );\ | ^~~~~~ ~~~~~~~~~~~~~~~~ subckt.c:457:9: note: in expansion of macro ‘NEW_SUBCKT’ 457 | NEW_SUBCKT(subptr); | ^~~~~~~~~~ ../base/globals.h:162:14: note: declared here 162 | extern char *Falloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ ../base/net_macros.h:93:4: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] 93 | bzero( S , sizeof(SubcktT) );\ | ^~~~~ subckt.c:457:9: note: in expansion of macro ‘NEW_SUBCKT’ 457 | NEW_SUBCKT(subptr); | ^~~~~~~~~~ ../base/net_macros.h:93:4: warning: incompatible implicit declaration of built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] 93 | bzero( S , sizeof(SubcktT) );\ | ^~~~~ subckt.c:457:9: note: in expansion of macro ‘NEW_SUBCKT’ 457 | NEW_SUBCKT(subptr); | ^~~~~~~~~~ subckt.c:460:19: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | t->gate = RsimGetNode(targv[i]); | ^~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:467:16: error: too many arguments to function ‘requiv’; expected 0, have 3 467 | t->r = requiv(RESIST, (int)2, (int)(1000000 * LAMBDACM)); | ^~~~~~ ../base/globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ ../base/net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:471:9: note: in expansion of macro ‘NEW_LINK’ 471 | NEW_LINK(d); d->xtor = t; d->next = diodes; | ^~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ subckt.c:489:13: error: too many arguments to function ‘find’; expected 0, have 1 489 | if (find(out_name_Ub) || find(out_name_D)) { | ^~~~ ~~~~~~~~~~~ ../base/globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ subckt.c:489:34: error: too many arguments to function ‘find’; expected 0, have 1 489 | if (find(out_name_Ub) || find(out_name_D)) { | ^~~~ ~~~~~~~~~~ ../base/globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ ../base/net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:496:9: note: in expansion of macro ‘NEW_TRANS’ 496 | NEW_TRANS(t); /* Add pmos output driver */ | ^~~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ subckt.c:498:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 498 | t->gate = RsimGetNode(out_name_Ub); | ^~~~~~~~~~~ ~~~~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:501:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 501 | t->source = RsimGetNode(targv[i]); | ^~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:505:23: error: too many arguments to function ‘requiv’; expected 0, have 3 505 | t->r = requiv(RESIST, (int)2, (int)(rtf * LAMBDACM)); | ^~~~~~ ../base/globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ ../base/net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:507:9: note: in expansion of macro ‘NEW_TRANS’ 507 | NEW_TRANS(t); /* Add nmos output driver */ | ^~~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ subckt.c:509:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 509 | t->gate = RsimGetNode(out_name_D); | ^~~~~~~~~~~ ~~~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:510:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 510 | t->drain = RsimGetNode(targv[i]); | ^~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:516:23: error: too many arguments to function ‘requiv’; expected 0, have 3 516 | t->r = requiv(RESIST, (int)2, (int)(rtf * LAMBDACM)); | ^~~~~~ ../base/globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ subckt.c:388:10: warning: unused variable ‘init’ [-Wunused-variable] 388 | ufun init; | ^~~~ make[2]: *** [../rules.mak:13: subckt.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tkAnalyzer.o rm -f tkAnalyzer.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tkAnalyzer.c tkAnalyzer.c: In function ‘TkAnalyzerObjCmd’: tkAnalyzer.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | TkAnalyzerObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~ tkAnalyzer.c:189:13: error: too many arguments to function ‘TkpUseWindow’; expected 0, have 3 189 | if (TkpUseWindow(interp, new, useOption) != TCL_OK) { | ^~~~~~~~~~~~ ~~~~~~ tkAnalyzer.c:37:12: note: declared here 37 | extern int TkpUseWindow(); | ^~~~~~~~~~~~ tkAnalyzer.c: In function ‘AnalyzerWidgetObjCmd’: tkAnalyzer.c:257:1: warning: old-style function definition [-Wold-style-definition] 257 | AnalyzerWidgetObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:345:9: error: too many arguments to function ‘start_analyzer’; expected 0, have 1 345 | start_analyzer(analyzerPtr->tkwin); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from tkAnalyzer.c:23: ../base/rsim.h:108:12: note: declared here 108 | extern int start_analyzer(); | ^~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘DestroyTkAnalyzer’: tkAnalyzer.c:374:1: warning: old-style function definition [-Wold-style-definition] 374 | DestroyTkAnalyzer(memPtr) | ^~~~~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘ConfigureTkAnalyzer’: tkAnalyzer.c:410:1: warning: old-style function definition [-Wold-style-definition] 410 | ConfigureTkAnalyzer(interp, analyzerPtr, objc, objv, flags) | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘TkAnalyzerEventProc’: tkAnalyzer.c:456:1: warning: old-style function definition [-Wold-style-definition] 456 | TkAnalyzerEventProc(clientData, eventPtr) | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:513:17: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 513 | RedrawTraces(&box); | ^~~~~~~~~~~~ ~~~~ In file included from tkAnalyzer.c:22: ../analyzer/ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ tkAnalyzer.c:523:17: error: too many arguments to function ‘start_analyzer’; expected 0, have 1 523 | start_analyzer(analyzerPtr->tkwin); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ../base/rsim.h:108:12: note: declared here 108 | extern int start_analyzer(); | ^~~~~~~~~~~~~~ tkAnalyzer.c:529:17: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 529 | RedrawTraces(&box); | ^~~~~~~~~~~~ ~~~~ ../analyzer/ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ tkAnalyzer.c: In function ‘TkAnalyzerCmdDeletedProc’: tkAnalyzer.c:555:1: warning: old-style function definition [-Wold-style-definition] 555 | TkAnalyzerCmdDeletedProc(clientData) | ^~~~~~~~~~~~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘InitTkAnalyzer’: tkAnalyzer.c:577:1: warning: old-style function definition [-Wold-style-definition] 577 | InitTkAnalyzer(interp) | ^~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: tkAnalyzer.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/lookup.o rm -f lookup.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c lookup.c make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tclanalyzer.o rm -f tclanalyzer.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tclanalyzer.c tclanalyzer.c: In function ‘tclirsim_base’: tclanalyzer.c:75:11: error: too many arguments to function ‘lookup’; expected 0, have 3 75 | idx = lookup(targv[1], baseOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:86:16: error: too many arguments to function ‘get_trace’; expected 0, have 1 86 | trace = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:106:17: error: too many arguments to function ‘ChangeTraceBase’; expected 0, have 2 106 | ChangeTraceBase(trace, bptr); | ^~~~~~~~~~~~~~~ ~~~~~ tclanalyzer.c:33:32: note: declared here 33 | extern void MoveToTimeValue(), ChangeTraceBase(), SetCursor(); | ^~~~~~~~~~~~~~~ tclanalyzer.c: In function ‘tclirsim_marker’: tclanalyzer.c:153:11: error: too many arguments to function ‘lookup’; expected 0, have 3 153 | idx = lookup(targv[argst], markerOptions, FALSE); | ^~~~~~ ~~~~~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:175:16: error: too many arguments to function ‘get_trace’; expected 0, have 1 175 | t = get_trace(targv[argst + 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:181:27: error: too many arguments to function ‘SetCursor’; expected 0, have 2 181 | if (t != NULL) SetCursor(t, time); | ^~~~~~~~~ ~ tclanalyzer.c:33:51: note: declared here 33 | extern void MoveToTimeValue(), ChangeTraceBase(), SetCursor(); | ^~~~~~~~~ tclanalyzer.c:182:12: error: too many arguments to function ‘MoveCursorToTime’; expected 0, have 1 182 | MoveCursorToTime(time); | ^~~~~~~~~~~~~~~~ ~~~~ tclanalyzer.c:34:13: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~~ tclanalyzer.c:196:15: error: too many arguments to function ‘MoveDeltaToTime’; expected 0, have 1 196 | MoveDeltaToTime(time); | ^~~~~~~~~~~~~~~ ~~~~ tclanalyzer.c:34:33: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~ tclanalyzer.c:198:15: error: too many arguments to function ‘MoveCursorToTime’; expected 0, have 1 198 | MoveCursorToTime(time); | ^~~~~~~~~~~~~~~~ ~~~~ tclanalyzer.c:34:13: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~~ tclanalyzer.c:203:15: error: too many arguments to function ‘MoveDeltaToTime’; expected 0, have 1 203 | MoveDeltaToTime((TimeType) -1); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ tclanalyzer.c:34:33: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~ tclanalyzer.c:205:15: error: too many arguments to function ‘MoveCursorToTime’; expected 0, have 1 205 | MoveCursorToTime((TimeType) -1); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ tclanalyzer.c:34:13: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~~ tclanalyzer.c: In function ‘tclirsim_print’: tclanalyzer.c:236:11: error: too many arguments to function ‘lookup’; expected 0, have 3 236 | idx = lookup(targv[1], timeOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:264:17: error: too many arguments to function ‘printPS’; expected 0, have 1 264 | printPS(""); | ^~~~~~~ ~~ In file included from tclanalyzer.c:19: ../analyzer/ana_glob.h:128:13: note: declared here 128 | extern void printPS( /* s */ ); | ^~~~~~~ tclanalyzer.c:272:20: error: too many arguments to function ‘lookup’; expected 0, have 3 272 | bidx = lookup(targv[2], booleanOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:290:17: error: too many arguments to function ‘printPS’; expected 0, have 1 290 | printPS(targv[2]); | ^~~~~~~ ~~~~~~~~ ../analyzer/ana_glob.h:128:13: note: declared here 128 | extern void printPS( /* s */ ); | ^~~~~~~ tclanalyzer.c: In function ‘tclirsim_simtime’: tclanalyzer.c:328:11: error: too many arguments to function ‘lookup’; expected 0, have 3 328 | idx = lookup(targv[1], timeOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:355:21: error: too many arguments to function ‘SetTimeLeft’; expected 0, have 1 355 | SetTimeLeft((TimeType)(ns2d(dt))); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:30:13: note: declared here 30 | extern void SetTimeLeft(), SetTimeRight(); | ^~~~~~~~~~~ tclanalyzer.c:375:21: error: too many arguments to function ‘SetTimeRight’; expected 0, have 1 375 | SetTimeRight((TimeType)(ns2d(dt))); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:30:28: note: declared here 30 | extern void SetTimeLeft(), SetTimeRight(); | ^~~~~~~~~~~~ tclanalyzer.c:411:30: error: too many arguments to function ‘analyzer_time_cursor’; expected 0, have 1 411 | dt = (double)analyzer_time_cursor(x); | ^~~~~~~~~~~~~~~~~~~~ ~ ../analyzer/ana_glob.h:227:14: note: declared here 227 | extern float analyzer_time_cursor(); | ^~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:430:21: error: too many arguments to function ‘MoveToTimeValue’; expected 0, have 1 430 | MoveToTimeValue(ltime); | ^~~~~~~~~~~~~~~ ~~~~~ tclanalyzer.c:33:13: note: declared here 33 | extern void MoveToTimeValue(), ChangeTraceBase(), SetCursor(); | ^~~~~~~~~~~~~~~ tclanalyzer.c:433:21: error: too many arguments to function ‘MoveToT’; expected 0, have 1 433 | MoveToT(targv[2]); | ^~~~~~~ ~~~~~~~~ tclanalyzer.c:34:52: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~ tclanalyzer.c:446:22: error: too many arguments to function ‘lookup’; expected 0, have 3 446 | idx = lookup(targv[2], booleanOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c: In function ‘tclirsim_trace’: tclanalyzer.c:488:11: error: too many arguments to function ‘lookup’; expected 0, have 3 488 | idx = lookup(targv[1], traceOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:499:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 499 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:500:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 500 | s = get_trace(targv[3]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:505:13: error: too many arguments to function ‘MoveTraces’; expected 0, have 2 505 | MoveTraces(t, s); | ^~~~~~~~~~ ~ tclanalyzer.c:35:13: note: declared here 35 | extern void MoveTraces(), SelectTrace(); | ^~~~~~~~~~ tclanalyzer.c:511:39: error: too many arguments to function ‘analyzer_trace_top’; expected 0, have 1 511 | Tcl_NewIntObj(analyzer_trace_top(tracename))); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:229:12: note: declared here 229 | extern int analyzer_trace_top(); | ^~~~~~~~~~~~~~~~~~ tclanalyzer.c:517:39: error: too many arguments to function ‘analyzer_trace_bottom’; expected 0, have 1 517 | Tcl_NewIntObj(analyzer_trace_bottom(tracename))); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:230:12: note: declared here 230 | extern int analyzer_trace_bottom(); | ^~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:523:39: error: too many arguments to function ‘analyzer_trace_order’; expected 0, have 1 523 | Tcl_NewIntObj(analyzer_trace_order(tracename))); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:231:12: note: declared here 231 | extern int analyzer_trace_order(); | ^~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:529:39: error: too many arguments to function ‘analyzer_trace_base’; expected 0, have 1 529 | Tcl_NewIntObj(analyzer_trace_base(tracename))); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:232:12: note: declared here 232 | extern int analyzer_trace_base(); | ^~~~~~~~~~~~~~~~~~~ tclanalyzer.c:534:45: error: too many arguments to function ‘analyzer_trace_class’; expected 0, have 1 534 | Tcl_SetResult(irsiminterp, analyzer_trace_class(tracename), NULL); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:233:14: note: declared here 233 | extern char *analyzer_trace_class(); | ^~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:543:25: error: too many arguments to function ‘analyzer_trace_cursor’; expected 0, have 1 543 | tracename = analyzer_trace_cursor((TimeType)y); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:234:14: note: declared here 234 | extern char *analyzer_trace_cursor(); | ^~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:552:36: error: too many arguments to function ‘lookup’; expected 0, have 3 552 | if (targc >= 3) tidx = lookup(targv[2], listOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:559:51: error: too many arguments to function ‘analyzer_list_vectors’; expected 0, have 1 559 | Tcl_SetObjResult(irsiminterp, analyzer_list_vectors(irsiminterp)); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:236:17: note: declared here 236 | extern Tcl_Obj *analyzer_list_vectors(); | ^~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:562:51: error: too many arguments to function ‘analyzer_list_nodes’; expected 0, have 1 562 | Tcl_SetObjResult(irsiminterp, analyzer_list_nodes(irsiminterp)); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:237:17: note: declared here 237 | extern Tcl_Obj *analyzer_list_nodes(); | ^~~~~~~~~~~~~~~~~~~ tclanalyzer.c:565:51: error: too many arguments to function ‘analyzer_list_all’; expected 0, have 1 565 | Tcl_SetObjResult(irsiminterp, analyzer_list_all(irsiminterp)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:238:17: note: declared here 238 | extern Tcl_Obj *analyzer_list_all(); | ^~~~~~~~~~~~~~~~~ tclanalyzer.c:573:21: error: too many arguments to function ‘SelectTrace’; expected 0, have 1 573 | SelectTrace(selectedTrace); /* prints stuff. . . */ | ^~~~~~~~~~~ ~~~~~~~~~~~~~ tclanalyzer.c:35:27: note: declared here 35 | extern void MoveTraces(), SelectTrace(); | ^~~~~~~~~~~ tclanalyzer.c:581:21: error: too many arguments to function ‘get_trace’; expected 0, have 1 581 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:586:17: error: too many arguments to function ‘SelectTrace’; expected 0, have 1 586 | SelectTrace(t); | ^~~~~~~~~~~ ~ tclanalyzer.c:35:27: note: declared here 35 | extern void MoveTraces(), SelectTrace(); | ^~~~~~~~~~~ tclanalyzer.c:595:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 595 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:600:13: error: too many arguments to function ‘TraceValue’; expected 0, have 2 600 | TraceValue(t, 0); /* Set 2nd arg. = 1 to force binary */ | ^~~~~~~~~~ ~ tclanalyzer.c:31:13: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~~ tclanalyzer.c:608:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 608 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:613:13: error: too many arguments to function ‘TraceInput’; expected 0, have 1 613 | TraceInput(t); | ^~~~~~~~~~ ~ tclanalyzer.c:31:27: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~~ tclanalyzer.c:621:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 621 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:626:13: error: too many arguments to function ‘TraceBits’; expected 0, have 1 626 | TraceBits(t); | ^~~~~~~~~ ~ tclanalyzer.c:31:41: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~ tclanalyzer.c:634:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 634 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:644:16: error: too many arguments to function ‘RemoveTrace’; expected 0, have 1 644 | RemoveTrace(t); | ^~~~~~~~~~~ ~ tclanalyzer.c:31:54: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~~~ tclanalyzer.c:653:16: error: too many arguments to function ‘GetNameLen’; expected 0, have 1 653 | GetNameLen(targv[2]); | ^~~~~~~~~~ ~~~~~~~~ tclanalyzer.c:32:32: note: declared here 32 | extern void UpdateWinRemove(), GetNameLen(); | ^~~~~~~~~~ tclanalyzer.c: In function ‘tclirsim_zoom’: tclanalyzer.c:680:11: error: too many arguments to function ‘lookup’; expected 0, have 3 680 | idx = lookup(targv[1], zoomOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:685:13: error: too many arguments to function ‘Zoom’; expected 0, have 1 685 | Zoom("in"); | ^~~~ ~~~~ ../analyzer/ana_glob.h:214:13: note: declared here 214 | extern void Zoom( /* what */ ); | ^~~~ tclanalyzer.c:688:13: error: too many arguments to function ‘Zoom’; expected 0, have 1 688 | Zoom("out"); | ^~~~ ~~~~~ ../analyzer/ana_glob.h:214:13: note: declared here 214 | extern void Zoom( /* what */ ); | ^~~~ make[2]: *** [../rules.mak:13: tclanalyzer.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tclirsim.o rm -f tclirsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tclirsim.c tclirsim.c:60:35: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types] 60 | private void (*oldinthandler)() = SIG_DFL; | ^~~~~~~ tclirsim.c: In function ‘finput’: tclirsim.c:85:10: warning: unused variable ‘cmdstring’ [-Wunused-variable] 85 | char *cmdstring; | ^~~~~~~~~ tclirsim.c: In function ‘_irsim_dispatch’: tclirsim.c:193:19: error: too many arguments to function ‘IrsimTagCallback’; expected 0, have 3 193 | return IrsimTagCallback(interp, argc, argv); | ^~~~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:54:12: note: declared here 54 | extern int IrsimTagCallback(); | ^~~~~~~~~~~~~~~~ tclirsim.c: In function ‘vlprintf’: tclirsim.c:228:26: warning: implicit declaration of function ‘logprint’ [-Wimplicit-function-declaration] 228 | if (logfile != NULL) logprint(outptr + 24); | ^~~~~~~~ tclirsim.c:207:20: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 207 | int i, nchars, result, escapes = 0; | ^~~~~~ tclirsim.c: In function ‘Tcl_stdflush’: tclirsim.c:285:6: warning: old-style function definition [-Wold-style-definition] 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:287:1: error: number of arguments doesn’t match prototype 287 | { | ^ tclirsim.c:51:13: error: prototype declaration 51 | extern void Tcl_stdflush(); | ^~~~~~~~~~~~ tclirsim.c: In function ‘enable_interrupt’: tclirsim.c:321:18: warning: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types] 321 | oldinthandler = signal(SIGINT, sighandler); | ^ In file included from tclirsim.c:12: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘disable_interrupt’: tclirsim.c:328:19: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 328 | signal(SIGINT, oldinthandler); | ^~~~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘_irsim_readsim’: tclirsim.c:431:9: error: too many arguments to function ‘rd_network’; expected 0, have 3 431 | if (rd_network(filename, prefix, (config_flags & CONFIG_LOADED) ? 0 : -1)) | ^~~~~~~~~~ ~~~~~~~~ In file included from tclirsim.c:19: ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c: In function ‘_irsim_addnode’: tclirsim.c:460:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | n = RsimGetNode(argv[1]); | ^~~~~~~~~~~ ~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ tclirsim.c: In function ‘_irsim_start’: tclirsim.c:528:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 528 | init_subs(subs); | ^~~~~~~~~ ~~~~ ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ tclirsim.c:531:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 531 | InitTimes(sim_time0, stepsize, cur_delta, 0); | ^~~~~~~~~ ~~~~~~~~~ ../base/globals.h:393:13: note: declared here 393 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ tclirsim.c:535:5: error: too many arguments to function ‘Tcl_stdflush’; expected 0, have 1 535 | Tcl_stdflush(stdout); | ^~~~~~~~~~~~ ~~~~~~ tclirsim.c:285:6: note: declared here 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:562:27: error: too many arguments to function ‘config’; expected 0, have 1 562 | has_prm_file = config(argv[arg1]); | ^~~~~~ ~~~~~~~~~~ ../base/globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ tclirsim.c:573:17: error: too many arguments to function ‘rd_network’; expected 0, have 3 573 | if (rd_network(argv[i], NULL, has_prm_file)) | ^~~~~~~~~~ ~~~~~~~ ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c:577:30: error: too many arguments to function ‘BaseName’; expected 0, have 1 577 | first_file = BaseName(argv[i]); | ^~~~~~~~ ~~~~~~~ In file included from tclirsim.c:21: ../base/rsim.h:104:14: note: declared here 104 | extern char *BaseName(); | ^~~~~~~~ tclirsim.c: In function ‘Tclirsim_Init’: tclirsim.c:638:5: warning: old-style function definition [-Wold-style-definition] 638 | int Tclirsim_Init(interp) | ^~~~~~~~~~~~~ tclirsim.c:683:5: error: too many arguments to function ‘TagInit’; expected 0, have 1 683 | TagInit(interp); | ^~~~~~~ ~~~~~~ tclirsim.c:53:13: note: declared here 53 | extern void TagInit(); | ^~~~~~~ tclirsim.c:686:5: error: too many arguments to function ‘InitTkAnalyzer’; expected 0, have 1 686 | InitTkAnalyzer(interp); | ^~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:52:13: note: declared here 52 | extern void InitTkAnalyzer(); | ^~~~~~~~~~~~~~ make[2]: *** [../rules.mak:13: tclirsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tkTag.o rm -f tkTag.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tkTag.c tkTag.c: In function ‘IrsimTagCallback’: tkTag.c:42:18: warning: unused variable ‘cmdnum’ [-Wunused-variable] 42 | int i, llen, cmdnum; | ^~~~~~ tkTag.c: In function ‘TagInit’: tkTag.c:237:6: warning: old-style function definition [-Wold-style-definition] 237 | void TagInit(interp) | ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[1]: *** [Makefile:45: modules] Error 2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YZrFOu + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + '[' /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT ++ dirname /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT + mkdir -p /builddir/build/BUILD/irsim-9.7.104-build + mkdir /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 irsim-9.7.104 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT 'INSTALL=/usr/bin/install -p' --- installing executables to /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT/usr/bin --- installing run-time files to /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT/usr/lib64 tclirsim.c:60:35: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types] 60 | private void (*oldinthandler)() = SIG_DFL; | ^~~~~~~ tclirsim.c: In function ‘finput’: tclirsim.c:85:10: warning: unused variable ‘cmdstring’ [-Wunused-variable] 85 | char *cmdstring; | ^~~~~~~~~ tclirsim.c: In function ‘_irsim_dispatch’: tclirsim.c:193:19: error: too many arguments to function ‘IrsimTagCallback’; expected 0, have 3 193 | return IrsimTagCallback(interp, argc, argv); | ^~~~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:54:12: note: declared here 54 | extern int IrsimTagCallback(); | ^~~~~~~~~~~~~~~~ tclirsim.c: In function ‘vlprintf’: tclirsim.c:228:26: warning: implicit declaration of function ‘logprint’ [-Wimplicit-function-declaration] 228 | if (logfile != NULL) logprint(outptr + 24); | ^~~~~~~~ tclirsim.c:207:20: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 207 | int i, nchars, result, escapes = 0; | ^~~~~~ tclirsim.c: In function ‘Tcl_stdflush’: tclirsim.c:285:6: warning: old-style function definition [-Wold-style-definition] 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:287:1: error: number of arguments doesn’t match prototype 287 | { | ^ tclirsim.c:51:13: error: prototype declaration 51 | extern void Tcl_stdflush(); | ^~~~~~~~~~~~ tclirsim.c: In function ‘enable_interrupt’: tclirsim.c:321:18: warning: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types] 321 | oldinthandler = signal(SIGINT, sighandler); | ^ In file included from tclirsim.c:12: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘disable_interrupt’: tclirsim.c:328:19: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 328 | signal(SIGINT, oldinthandler); | ^~~~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘_irsim_readsim’: tclirsim.c:431:9: error: too many arguments to function ‘rd_network’; expected 0, have 3 431 | if (rd_network(filename, prefix, (config_flags & CONFIG_LOADED) ? 0 : -1)) | ^~~~~~~~~~ ~~~~~~~~ In file included from tclirsim.c:19: ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c: In function ‘_irsim_addnode’: tclirsim.c:460:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | n = RsimGetNode(argv[1]); | ^~~~~~~~~~~ ~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ tclirsim.c: In function ‘_irsim_start’: tclirsim.c:528:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 528 | init_subs(subs); | ^~~~~~~~~ ~~~~ ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ tclirsim.c:531:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 531 | InitTimes(sim_time0, stepsize, cur_delta, 0); | ^~~~~~~~~ ~~~~~~~~~ ../base/globals.h:393:13: note: declared here 393 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ tclirsim.c:535:5: error: too many arguments to function ‘Tcl_stdflush’; expected 0, have 1 535 | Tcl_stdflush(stdout); | ^~~~~~~~~~~~ ~~~~~~ tclirsim.c:285:6: note: declared here 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:562:27: error: too many arguments to function ‘config’; expected 0, have 1 562 | has_prm_file = config(argv[arg1]); | ^~~~~~ ~~~~~~~~~~ ../base/globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ tclirsim.c:573:17: error: too many arguments to function ‘rd_network’; expected 0, have 3 573 | if (rd_network(argv[i], NULL, has_prm_file)) | ^~~~~~~~~~ ~~~~~~~ ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c:577:30: error: too many arguments to function ‘BaseName’; expected 0, have 1 577 | first_file = BaseName(argv[i]); | ^~~~~~~~ ~~~~~~~ In file included from tclirsim.c:21: ../base/rsim.h:104:14: note: declared here 104 | extern char *BaseName(); | ^~~~~~~~ tclirsim.c: In function ‘Tclirsim_Init’: tclirsim.c:638:5: warning: old-style function definition [-Wold-style-definition] 638 | int Tclirsim_Init(interp) | ^~~~~~~~~~~~~ tclirsim.c:683:5: error: too many arguments to function ‘TagInit’; expected 0, have 1 683 | TagInit(interp); | ^~~~~~~ ~~~~~~ tclirsim.c:53:13: note: declared here 53 | extern void TagInit(); | ^~~~~~~ tclirsim.c:686:5: error: too many arguments to function ‘InitTkAnalyzer’; expected 0, have 1 686 | InitTkAnalyzer(interp); | ^~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:52:13: note: declared here 52 | extern void InitTkAnalyzer(); | ^~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: tclirsim.o] Error 1 make[2]: *** No rule to make target '../analyzer/libanalyzer.o', needed by 'tclirsim.so'. Stop. random.c: In function ‘do_random’: random.c:165:10: error: conflicting types for ‘srand48’; have ‘void(void)’ 165 | void srand48(); | ^~~~~~~ In file included from random.c:74: /usr/include/stdlib.h:601:13: note: previous declaration of ‘srand48’ with type ‘void(long int)’ 601 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ random.c:213:9: error: too many arguments to function ‘srand48’; expected 0, have 1 213 | srand48(time(0) + getpid()); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ random.c:165:10: note: declared here 165 | void srand48(); | ^~~~~~~ random.c:224:9: error: too many arguments to function ‘srand48’; expected 0, have 1 224 | srand48((long int)seed); | ^~~~~~~ ~~~~~~~~~~~~~~ random.c:165:10: note: declared here 165 | void srand48(); | ^~~~~~~ random.c:241:39: error: too many arguments to function ‘rand_gauss_dev’; expected 0, have 2 241 | Tcl_PrintDouble(interp, m + s*rand_gauss_dev(m, s), r); | ^~~~~~~~~~~~~~ ~ random.c:92:8: note: declared here 92 | double rand_gauss_dev() | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:19: randwrap.o] Error 1 diglib.c:117:6: error: conflicting types for ‘dff_init’; have ‘char *(int, char **)’ 117 | uptr dff_init(int targc, char *targv[]) | ^~~~~~~~ diglib.c:46:6: note: previous declaration of ‘dff_init’ with type ‘char *(void)’ 46 | uptr dff_init(); | ^~~~~~~~ diglib.c:133:6: error: conflicting types for ‘lat_eval’; have ‘void(char *, char *, double *, char **)’ 133 | void lat_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:49:6: note: previous declaration of ‘lat_eval’ with type ‘void(void)’ 49 | void lat_eval(); | ^~~~~~~~ diglib.c:157:6: error: conflicting types for ‘dff_eval’; have ‘void(char *, char *, double *, char **)’ 157 | void dff_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:48:6: note: previous declaration of ‘dff_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~ diglib.c:178:6: error: conflicting types for ‘dffr_eval’; have ‘void(char *, char *, double *, char **)’ 178 | void dffr_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:48:18: note: previous declaration of ‘dffr_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~~ diglib.c:203:6: error: conflicting types for ‘dffs_eval’; have ‘void(char *, char *, double *, char **)’ 203 | void dffs_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:48:31: note: previous declaration of ‘dffs_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~~ diglib.c:229:6: error: conflicting types for ‘dffsr_eval’; have ‘void(char *, char *, double *, char **)’ 229 | void dffsr_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:48:44: note: previous declaration of ‘dffsr_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~~~ diglib.c:255:6: error: conflicting types for ‘invert_eval’; have ‘void(char *, char *, double *, char **)’ 255 | void invert_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~~ diglib.c:50:6: note: previous declaration of ‘invert_eval’ with type ‘void(void)’ 50 | void invert_eval(), buffer_eval(), triinv_eval(); | ^~~~~~~~~~~ diglib.c:265:6: error: conflicting types for ‘buffer_eval’; have ‘void(char *, char *, double *, char **)’ 265 | void buffer_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~~ diglib.c:50:21: note: previous declaration of ‘buffer_eval’ with type ‘void(void)’ 50 | void invert_eval(), buffer_eval(), triinv_eval(); | ^~~~~~~~~~~ diglib.c:277:6: error: conflicting types for ‘triinv_eval’; have ‘void(char *, char *, double *, char **)’ 277 | void triinv_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~~ diglib.c:50:36: note: previous declaration of ‘triinv_eval’ with type ‘void(void)’ 50 | void invert_eval(), buffer_eval(), triinv_eval(); | ^~~~~~~~~~~ diglib.c:296:6: error: conflicting types for ‘mux2_eval’; have ‘void(char *, char *, double *, char **)’ 296 | void mux2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:51:33: note: previous declaration of ‘mux2_eval’ with type ‘void(void)’ 51 | void nand2_eval(), nor2_eval(), mux2_eval(); | ^~~~~~~~~ diglib.c:314:6: error: conflicting types for ‘nand2_eval’; have ‘void(char *, char *, double *, char **)’ 314 | void nand2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:51:6: note: previous declaration of ‘nand2_eval’ with type ‘void(void)’ 51 | void nand2_eval(), nor2_eval(), mux2_eval(); | ^~~~~~~~~~ diglib.c:328:6: error: conflicting types for ‘and2_eval’; have ‘void(char *, char *, double *, char **)’ 328 | void and2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:52:6: note: previous declaration of ‘and2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~~ diglib.c:338:6: error: conflicting types for ‘nor2_eval’; have ‘void(char *, char *, double *, char **)’ 338 | void nor2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:51:20: note: previous declaration of ‘nor2_eval’ with type ‘void(void)’ 51 | void nand2_eval(), nor2_eval(), mux2_eval(); | ^~~~~~~~~ diglib.c:352:6: error: conflicting types for ‘or2_eval’; have ‘void(char *, char *, double *, char **)’ 352 | void or2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:52:19: note: previous declaration of ‘or2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~ diglib.c:362:6: error: conflicting types for ‘nand3_eval’; have ‘void(char *, char *, double *, char **)’ 362 | void nand3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:53:6: note: previous declaration of ‘nand3_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~~ diglib.c:376:6: error: conflicting types for ‘and3_eval’; have ‘void(char *, char *, double *, char **)’ 376 | void and3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:54:6: note: previous declaration of ‘and3_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~~ diglib.c:386:6: error: conflicting types for ‘nor3_eval’; have ‘void(char *, char *, double *, char **)’ 386 | void nor3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:53:34: note: previous declaration of ‘nor3_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~ diglib.c:400:6: error: conflicting types for ‘or3_eval’; have ‘void(char *, char *, double *, char **)’ 400 | void or3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:54:32: note: previous declaration of ‘or3_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~ diglib.c:410:6: error: conflicting types for ‘nand4_eval’; have ‘void(char *, char *, double *, char **)’ 410 | void nand4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:53:20: note: previous declaration of ‘nand4_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~~ diglib.c:424:6: error: conflicting types for ‘and4_eval’; have ‘void(char *, char *, double *, char **)’ 424 | void and4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:54:19: note: previous declaration of ‘and4_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~~ diglib.c:434:6: error: conflicting types for ‘nor4_eval’; have ‘void(char *, char *, double *, char **)’ 434 | void nor4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:53:47: note: previous declaration of ‘nor4_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~ diglib.c:448:6: error: conflicting types for ‘or4_eval’; have ‘void(char *, char *, double *, char **)’ 448 | void or4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:54:44: note: previous declaration of ‘or4_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~ diglib.c:458:6: error: conflicting types for ‘xnor2_eval’; have ‘void(char *, char *, double *, char **)’ 458 | void xnor2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:52:44: note: previous declaration of ‘xnor2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~~~ diglib.c:474:6: error: conflicting types for ‘xor2_eval’; have ‘void(char *, char *, double *, char **)’ 474 | void xor2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:52:31: note: previous declaration of ‘xor2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~~ diglib.c: In function ‘Diglib_Init’: diglib.c:492:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 492 | init_subs(subckts); | ^~~~~~~~~ ~~~~~~~ In file included from diglib.c:27: ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ diglib.c:487:9: warning: unused variable ‘newptr’ [-Wunused-variable] 487 | int newptr; | ^~~~~~ diglib.c:486:21: warning: unused variable ‘s’ [-Wunused-variable] 486 | userSubCircuit *s; | ^ make[2]: *** [Makefile:20: diglib.o] Error 1 tclirsim.c:60:35: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types] 60 | private void (*oldinthandler)() = SIG_DFL; | ^~~~~~~ tclirsim.c: In function ‘finput’: tclirsim.c:85:10: warning: unused variable ‘cmdstring’ [-Wunused-variable] 85 | char *cmdstring; | ^~~~~~~~~ tclirsim.c: In function ‘_irsim_dispatch’: tclirsim.c:193:19: error: too many arguments to function ‘IrsimTagCallback’; expected 0, have 3 193 | return IrsimTagCallback(interp, argc, argv); | ^~~~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:54:12: note: declared here 54 | extern int IrsimTagCallback(); | ^~~~~~~~~~~~~~~~ tclirsim.c: In function ‘vlprintf’: tclirsim.c:228:26: warning: implicit declaration of function ‘logprint’ [-Wimplicit-function-declaration] 228 | if (logfile != NULL) logprint(outptr + 24); | ^~~~~~~~ tclirsim.c:207:20: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 207 | int i, nchars, result, escapes = 0; | ^~~~~~ tclirsim.c: In function ‘Tcl_stdflush’: tclirsim.c:285:6: warning: old-style function definition [-Wold-style-definition] 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:287:1: error: number of arguments doesn’t match prototype 287 | { | ^ tclirsim.c:51:13: error: prototype declaration 51 | extern void Tcl_stdflush(); | ^~~~~~~~~~~~ tclirsim.c: In function ‘enable_interrupt’: tclirsim.c:321:18: warning: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types] 321 | oldinthandler = signal(SIGINT, sighandler); | ^ In file included from tclirsim.c:12: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘disable_interrupt’: tclirsim.c:328:19: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 328 | signal(SIGINT, oldinthandler); | ^~~~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘_irsim_readsim’: tclirsim.c:431:9: error: too many arguments to function ‘rd_network’; expected 0, have 3 431 | if (rd_network(filename, prefix, (config_flags & CONFIG_LOADED) ? 0 : -1)) | ^~~~~~~~~~ ~~~~~~~~ In file included from tclirsim.c:19: ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c: In function ‘_irsim_addnode’: tclirsim.c:460:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | n = RsimGetNode(argv[1]); | ^~~~~~~~~~~ ~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ tclirsim.c: In function ‘_irsim_start’: tclirsim.c:528:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 528 | init_subs(subs); | ^~~~~~~~~ ~~~~ ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ tclirsim.c:531:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 531 | InitTimes(sim_time0, stepsize, cur_delta, 0); | ^~~~~~~~~ ~~~~~~~~~ ../base/globals.h:393:13: note: declared here 393 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ tclirsim.c:535:5: error: too many arguments to function ‘Tcl_stdflush’; expected 0, have 1 535 | Tcl_stdflush(stdout); | ^~~~~~~~~~~~ ~~~~~~ tclirsim.c:285:6: note: declared here 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:562:27: error: too many arguments to function ‘config’; expected 0, have 1 562 | has_prm_file = config(argv[arg1]); | ^~~~~~ ~~~~~~~~~~ ../base/globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ tclirsim.c:573:17: error: too many arguments to function ‘rd_network’; expected 0, have 3 573 | if (rd_network(argv[i], NULL, has_prm_file)) | ^~~~~~~~~~ ~~~~~~~ ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c:577:30: error: too many arguments to function ‘BaseName’; expected 0, have 1 577 | first_file = BaseName(argv[i]); | ^~~~~~~~ ~~~~~~~ In file included from tclirsim.c:21: ../base/rsim.h:104:14: note: declared here 104 | extern char *BaseName(); | ^~~~~~~~ tclirsim.c: In function ‘Tclirsim_Init’: tclirsim.c:638:5: warning: old-style function definition [-Wold-style-definition] 638 | int Tclirsim_Init(interp) | ^~~~~~~~~~~~~ tclirsim.c:683:5: error: too many arguments to function ‘TagInit’; expected 0, have 1 683 | TagInit(interp); | ^~~~~~~ ~~~~~~ tclirsim.c:53:13: note: declared here 53 | extern void TagInit(); | ^~~~~~~ tclirsim.c:686:5: error: too many arguments to function ‘InitTkAnalyzer’; expected 0, have 1 686 | InitTkAnalyzer(interp); | ^~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:52:13: note: declared here 52 | extern void InitTkAnalyzer(); | ^~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: tclirsim.o] Error 1 make[1]: *** [Makefile:84: install-tcl-real] Error 2 make: *** [Makefile:81: install-tcl] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.YZrFOu (%install) Bad exit status from /var/tmp/rpm-tmp.YZrFOu (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M de7ddf7104da4b6fad86bfc8c0b33487 -D /var/lib/mock/f42-build-56661924-6545378/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ycovjlui:/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 aarch64 --nodeps /builddir/build/SPECS/irsim.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 de7ddf7104da4b6fad86bfc8c0b33487 -D /var/lib/mock/f42-build-56661924-6545378/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ycovjlui:/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 aarch64 --nodeps /builddir/build/SPECS/irsim.spec'