Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/netgen.spec'], chrootPath='/var/lib/mock/f40-build-757709-119377/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/netgen.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'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1692144000 Wrote: /builddir/build/SRPMS/netgen-1.3.7-48.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/netgen.spec'], chrootPath='/var/lib/mock/f40-build-757709-119377/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/netgen.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'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1692144000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Xg4nP8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netgen-1.3.7 + /usr/bin/mkdir -p netgen-1.3.7 + cd netgen-1.3.7 + rm -rf /builddir/build/BUILD/netgen-1.3.7-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/netgen-1.3.7-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netgen-1.3.7.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (netgen-1.3.7-free.patch):' Patch #0 (netgen-1.3.7-free.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .free --fuzz=0 patching file netgen-1.3.7/base/spice.c patching file netgen-1.3.7/base/netcmp.c + echo 'Patch #1 (netgen-1.3.7-gcc10.patch):' Patch #1 (netgen-1.3.7-gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file netgen/base/netfile.c + cd netgen-1.3.7 + /usr/bin/sed -i.libexec 's|${LIBDIR}|/usr/libexec|' lib/Makefile + /usr/bin/sed -i.cflags -e 's|CFLAGS=.*CFLAGS|:|' configure + /usr/bin/sed -i 's|magic-hackers@csl.cornell.edu|http://bugzilla.redhat.com|' scripts/configure + /usr/bin/sed -i 's|package require -exact|package require|' tcltk/tkcon.tcl + export WISH=/usr/bin/wish + WISH=/usr/bin/wish + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RVh6mI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 netgen-1.3.7 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 + CC='gcc -std=gnu89' + cd netgen-1.3.7 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 -std=gnu89' + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 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 ./scripts/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./scripts/config.sub ++ basename ./scripts/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./scripts/config.sub '/usr/lib/rpm/redhat/config.sub' -> './scripts/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./scripts/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./scripts/config.guess ++ basename ./scripts/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./scripts/config.guess '/usr/lib/rpm/redhat/config.guess' -> './scripts/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=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --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 --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --with-tcllibs=/usr/lib64 --with-tklibs=/usr/lib64 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... gcc -std=gnu89 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -std=gnu89 accepts -g... yes checking for gcc -std=gnu89 option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -std=gnu89 -E checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib 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 for egrep... 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 for void *... yes checking size of void *... 8 checking for unsigned int... yes checking size of unsigned int... 4 checking for unsigned long... yes checking size of unsigned long... 8 checking for unsigned long long... yes checking size of unsigned long long... 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... no Cannot compile TCL version without X11, disabling. configure: creating ./config.status config.status: creating defs.mak configure: "Notice: Use 'make' to compile and 'make install' to install" + /usr/bin/make -j4 --- errors and warnings logged in file make.log make[1]: Entering directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7' --- making modules for dir in base; do \ (cd $dir && /usr/bin/make module); done make[2]: Entering directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7/base' --- compiling base/actel.o --- compiling base/ccode.o rm -f actel.o rm -f ccode.o --- compiling base/greedy.o --- compiling base/ntk.o rm -f greedy.o rm -f ntk.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c actel.c gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ccode.c gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c greedy.c gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ntk.c actel.c: In function ‘ActelName’: actel.c:89:16: warning: operation on ‘ActelIndex’ may be undefined [-Wsequence-point] 89 | ActelIndex = (++ActelIndex) % ACTELNAMESIZE; | ^ actel.c:100:14: warning: operation on ‘ActelIndex’ may be undefined [-Wsequence-point] 100 | ActelIndex = (++ActelIndex) % ACTELNAMESIZE; | ^ In file included from ntk.c:25: ntk.c: In function ‘ReadNtk’: config.h:192:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 192 | #define FREE(a) free(a) | ^~~~ ntk.c:289:11: note: in expansion of macro ‘FREE’ 289 | FREE(ports[i]); | ^~~~ ntk.c:35:1: note: include ‘’ or provide a declaration of ‘free’ 34 | #include "print.h" +++ |+#include 35 | config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ ntk.c:289:11: note: in expansion of macro ‘FREE’ 289 | FREE(ports[i]); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ ntk.c:289:11: note: in expansion of macro ‘FREE’ 289 | FREE(ports[i]); | ^~~~ --- compiling base/print.o rm -f print.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c print.c --- compiling base/actellib.o rm -f actellib.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c actellib.c --- compiling base/embed.o rm -f embed.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c embed.c In file included from embed.c:27: embed.c: In function ‘hashinstall’: config.h:190:25: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ embed.c:424:32: note: in expansion of macro ‘CALLOC’ 424 | if ((np = (struct ex_entry *)CALLOC(1, sizeof(struct ex_entry))) == NULL) | ^~~~~~ embed.c:40:1: note: include ‘’ or provide a declaration of ‘calloc’ 39 | #include "embed.h" +++ |+#include 40 | config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ embed.c:424:32: note: in expansion of macro ‘CALLOC’ 424 | if ((np = (struct ex_entry *)CALLOC(1, sizeof(struct ex_entry))) == NULL) | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ embed.c:424:32: note: in expansion of macro ‘CALLOC’ 424 | if ((np = (struct ex_entry *)CALLOC(1, sizeof(struct ex_entry))) == NULL) | ^~~~~~ embed.c: In function ‘InitializeExistTest’: config.h:192:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 192 | #define FREE(a) free(a) | ^~~~ embed.c:467:7: note: in expansion of macro ‘FREE’ 467 | FREE(np); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ embed.c:467:7: note: in expansion of macro ‘FREE’ 467 | FREE(np); | ^~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ embed.c:467:7: note: in expansion of macro ‘FREE’ 467 | FREE(np); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ embed.c:467:7: note: in expansion of macro ‘FREE’ 467 | FREE(np); | ^~~~ embed.c: In function ‘FreeEmbeddingTree’: config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ embed.c:530:3: note: in expansion of macro ‘FREE’ 530 | FREE(E); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ embed.c:530:3: note: in expansion of macro ‘FREE’ 530 | FREE(E); | ^~~~ embed.c: In function ‘EmbeddingTree’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ embed.c:539:31: note: in expansion of macro ‘CALLOC’ 539 | if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ embed.c:539:31: note: in expansion of macro ‘CALLOC’ 539 | if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) | ^~~~~~ embed.c: In function ‘FlattenEmbeddingTree’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ embed.c:570:31: note: in expansion of macro ‘CALLOC’ 570 | if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ embed.c:570:31: note: in expansion of macro ‘CALLOC’ 570 | if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) | ^~~~~~ --- compiling base/hash.o rm -f hash.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c hash.c --- compiling base/netfile.o rm -f netfile.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c netfile.c In file included from hash.c:21: hash.c: In function ‘HashPtrInstall’: config.h:190:25: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ hash.c:100:33: note: in expansion of macro ‘CALLOC’ 100 | if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) | ^~~~~~ hash.c:31:1: note: include ‘’ or provide a declaration of ‘calloc’ 30 | #include "objlist.h" +++ |+#include 31 | config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ hash.c:100:33: note: in expansion of macro ‘CALLOC’ 100 | if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ hash.c:100:33: note: in expansion of macro ‘CALLOC’ 100 | if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) | ^~~~~~ hash.c: In function ‘HashInstall’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ hash.c:121:33: note: in expansion of macro ‘CALLOC’ 121 | if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ hash.c:121:33: note: in expansion of macro ‘CALLOC’ 121 | if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) | ^~~~~~ hash.c: In function ‘HashDelete’: config.h:192:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 192 | #define FREE(a) free(a) | ^~~~ hash.c:143:5: note: in expansion of macro ‘FREE’ 143 | FREE(np->name); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ hash.c:143:5: note: in expansion of macro ‘FREE’ 143 | FREE(np->name); | ^~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ hash.c:143:5: note: in expansion of macro ‘FREE’ 143 | FREE(np->name); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ hash.c:143:5: note: in expansion of macro ‘FREE’ 143 | FREE(np->name); | ^~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ hash.c:153:7: note: in expansion of macro ‘FREE’ 153 | FREE(np2->name); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ hash.c:153:7: note: in expansion of macro ‘FREE’ 153 | FREE(np2->name); | ^~~~ netfile.c: In function ‘NetgenFileCell’: netfile.c:492:3: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] 492 | write(File, &len, sizeof(len)); | ^~~~~ | fwrite netfile.c: In function ‘WriteNetgenFile’: netfile.c:541:3: warning: implicit declaration of function ‘close’; did you mean ‘Fclose’? [-Wimplicit-function-declaration] 541 | close(File); | ^~~~~ | Fclose netfile.c: In function ‘READ’: netfile.c:570:13: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] 570 | chars = read(File, bufptr, READ_BUFSIZ - bytes_in_buffer); | ^~~~ | fread In file included from netfile.c:21: netfile.c: In function ‘ReadNetgenFile’: config.h:191:25: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 191 | #define MALLOC(s) malloc(s) | ^~~~~~ netfile.c:631:21: note: in expansion of macro ‘MALLOC’ 631 | readbuf = (char *)MALLOC(READ_BUFSIZ); | ^~~~~~ netfile.c:37:1: note: include ‘’ or provide a declaration of ‘malloc’ 36 | #include "print.h" +++ |+#include 37 | config.h:191:25: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 191 | #define MALLOC(s) malloc(s) | ^~~~~~ netfile.c:631:21: note: in expansion of macro ‘MALLOC’ 631 | readbuf = (char *)MALLOC(READ_BUFSIZ); | ^~~~~~ config.h:191:25: note: include ‘’ or provide a declaration of ‘malloc’ 191 | #define MALLOC(s) malloc(s) | ^~~~~~ netfile.c:631:21: note: in expansion of macro ‘MALLOC’ 631 | readbuf = (char *)MALLOC(READ_BUFSIZ); | ^~~~~~ config.h:190:25: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netfile.c:665:30: note: in expansion of macro ‘CALLOC’ 665 | ob = (struct objlist *)CALLOC(1,sizeof(struct objlist)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netfile.c:665:30: note: in expansion of macro ‘CALLOC’ 665 | ob = (struct objlist *)CALLOC(1,sizeof(struct objlist)); | ^~~~~~ config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netfile.c:665:30: note: in expansion of macro ‘CALLOC’ 665 | ob = (struct objlist *)CALLOC(1,sizeof(struct objlist)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netfile.c:665:30: note: in expansion of macro ‘CALLOC’ 665 | ob = (struct objlist *)CALLOC(1,sizeof(struct objlist)); | ^~~~~~ config.h:192:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 192 | #define FREE(a) free(a) | ^~~~ netfile.c:697:3: note: in expansion of macro ‘FREE’ 697 | FREE(readbuf); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ netfile.c:697:3: note: in expansion of macro ‘FREE’ 697 | FREE(readbuf); | ^~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ netfile.c:697:3: note: in expansion of macro ‘FREE’ 697 | FREE(readbuf); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ netfile.c:697:3: note: in expansion of macro ‘FREE’ 697 | FREE(readbuf); | ^~~~ netfile.c: In function ‘SkipTok’: netfile.c:184:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 184 | fgets(line, sizeof(line), infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘hash’, inlined from ‘hashinstall’ at embed.c:413:13, inlined from ‘AddToExistSet’ at embed.c:485:3: embed.c:358:11: warning: ‘mstar’ may be used uninitialized [-Wmaybe-uninitialized] 358 | hashval = *mstar; | ~~~~~~~~^~~~~~~~ embed.c: In function ‘AddToExistSet’: embed.c:477:17: note: ‘mstar’ declared here 477 | unsigned long mstar[(MAX_LEAVES / BITS_PER_LONG) + 1]; | ^~~~~ --- compiling base/objlist.o rm -f objlist.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c objlist.c In file included from objlist.c:21: objlist.c: In function ‘ThrowOutGarbage’: config.h:192:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 192 | #define FREE(a) free(a) | ^~~~ objlist.c:91:17: note: in expansion of macro ‘FREE’ 91 | FREE(tp); | ^~~~ objlist.c:38:1: note: include ‘’ or provide a declaration of ‘free’ 37 | #include "print.h" +++ |+#include 38 | config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ objlist.c:91:17: note: in expansion of macro ‘FREE’ 91 | FREE(tp); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ objlist.c:91:17: note: in expansion of macro ‘FREE’ 91 | FREE(tp); | ^~~~ objlist.c: In function ‘matchnocase’: objlist.c:163:11: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration] 163 | if (tolower(*sp1) != tolower(*sp2)) break; | ^~~~~~~ objlist.c:38:1: note: include ‘’ or provide a declaration of ‘tolower’ 37 | #include "print.h" +++ |+#include 38 | objlist.c: In function ‘InstallInCellHashTable’: config.h:190:25: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ objlist.c:221:23: note: in expansion of macro ‘CALLOC’ 221 | p = (struct nlist *)CALLOC(1, sizeof(struct nlist)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ objlist.c:221:23: note: in expansion of macro ‘CALLOC’ 221 | p = (struct nlist *)CALLOC(1, sizeof(struct nlist)); | ^~~~~~ config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ objlist.c:221:23: note: in expansion of macro ‘CALLOC’ 221 | p = (struct nlist *)CALLOC(1, sizeof(struct nlist)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ objlist.c:221:23: note: in expansion of macro ‘CALLOC’ 221 | p = (struct nlist *)CALLOC(1, sizeof(struct nlist)); | ^~~~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ objlist.c:235:24: note: in expansion of macro ‘FREE’ 235 | if (p->name != NULL) FREE(p->name); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ objlist.c:235:24: note: in expansion of macro ‘FREE’ 235 | if (p->name != NULL) FREE(p->name); | ^~~~ objlist.c: In function ‘CellDelete’: config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ objlist.c:297:25: note: in expansion of macro ‘FREE’ 297 | if (tp->name != NULL) FREE(tp->name); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ objlist.c:297:25: note: in expansion of macro ‘FREE’ 297 | if (tp->name != NULL) FREE(tp->name); | ^~~~ objlist.c: In function ‘CellRename’: config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ objlist.c:338:3: note: in expansion of macro ‘FREE’ 338 | FREE(from_cell->name); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ objlist.c:338:3: note: in expansion of macro ‘FREE’ 338 | FREE(from_cell->name); | ^~~~ In file included from objlist.c:34: objlist.c: In function ‘CellCopy’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:370:18: note: in expansion of macro ‘GetObject’ 370 | if ((newob = GetObject()) == NULL) { | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:370:18: note: in expansion of macro ‘GetObject’ 370 | if ((newob = GetObject()) == NULL) { | ^~~~~~~~~ objlist.c: In function ‘List’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:573:14: note: in expansion of macro ‘GetObject’ 573 | head = GetObject(); | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:573:14: note: in expansion of macro ‘GetObject’ 573 | head = GetObject(); | ^~~~~~~~~ objlist.h:125:24: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 125 | #define FreeString(a) (free(a)) | ^~~~ objlist.c:589:3: note: in expansion of macro ‘FreeString’ 589 | FreeString(template2); | ^~~~~~~~~~ objlist.h:125:24: note: include ‘’ or provide a declaration of ‘free’ 125 | #define FreeString(a) (free(a)) | ^~~~ objlist.c:589:3: note: in expansion of macro ‘FreeString’ 589 | FreeString(template2); | ^~~~~~~~~~ objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:594:13: note: in expansion of macro ‘GetObject’ 594 | tmp = GetObject(); | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:594:13: note: in expansion of macro ‘GetObject’ 594 | tmp = GetObject(); | ^~~~~~~~~ objlist.c: In function ‘ListCat’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:673:23: note: in expansion of macro ‘GetObject’ 673 | tmp = GetObject(); | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:673:23: note: in expansion of macro ‘GetObject’ 673 | tmp = GetObject(); | ^~~~~~~~~ objlist.c: In function ‘CopyObjList’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:738:18: note: in expansion of macro ‘GetObject’ 738 | if ((newob = GetObject()) == NULL) { | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ objlist.c:738:18: note: in expansion of macro ‘GetObject’ 738 | if ((newob = GetObject()) == NULL) { | ^~~~~~~~~ objlist.c: In function ‘FreeObject’: objlist.h:125:24: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 125 | #define FreeString(a) (free(a)) | ^~~~ objlist.c:872:3: note: in expansion of macro ‘FreeString’ 872 | FreeString(ob->name); | ^~~~~~~~~~ objlist.h:125:24: note: include ‘’ or provide a declaration of ‘free’ 125 | #define FreeString(a) (free(a)) | ^~~~ objlist.c:872:3: note: in expansion of macro ‘FreeString’ 872 | FreeString(ob->name); | ^~~~~~~~~~ objlist.c: In function ‘FreeNodeNames’: config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ objlist.c:1070:5: note: in expansion of macro ‘FREE’ 1070 | FREE(tp->nodename_cache); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ objlist.c:1070:5: note: in expansion of macro ‘FREE’ 1070 | FREE(tp->nodename_cache); | ^~~~ objlist.c: In function ‘CacheNodeNames’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ objlist.c:1089:24: note: in expansion of macro ‘CALLOC’ 1089 | (struct objlist **)CALLOC(nodes+1, sizeof(*(tp->nodename_cache))); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ objlist.c:1089:24: note: in expansion of macro ‘CALLOC’ 1089 | (struct objlist **)CALLOC(nodes+1, sizeof(*(tp->nodename_cache))); | ^~~~~~ --- compiling base/query.o rm -f query.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c query.c query.c: In function ‘InitializeCommandLine’: query.c:188:7: warning: implicit declaration of function ‘getenv’ [-Wimplicit-function-declaration] 188 | if (getenv("DISPLAY")) { | ^~~~~~ query.c:46:1: note: ‘getenv’ is defined in header ‘’; did you forget to ‘#include ’? 45 | #include "dbug.h" +++ |+#include 46 | query.c: In function ‘Fanout’: query.c:340:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 340 | if (ob->node == nodenum) | ^ In file included from query.c:21: query.c: In function ‘PrintNodes’: config.h:190:25: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ query.c:435:29: note: in expansion of macro ‘CALLOC’ 435 | nodelist = (noderecord *) CALLOC((nodemax + 1), sizeof(noderecord)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ query.c:435:29: note: in expansion of macro ‘CALLOC’ 435 | nodelist = (noderecord *) CALLOC((nodemax + 1), sizeof(noderecord)); | ^~~~~~ config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ query.c:435:29: note: in expansion of macro ‘CALLOC’ 435 | nodelist = (noderecord *) CALLOC((nodemax + 1), sizeof(noderecord)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ query.c:435:29: note: in expansion of macro ‘CALLOC’ 435 | nodelist = (noderecord *) CALLOC((nodemax + 1), sizeof(noderecord)); | ^~~~~~ config.h:192:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 192 | #define FREE(a) free(a) | ^~~~ query.c:505:3: note: in expansion of macro ‘FREE’ 505 | FREE(nodelist); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ query.c:505:3: note: in expansion of macro ‘FREE’ 505 | FREE(nodelist); | ^~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ query.c:505:3: note: in expansion of macro ‘FREE’ 505 | FREE(nodelist); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ query.c:505:3: note: in expansion of macro ‘FREE’ 505 | FREE(nodelist); | ^~~~ query.c: In function ‘DescribeInstance’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ query.c:637:32: note: in expansion of macro ‘CALLOC’ 637 | instlist = (unsigned char *) CALLOC((nodemax + 1), sizeof(unsigned char)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ query.c:637:32: note: in expansion of macro ‘CALLOC’ 637 | instlist = (unsigned char *) CALLOC((nodemax + 1), sizeof(unsigned char)); | ^~~~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ query.c:650:3: note: in expansion of macro ‘FREE’ 650 | FREE(instlist); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ query.c:650:3: note: in expansion of macro ‘FREE’ 650 | FREE(instlist); | ^~~~ query.c:617:25: warning: unused variable ‘morenodes’ [-Wunused-variable] 617 | int node, nodenumber, morenodes, disconnectednodes; | ^~~~~~~~~ query.c:617:7: warning: unused variable ‘node’ [-Wunused-variable] 617 | int node, nodenumber, morenodes, disconnectednodes; | ^~~~ query.c: In function ‘Query’: query.c:958:15: warning: variable ‘command’ set but not used [-Wunused-but-set-variable] 958 | char *command; | ^~~~~~~ query.c:971:7: warning: implicit declaration of function ‘system’ [-Wimplicit-function-declaration] 971 | system("/bin/csh"); | ^~~~~~ query.c:976:16: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 976 | case 'Q' : exit(0); | ^~~~ query.c:976:16: note: include ‘’ or provide a declaration of ‘exit’ query.c:976:16: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] query.c:976:16: note: include ‘’ or provide a declaration of ‘exit’ query.c: In function ‘promptstring’: query.c:91:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 91 | fgets(InputLine, sizeof(InputLine), promptstring_infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling base/anneal.o rm -f anneal.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c anneal.c anneal.c: In function ‘GenerateAnnealPartition’: anneal.c:37:19: warning: variable ‘rightfanout’ set but not used [-Wunused-but-set-variable] 37 | int leftfanout, rightfanout; | ^~~~~~~~~~~ anneal.c:37:7: warning: variable ‘leftfanout’ set but not used [-Wunused-but-set-variable] 37 | int leftfanout, rightfanout; | ^~~~~~~~~~ --- compiling base/ext.o rm -f ext.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ext.c --- compiling base/netcmp.o rm -f netcmp.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c netcmp.c ext.c: In function ‘ReadExt’: ext.c:327:9: warning: implicit declaration of function ‘flattenInstancesOf’; did you mean ‘FlattenInstancesOf’? [-Wimplicit-function-declaration] 327 | flattenInstancesOf(NULL, name); | ^~~~~~~~~~~~~~~~~~ | FlattenInstancesOf ext.c:161:18: warning: unused variable ‘rdnum’ [-Wunused-variable] 161 | int cdnum = 1, rdnum = 1; | ^~~~~ ext.c: In function ‘StrIsInt’: ext.c:448:14: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] 448 | if (!isdigit(*s++)) | ^~~~~~~ ext.c:31:1: note: include ‘’ or provide a declaration of ‘isdigit’ 30 | #include "print.h" +++ |+#include 31 | In file included from netcmp.c:21: netcmp.c: In function ‘PrintBadElementFragment’: config.h:190:25: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:395:31: note: in expansion of macro ‘CALLOC’ 395 | nodes = (struct NodeList **)CALLOC(fanout, sizeof(struct NodeList *)); | ^~~~~~ netcmp.c:43:1: note: include ‘’ or provide a declaration of ‘calloc’ 42 | #include "dbug.h" +++ |+#include 43 | config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:395:31: note: in expansion of macro ‘CALLOC’ 395 | nodes = (struct NodeList **)CALLOC(fanout, sizeof(struct NodeList *)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:395:31: note: in expansion of macro ‘CALLOC’ 395 | nodes = (struct NodeList **)CALLOC(fanout, sizeof(struct NodeList *)); | ^~~~~~ config.h:192:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:501:3: note: in expansion of macro ‘FREE’ 501 | FREE(nodes); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:501:3: note: in expansion of macro ‘FREE’ 501 | FREE(nodes); | ^~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:501:3: note: in expansion of macro ‘FREE’ 501 | FREE(nodes); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:501:3: note: in expansion of macro ‘FREE’ 501 | FREE(nodes); | ^~~~ netcmp.c: In function ‘PrintBadNodeFragment’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:521:33: note: in expansion of macro ‘CALLOC’ 521 | pins = (struct ElementList **)CALLOC(fanout, sizeof(struct ElementList *)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:521:33: note: in expansion of macro ‘CALLOC’ 521 | pins = (struct ElementList **)CALLOC(fanout, sizeof(struct ElementList *)); | ^~~~~~ config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:580:3: note: in expansion of macro ‘FREE’ 580 | FREE(pins); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:580:3: note: in expansion of macro ‘FREE’ 580 | FREE(pins); | ^~~~ netcmp.c: In function ‘GetElement’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:663:43: note: in expansion of macro ‘CALLOC’ 663 | new_element = (struct Element *)CALLOC(1,sizeof(struct Element)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:663:43: note: in expansion of macro ‘CALLOC’ 663 | new_element = (struct Element *)CALLOC(1,sizeof(struct Element)); | ^~~~~~ netcmp.c: In function ‘GetNode’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:688:37: note: in expansion of macro ‘CALLOC’ 688 | new_node = (struct Node *)CALLOC(1,sizeof(struct Node)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:688:37: note: in expansion of macro ‘CALLOC’ 688 | new_node = (struct Node *)CALLOC(1,sizeof(struct Node)); | ^~~~~~ netcmp.c: In function ‘GetElementClass’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:714:36: note: in expansion of macro ‘CALLOC’ 714 | (struct ElementClass *)CALLOC(1,sizeof(struct ElementClass)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:714:36: note: in expansion of macro ‘CALLOC’ 714 | (struct ElementClass *)CALLOC(1,sizeof(struct ElementClass)); | ^~~~~~ netcmp.c: In function ‘GetNodeClass’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:741:33: note: in expansion of macro ‘CALLOC’ 741 | (struct NodeClass *)CALLOC(1,sizeof(struct NodeClass)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:741:33: note: in expansion of macro ‘CALLOC’ 741 | (struct NodeClass *)CALLOC(1,sizeof(struct NodeClass)); | ^~~~~~ netcmp.c: In function ‘GetElementList’: --- compiling base/netgen.o rm -f netgen.o config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:768:35: note: in expansion of macro ‘CALLOC’ 768 | (struct ElementList *)CALLOC(1,sizeof(struct ElementList)); | ^~~~~~ gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c netgen.c config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:768:35: note: in expansion of macro ‘CALLOC’ 768 | (struct ElementList *)CALLOC(1,sizeof(struct ElementList)); | ^~~~~~ netcmp.c: In function ‘GetNodeList’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:793:45: note: in expansion of macro ‘CALLOC’ 793 | new_nodelist = (struct NodeList *)CALLOC(1,sizeof(struct NodeList)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:793:45: note: in expansion of macro ‘CALLOC’ 793 | new_nodelist = (struct NodeList *)CALLOC(1,sizeof(struct NodeList)); | ^~~~~~ netcmp.c: In function ‘CreateNodeList’: config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:993:28: note: in expansion of macro ‘CALLOC’ 993 | (struct ElementList **)CALLOC(maxnode+1, sizeof(struct ElementList *)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ netcmp.c:993:28: note: in expansion of macro ‘CALLOC’ 993 | (struct ElementList **)CALLOC(maxnode+1, sizeof(struct ElementList *)); | ^~~~~~ netcmp.c: In function ‘CreateLists’: config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:1089:3: note: in expansion of macro ‘FREE’ 1089 | FREE (LookupElementList); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ netcmp.c:1089:3: note: in expansion of macro ‘FREE’ 1089 | FREE (LookupElementList); | ^~~~ netcmp.c: In function ‘NETCOMP’: netcmp.c:2453:16: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 2453 | case 'Q' : exit(0); | ^~~~ netcmp.c:2453:16: note: include ‘’ or provide a declaration of ‘exit’ netcmp.c:2453:16: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] netcmp.c:2453:16: note: include ‘’ or provide a declaration of ‘exit’ In file included from netgen.c:34: netgen.c: In function ‘Port’: objlist.h:124:39: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:123:19: note: in expansion of macro ‘GetObject’ 123 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ netgen.c:37:1: note: include ‘’ or provide a declaration of ‘calloc’ 36 | #include "print.h" +++ |+#include 37 | objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:123:19: note: in expansion of macro ‘GetObject’ 123 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:123:19: note: in expansion of macro ‘GetObject’ 123 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ netgen.c: In function ‘Node’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:141:19: note: in expansion of macro ‘GetObject’ 141 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:141:19: note: in expansion of macro ‘GetObject’ 141 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ netgen.c: In function ‘Global’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:159:19: note: in expansion of macro ‘GetObject’ 159 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:159:19: note: in expansion of macro ‘GetObject’ 159 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ netgen.c: In function ‘UniqueGlobal’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:177:19: note: in expansion of macro ‘GetObject’ 177 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:177:19: note: in expansion of macro ‘GetObject’ 177 | if ((tp = GetObject()) == NULL) { | ^~~~~~~~~ netgen.c: In function ‘Instance’: objlist.h:124:39: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:233:12: note: in expansion of macro ‘GetObject’ 233 | tp = GetObject(); | ^~~~~~~~~ objlist.h:124:39: note: include ‘’ or provide a declaration of ‘calloc’ 124 | #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) | ^~~~~~ netgen.c:233:12: note: in expansion of macro ‘GetObject’ 233 | tp = GetObject(); | ^~~~~~~~~ netgen.c: In function ‘Cell’: objlist.h:125:24: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 125 | #define FreeString(a) (free(a)) | ^~~~ netgen.c:477:5: note: in expansion of macro ‘FreeString’ 477 | FreeString(instancename); | ^~~~~~~~~~ objlist.h:125:24: note: include ‘’ or provide a declaration of ‘free’ 125 | #define FreeString(a) (free(a)) | ^~~~ netgen.c:477:5: note: in expansion of macro ‘FreeString’ 477 | FreeString(instancename); | ^~~~~~~~~~ objlist.h:125:24: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 125 | #define FreeString(a) (free(a)) | ^~~~ netgen.c:477:5: note: in expansion of macro ‘FreeString’ 477 | FreeString(instancename); | ^~~~~~~~~~ objlist.h:125:24: note: include ‘’ or provide a declaration of ‘free’ 125 | #define FreeString(a) (free(a)) | ^~~~ netgen.c:477:5: note: in expansion of macro ‘FreeString’ 477 | FreeString(instancename); | ^~~~~~~~~~ netgen.c: In function ‘Place’: objlist.h:125:24: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 125 | #define FreeString(a) (free(a)) | ^~~~ netgen.c:813:3: note: in expansion of macro ‘FreeString’ 813 | FreeString(freename); | ^~~~~~~~~~ objlist.h:125:24: note: include ‘’ or provide a declaration of ‘free’ 125 | #define FreeString(a) (free(a)) | ^~~~ netgen.c:813:3: note: in expansion of macro ‘FreeString’ 813 | FreeString(freename); | ^~~~~~~~~~ --- compiling base/pdutils.o rm -f pdutils.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c pdutils.c --- compiling base/random.o rm -f random.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c random.c --- compiling base/timing.o rm -f timing.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c timing.c --- compiling base/bottomup.o rm -f bottomup.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c bottomup.c --- compiling base/flatten.o rm -f flatten.o --- compiling base/place.o rm -f place.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c flatten.c gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c place.c In file included from flatten.c:34: flatten.c: In function ‘flattenCell’: objlist.h:125:24: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 125 | #define FreeString(a) (free(a)) | ^~~~ flatten.c:157:9: note: in expansion of macro ‘FreeString’ 157 | FreeString(tmp->name); | ^~~~~~~~~~ flatten.c:36:1: note: include ‘’ or provide a declaration of ‘free’ 35 | #include "print.h" +++ |+#include 36 | objlist.h:125:24: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 125 | #define FreeString(a) (free(a)) | ^~~~ flatten.c:157:9: note: in expansion of macro ‘FreeString’ 157 | FreeString(tmp->name); | ^~~~~~~~~~ objlist.h:125:24: note: include ‘’ or provide a declaration of ‘free’ 125 | #define FreeString(a) (free(a)) | ^~~~ flatten.c:157:9: note: in expansion of macro ‘FreeString’ 157 | FreeString(tmp->name); | ^~~~~~~~~~ flatten.c: In function ‘flattenInstancesOf’: objlist.h:125:24: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 125 | #define FreeString(a) (free(a)) | ^~~~ flatten.c:359:9: note: in expansion of macro ‘FreeString’ 359 | FreeString(tmp->name); | ^~~~~~~~~~ objlist.h:125:24: note: include ‘’ or provide a declaration of ‘free’ 125 | #define FreeString(a) (free(a)) | ^~~~ flatten.c:359:9: note: in expansion of macro ‘FreeString’ 359 | FreeString(tmp->name); | ^~~~~~~~~~ In file included from flatten.c:24: flatten.c: In function ‘FlattenInstancesOf’: config.h:192:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 192 | #define FREE(a) free(a) | ^~~~ flatten.c:431:9: note: in expansion of macro ‘FREE’ 431 | FREE(classname_to_flatten); | ^~~~ config.h:192:25: note: include ‘’ or provide a declaration of ‘free’ 192 | #define FREE(a) free(a) | ^~~~ flatten.c:431:9: note: in expansion of macro ‘FREE’ 431 | FREE(classname_to_flatten); | ^~~~ place.c: In function ‘SetupArray’: place.c:801:17: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] 801 | newfanout = atoi(name); | ^~~~ place.c: In function ‘SetupArrayFromString’: place.c:839:20: warning: implicit declaration of function ‘strtol’; did you mean ‘strtok’? [-Wimplicit-function-declaration] 839 | oldfanout = (int)strtol(ch, &endch, 10); | ^~~~~~ | strtok place.c: In function ‘SetupRentExp’: place.c:901:13: warning: implicit declaration of function ‘atof’ [-Wimplicit-function-declaration] 901 | RentExp = atof(string); | ^~~~ place.c: In function ‘PROTOCHIP’: place.c:1006:15: warning: variable ‘command’ set but not used [-Wunused-but-set-variable] 1006 | char *command; | ^~~~~~~ place.c:1242:7: warning: implicit declaration of function ‘system’ [-Wimplicit-function-declaration] 1242 | system("/bin/csh"); | ^~~~~~ place.c:1246:16: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 1246 | case 'Q' : exit(0); | ^~~~ place.c:50:1: note: include ‘’ or provide a declaration of ‘exit’ 49 | #include "print.h" +++ |+#include 50 | place.c:1246:16: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] 1246 | case 'Q' : exit(0); | ^~~~ place.c:1246:16: note: include ‘’ or provide a declaration of ‘exit’ --- compiling base/spice.o rm -f spice.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c spice.c spice.c: In function ‘ReadSpice’: spice.c:165:14: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration] 165 | else if (toupper(nexttok[0]) == 'Q') { | ^~~~~~~ spice.c:37:1: note: include ‘’ or provide a declaration of ‘toupper’ 36 | #include "print.h" +++ |+#include 37 | spice.c:166:64: warning: unused variable ‘tmp’ [-Wunused-variable] 166 | char inst[100], emitter[100], base[100], collector[100], tmp[100]; | ^~~ spice.c:212:59: warning: unused variable ‘tmp’ [-Wunused-variable] 212 | char inst[100], drain[100], gate[100], source[100], tmp[100]; | ^~~ In file included from spice.c:21: config.h:190:25: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ spice.c:378:42: note: in expansion of macro ‘CALLOC’ 378 | new_port = (struct portelement *)CALLOC(1, sizeof(struct portelement)); | ^~~~~~ spice.c:37:1: note: include ‘’ or provide a declaration of ‘calloc’ 36 | #include "print.h" +++ |+#include 37 | config.h:190:25: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ spice.c:378:42: note: in expansion of macro ‘CALLOC’ 378 | new_port = (struct portelement *)CALLOC(1, sizeof(struct portelement)); | ^~~~~~ config.h:190:25: note: include ‘’ or provide a declaration of ‘calloc’ 190 | #define CALLOC(a, s) calloc(a, s) | ^~~~~~ spice.c:378:42: note: in expansion of macro ‘CALLOC’ 378 | new_port = (struct portelement *)CALLOC(1, sizeof(struct portelement)); | ^~~~~~ spice.c:397:7: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 397 | free (scan->name); | ^~~~ spice.c:397:7: note: include ‘’ or provide a declaration of ‘free’ spice.c:397:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] spice.c:397:7: note: include ‘’ or provide a declaration of ‘free’ --- compiling base/wombat.o rm -f wombat.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c wombat.c --- compiling base/xilinx.o rm -f xilinx.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c xilinx.c xilinx.c:135:1: warning: return type defaults to ‘int’ [-Wreturn-type] 135 | Xilinx(cellname, filename) | ^~~~~~ xilinx.c: In function ‘Xilinx’: xilinx.c:144:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 144 | return; | ^~~~~~ xilinx.c:135:1: note: declared here 135 | Xilinx(cellname, filename) | ^~~~~~ xilinx.c:156:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 156 | return; | ^~~~~~ xilinx.c:135:1: note: declared here 135 | Xilinx(cellname, filename) | ^~~~~~ xilinx.c:161:17: warning: implicit declaration of function ‘xilinxCell’ [-Wimplicit-function-declaration] 161 | xilinxCell(cellname); | ^~~~~~~~~~ xilinx.c: At top level: xilinx.c:165:1: warning: return type defaults to ‘int’ [-Wreturn-type] 165 | xilinxCell(cell) | ^~~~~~~~~~ xilinx.c: In function ‘xilinxCell’: xilinx.c:175:9: warning: implicit declaration of function ‘flattenCell’ [-Wimplicit-function-declaration] 175 | flattenCell(cell); | ^~~~~~~~~~~ xilinx.c:185:9: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 185 | time(&t); | ^~~~ xilinx.c:36:1: note: ‘time’ is defined in header ‘’; did you forget to ‘#include ’? 35 | #include "print.h" +++ |+#include 36 | xilinx.c:190:17: warning: implicit declaration of function ‘ctime’ [-Wimplicit-function-declaration] 190 | ctime(&t) | ^~~~~ xilinx.c:190:17: note: ‘ctime’ is defined in header ‘’; did you forget to ‘#include ’? xilinx.c:172:13: warning: unused variable ‘pin’ [-Wunused-variable] 172 | int pin; | ^~~ xilinx.c: In function ‘xilinx_gate’: xilinx.c:251:9: warning: implicit declaration of function ‘xilinx_sym’; did you mean ‘xilinx_name’? [-Wimplicit-function-declaration] 251 | xilinx_sym(nl,ob); | ^~~~~~~~~~ | xilinx_name xilinx.c:242:26: warning: unused variable ‘npl’ [-Wunused-variable] 242 | struct pins *pl,*npl; | ^~~ xilinx.c:242:22: warning: unused variable ‘pl’ [-Wunused-variable] 242 | struct pins *pl,*npl; | ^~ xilinx.c:240:23: warning: unused variable ‘gnl’ [-Wunused-variable] 240 | struct nlist *gnl; | ^~~ xilinx.c: At top level: xilinx.c:255:1: warning: return type defaults to ‘int’ [-Wreturn-type] 255 | xilinx_sym(nl,gob) | ^~~~~~~~~~ xilinx.c: In function ‘xilinx_sym’: xilinx.c:369:1: warning: control reaches end of non-void function [-Wreturn-type] 369 | } | ^ xilinx.c: At top level: xilinx.c:40:14: warning: ‘xilinxfile’ defined but not used [-Wunused-variable] 40 | static FILE *xilinxfile; | ^~~~~~~~~~ xilinx.c:38:13: warning: ‘xilinxhashbase’ defined but not used [-Wunused-variable] 38 | static long xilinxhashbase = 0xA00; | ^~~~~~~~~~~~~~ --- compiling base/xillib.o rm -f xillib.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c xillib.c --- linking libbase.o rm -f libbase.o ld -r actel.o ccode.o greedy.o ntk.o print.o actellib.o embed.o hash.o netfile.o objlist.o query.o anneal.o ext.o netcmp.o netgen.o pdutils.o random.o timing.o bottomup.o flatten.o place.o spice.o wombat.o xilinx.o xillib.o -o libbase.o make[2]: Leaving directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7/base' --- making main programs for dir in netgen netgen; do \ (cd $dir && /usr/bin/make main); done make[2]: Entering directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7/netgen' ../rules.mak:34: warning: overriding recipe for target '/usr/bin/netgen' Makefile:28: warning: ignoring old recipe for target '/usr/bin/netgen' gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" netcomp.c -o netcomp -lm \ ../base/libbase.o --- compiling netgen/netgen_main.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" inetcomp.c -o inetcomp -lm \ ../base/libbase.o rm -f netgen_main.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" ntk2adl.c -o ntk2adl -lm \ ../base/libbase.o gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c netgen_main.c inetcomp.c: In function ‘main’: inetcomp.c:43:20: warning: unused variable ‘cell2’ [-Wunused-variable] 43 | char cell1[200], cell2[200]; | ^~~~~ inetcomp.c:43:8: warning: unused variable ‘cell1’ [-Wunused-variable] 43 | char cell1[200], cell2[200]; | ^~~~~ netgen_main.c: In function ‘main’: netgen_main.c:29:3: warning: implicit declaration of function ‘Finsert’ [-Wimplicit-function-declaration] 29 | Finsert(stderr); | ^~~~~~~ gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" ntk2xnf.c -o ntk2xnf -lm \ ../base/libbase.o ntk2xnf.c: In function ‘main’: ntk2xnf.c:58:3: warning: implicit declaration of function ‘XilinxLib’ [-Wimplicit-function-declaration] 58 | XilinxLib(); | ^~~~~~~~~ ntk2xnf.c:63:3: warning: implicit declaration of function ‘Xilinx’ [-Wimplicit-function-declaration] 63 | Xilinx(cellname, NULL); | ^~~~~~ --- linking libnetgen.o rm -f libnetgen.o ld -r netgen_main.o -o libnetgen.o --- building main netgen rm -f netgen gcc -std=gnu89 -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"http://bugzilla.redhat.com\" -DNETGEN_VERSION=\"1.3\" -DNETGEN_REVISION=\"7\" -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 -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 -DDBUG_OFF=1 -DX_DISPLAY_MISSING=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" libnetgen.o ../base/libbase.o -o netgen -lm make[2]: Leaving directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7/netgen' make[2]: Entering directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7/netgen' ../rules.mak:34: warning: overriding recipe for target '/usr/bin/netgen' Makefile:28: warning: ignoring old recipe for target '/usr/bin/netgen' make[2]: Nothing to be done for 'main'. make[2]: Leaving directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7/netgen' make[1]: Leaving directory '/builddir/build/BUILD/netgen-1.3.7/netgen-1.3.7' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b9OzaO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 netgen-1.3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/libexec/netgen + cd netgen-1.3.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 'INSTALL=/usr/bin/install -c -p' 'CP=/usr/bin/cp -p' --- installing executable to /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/bin --- installing run-time files to /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/lib64 + chmod 755 /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/libexec/netgen/ntk2adl.sh + chmod 755 /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/libexec/netgen/spice + /usr/bin/cp -p README VERSION TO_DO Changes Copying doc/netgen.doc .. + /usr/bin/rm -rf /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/lib64/netgen/doc + sed -i '/NETGEN_WISH/aexport\ TCLIBPATH=/usr/lib64' /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/bin/netgen + desktop-file-install --dir /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/applications --add-category Electronics /builddir/build/SOURCES/netgen.desktop /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/applications/netgen.desktop: error: (will be fatal in the future): value "netgen.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + install -d /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/icons/hicolor/32x32/apps/ + install -p -m 644 /builddir/build/SOURCES/netgen.png /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/icons/hicolor/32x32/apps/netgen.png + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.3.7-48.fc40 --unique-debug-suffix -1.3.7-48.fc40.riscv64 --unique-debug-src-base netgen-1.3.7-48.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netgen-1.3.7 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/netgen-1.3.7-48.fc40.riscv64 851 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/libexec/netgen/ntk2adl.sh from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/libexec/netgen/spice from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: netgen-1.3.7-48.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6vITMZ + umask 022 + cd /builddir/build/BUILD + cd netgen-1.3.7 + DOCDIR=/builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + cp -pr /builddir/build/BUILD/netgen-1.3.7/README /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + cp -pr /builddir/build/BUILD/netgen-1.3.7/VERSION /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + cp -pr /builddir/build/BUILD/netgen-1.3.7/TO_DO /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + cp -pr /builddir/build/BUILD/netgen-1.3.7/Changes /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + cp -pr /builddir/build/BUILD/netgen-1.3.7/Copying /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + cp -pr /builddir/build/BUILD/netgen-1.3.7/netgen.doc /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64/usr/share/doc/netgen + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(netgen.desktop) netgen = 1.3.7-48.fc40 netgen(riscv-64) = 1.3.7-48.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/csh /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: netgen-debugsource-1.3.7-48.fc40.riscv64 Provides: netgen-debugsource = 1.3.7-48.fc40 netgen-debugsource(riscv-64) = 1.3.7-48.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: netgen-debuginfo-1.3.7-48.fc40.riscv64 Provides: debuginfo(build-id) = 2a8799c46c265f1e7622f6a98d209c4b410959ee debuginfo(build-id) = 625fa28eff387c844684d429be41247afc92133e debuginfo(build-id) = 714623bd3c8ca92fe7038f6a9e25350605148bf9 debuginfo(build-id) = 9cdce8c186e8e70f8df0dc2a7737f061e2989a49 debuginfo(build-id) = b0fe48da1c491ed1af6a54e816dd7e6108ccc24c netgen-debuginfo = 1.3.7-48.fc40 netgen-debuginfo(riscv-64) = 1.3.7-48.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: netgen-debugsource(riscv-64) = 1.3.7-48.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 Wrote: /builddir/build/RPMS/netgen-debugsource-1.3.7-48.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/netgen-1.3.7-48.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/netgen-debuginfo-1.3.7-48.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Sr75Ut + umask 022 + cd /builddir/build/BUILD + cd netgen-1.3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/netgen-1.3.7-48.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.iGMBK8 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/netgen-1.3.7-SPECPARTS + rm -rf netgen-1.3.7 netgen-1.3.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0