+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/netgen.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Wed Jan 31 2006 Chitlesh Goorah - 1.3.7-2 warning: bogus date in %changelog: Wed Jan 31 2006 Chitlesh Goorah - 1.3.7-1 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1uANR2 + 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 + /usr/bin/gzip -dc /builddir/build/SOURCES/netgen-1.3.7.tgz + /usr/bin/tar -xof - + 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 -p0 -b --suffix .free --fuzz=0 patching file netgen-1.3.7/base/spice.c patching file netgen-1.3.7/base/netcmp.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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7w00XT + umask 022 + cd /builddir/build/BUILD + cd netgen-1.3.7 + cd netgen-1.3.7 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./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... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking for 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... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... 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 rm -f actel.o --- compiling base/ccode.o rm -f ccode.o --- compiling base/greedy.o rm -f greedy.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 --- compiling base/ntk.o rm -f ntk.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from ntk.c:25:0: ntk.c: In function 'ReadNtk': config.h:192:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FREE(a) free(a) ^ ntk.c:289:4: note: in expansion of macro 'FREE' FREE(ports[i]); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ ntk.c:289:4: note: in expansion of macro 'FREE' FREE(ports[i]); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ ntk.c:289:4: note: in expansion of macro 'FREE' FREE(ports[i]); ^~~~ actel.c: In function 'ActelName': actel.c:89:16: warning: operation on 'ActelIndex' may be undefined [-Wsequence-point] ActelIndex = (++ActelIndex) % ACTELNAMESIZE; ^ actel.c:100:14: warning: operation on 'ActelIndex' may be undefined [-Wsequence-point] ActelIndex = (++ActelIndex) % ACTELNAMESIZE; ^ --- compiling base/print.o rm -f print.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 --- compiling base/hash.o rm -f hash.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from embed.c:27:0: embed.c: In function 'hashinstall': config.h:190:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define CALLOC(a, s) calloc(a, s) ^ embed.c:424:32: note: in expansion of macro 'CALLOC' if ((np = (struct ex_entry *)CALLOC(1, sizeof(struct ex_entry))) == NULL) ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:424:32: note: in expansion of macro 'CALLOC' if ((np = (struct ex_entry *)CALLOC(1, sizeof(struct ex_entry))) == NULL) ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:424:32: note: in expansion of macro 'CALLOC' if ((np = (struct ex_entry *)CALLOC(1, sizeof(struct ex_entry))) == NULL) ^~~~~~ --- compiling base/netfile.o rm -f netfile.o embed.c: In function 'InitializeExistTest': config.h:192:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FREE(a) free(a) ^ embed.c:467:7: note: in expansion of macro 'FREE' FREE(np); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ embed.c:467:7: note: in expansion of macro 'FREE' FREE(np); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ embed.c:467:7: note: in expansion of macro 'FREE' FREE(np); ^~~~ embed.c: In function 'FreeEmbeddingTree': config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ embed.c:530:3: note: in expansion of macro 'FREE' FREE(E); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ embed.c:530:3: note: in expansion of macro 'FREE' FREE(E); ^~~~ embed.c: In function 'EmbeddingTree': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:539:31: note: in expansion of macro 'CALLOC' if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:539:31: note: in expansion of macro 'CALLOC' if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 embed.c: In function 'FlattenEmbeddingTree': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:570:31: note: in expansion of macro 'CALLOC' if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:570:31: note: in expansion of macro 'CALLOC' if ((node = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:605:32: note: in expansion of macro 'CALLOC' if ((tmp = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:605:32: note: in expansion of macro 'CALLOC' if ((tmp = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:615:32: note: in expansion of macro 'CALLOC' if ((tmp = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ embed.c:615:32: note: in expansion of macro 'CALLOC' if ((tmp = (struct embed *)CALLOC(1, sizeof(struct embed))) == NULL) ^~~~~~ In file included from hash.c:21:0: hash.c: In function 'HashPtrInstall': config.h:190:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define CALLOC(a, s) calloc(a, s) ^ hash.c:100:33: note: in expansion of macro 'CALLOC' if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ hash.c:100:33: note: in expansion of macro 'CALLOC' if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ hash.c:100:33: note: in expansion of macro 'CALLOC' if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) ^~~~~~ hash.c: In function 'HashInstall': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ hash.c:121:33: note: in expansion of macro 'CALLOC' if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ hash.c:121:33: note: in expansion of macro 'CALLOC' if ((np = (struct hashlist *) CALLOC(1,sizeof(struct hashlist))) == NULL) ^~~~~~ hash.c: In function 'HashDelete': config.h:192:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FREE(a) free(a) ^ hash.c:143:5: note: in expansion of macro 'FREE' FREE(np->name); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ hash.c:143:5: note: in expansion of macro 'FREE' FREE(np->name); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ hash.c:143:5: note: in expansion of macro 'FREE' FREE(np->name); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ hash.c:153:7: note: in expansion of macro 'FREE' FREE(np2->name); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ hash.c:153:7: note: in expansion of macro 'FREE' FREE(np2->name); ^~~~ embed.c: In function 'AddToExistSet': embed.c:358:11: warning: 'mstar' may be used uninitialized in this function [-Wmaybe-uninitialized] hashval = *mstar; ~~~~~~~~^~~~~~~~ netfile.c: In function 'NetgenFileCell': netfile.c:492:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 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] 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] chars = read(File, bufptr, READ_BUFSIZ - bytes_in_buffer); ^~~~ fread In file included from netfile.c:21:0: netfile.c: In function 'ReadNetgenFile': config.h:191:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] #define MALLOC(s) malloc(s) ^ netfile.c:631:21: note: in expansion of macro 'MALLOC' readbuf = (char *)MALLOC(READ_BUFSIZ); ^~~~~~ config.h:191:21: warning: incompatible implicit declaration of built-in function 'malloc' #define MALLOC(s) malloc(s) ^ netfile.c:631:21: note: in expansion of macro 'MALLOC' readbuf = (char *)MALLOC(READ_BUFSIZ); ^~~~~~ config.h:191:21: note: include '' or provide a declaration of 'malloc' #define MALLOC(s) malloc(s) ^ netfile.c:631:21: note: in expansion of macro 'MALLOC' readbuf = (char *)MALLOC(READ_BUFSIZ); ^~~~~~ config.h:190:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define CALLOC(a, s) calloc(a, s) ^ netfile.c:665:30: note: in expansion of macro 'CALLOC' ob = (struct objlist *)CALLOC(1,sizeof(struct objlist)); ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netfile.c:665:30: note: in expansion of macro 'CALLOC' ob = (struct objlist *)CALLOC(1,sizeof(struct objlist)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netfile.c:665:30: note: in expansion of macro 'CALLOC' ob = (struct objlist *)CALLOC(1,sizeof(struct objlist)); ^~~~~~ config.h:192:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FREE(a) free(a) ^ netfile.c:697:3: note: in expansion of macro 'FREE' FREE(readbuf); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ netfile.c:697:3: note: in expansion of macro 'FREE' FREE(readbuf); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ netfile.c:697:3: note: in expansion of macro 'FREE' FREE(readbuf); ^~~~ netfile.c: At top level: netfile.c:570:18: warning: 'File' is static but used in inline function 'READ' which is not static chars = read(File, bufptr, READ_BUFSIZ - bytes_in_buffer); ^~~~ netfile.c: In function 'SkipTok': netfile.c:184:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), infile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling base/objlist.o rm -f objlist.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 --- compiling base/query.o rm -f query.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 --- compiling base/anneal.o rm -f anneal.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from objlist.c:21:0: objlist.c: In function 'ThrowOutGarbage': config.h:192:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FREE(a) free(a) ^ objlist.c:91:3: note: in expansion of macro 'FREE' FREE(tp); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:91:3: note: in expansion of macro 'FREE' FREE(tp); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:91:3: note: in expansion of macro 'FREE' FREE(tp); ^~~~ objlist.c: In function 'matchnocase': objlist.c:163:11: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] if (tolower(*sp1) != tolower(*sp2)) break; ^~~~~~~ In file included from objlist.c:21:0: objlist.c: In function 'InstallInCellHashTable': config.h:190:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define CALLOC(a, s) calloc(a, s) ^ objlist.c:221:23: note: in expansion of macro 'CALLOC' p = (struct nlist *)CALLOC(1, sizeof(struct nlist)); ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ objlist.c:221:23: note: in expansion of macro 'CALLOC' p = (struct nlist *)CALLOC(1, sizeof(struct nlist)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ objlist.c:221:23: note: in expansion of macro 'CALLOC' p = (struct nlist *)CALLOC(1, sizeof(struct nlist)); ^~~~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:235:24: note: in expansion of macro 'FREE' if (p->name != NULL) FREE(p->name); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:235:24: note: in expansion of macro 'FREE' if (p->name != NULL) FREE(p->name); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:237:26: note: in expansion of macro 'FREE' if (p->objtab != NULL) FREE(p->objtab); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:237:26: note: in expansion of macro 'FREE' if (p->objtab != NULL) FREE(p->objtab); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:238:27: note: in expansion of macro 'FREE' if (p->insttab != NULL) FREE(p->insttab); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:238:27: note: in expansion of macro 'FREE' if (p->insttab != NULL) FREE(p->insttab); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:243:3: note: in expansion of macro 'FREE' FREE(p); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:243:3: note: in expansion of macro 'FREE' FREE(p); ^~~~ objlist.c: In function 'CellDelete': config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:297:25: note: in expansion of macro 'FREE' if (tp->name != NULL) FREE(tp->name); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:297:25: note: in expansion of macro 'FREE' if (tp->name != NULL) FREE(tp->name); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:299:27: note: in expansion of macro 'FREE' if (tp->objtab != NULL) FREE(tp->objtab); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:299:27: note: in expansion of macro 'FREE' if (tp->objtab != NULL) FREE(tp->objtab); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:300:28: note: in expansion of macro 'FREE' if (tp->insttab != NULL) FREE(tp->insttab); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:300:28: note: in expansion of macro 'FREE' if (tp->insttab != NULL) FREE(tp->insttab); ^~~~ objlist.c: In function 'CellRename': config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:338:3: note: in expansion of macro 'FREE' FREE(from_cell->name); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:338:3: note: in expansion of macro 'FREE' FREE(from_cell->name); ^~~~ In file included from objlist.c:34:0: objlist.c: In function 'CellCopy': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:370:18: note: in expansion of macro 'GetObject' if ((newob = GetObject()) == NULL) { ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:370:18: note: in expansion of macro 'GetObject' if ((newob = GetObject()) == NULL) { ^~~~~~~~~ objlist.c: In function 'List': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:573:14: note: in expansion of macro 'GetObject' head = GetObject(); ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:573:14: note: in expansion of macro 'GetObject' head = GetObject(); ^~~~~~~~~ objlist.h:125:24: warning: incompatible implicit declaration of built-in function 'free' #define FreeString(a) (free(a)) ^ objlist.c:589:3: note: in expansion of macro 'FreeString' FreeString(template2); ^~~~~~~~~~ objlist.h:125:24: note: include '' or provide a declaration of 'free' #define FreeString(a) (free(a)) ^ objlist.c:589:3: note: in expansion of macro 'FreeString' FreeString(template2); ^~~~~~~~~~ objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:594:13: note: in expansion of macro 'GetObject' tmp = GetObject(); ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:594:13: note: in expansion of macro 'GetObject' tmp = GetObject(); ^~~~~~~~~ objlist.c: In function 'ListCat': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:673:9: note: in expansion of macro 'GetObject' tmp = GetObject(); ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:673:9: note: in expansion of macro 'GetObject' tmp = GetObject(); ^~~~~~~~~ objlist.c: In function 'CopyObjList': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:738:18: note: in expansion of macro 'GetObject' if ((newob = GetObject()) == NULL) { ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ objlist.c:738:18: note: in expansion of macro 'GetObject' if ((newob = GetObject()) == NULL) { ^~~~~~~~~ objlist.c: In function 'FreeObject': objlist.h:125:24: warning: incompatible implicit declaration of built-in function 'free' #define FreeString(a) (free(a)) ^ objlist.c:872:3: note: in expansion of macro 'FreeString' FreeString(ob->name); ^~~~~~~~~~ objlist.h:125:24: note: include '' or provide a declaration of 'free' #define FreeString(a) (free(a)) ^ objlist.c:872:3: note: in expansion of macro 'FreeString' FreeString(ob->name); ^~~~~~~~~~ In file included from objlist.c:21:0: objlist.c: In function 'FreeNodeNames': config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ objlist.c:1070:5: note: in expansion of macro 'FREE' FREE(tp->nodename_cache); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ objlist.c:1070:5: note: in expansion of macro 'FREE' FREE(tp->nodename_cache); ^~~~ objlist.c: In function 'CacheNodeNames': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ objlist.c:1089:24: note: in expansion of macro 'CALLOC' (struct objlist **)CALLOC(nodes+1, sizeof(*(tp->nodename_cache))); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ objlist.c:1089:24: note: in expansion of macro 'CALLOC' (struct objlist **)CALLOC(nodes+1, sizeof(*(tp->nodename_cache))); ^~~~~~ query.c: In function 'InitializeCommandLine': query.c:188:7: warning: implicit declaration of function 'getenv'; did you mean 'getline'? [-Wimplicit-function-declaration] if (getenv("DISPLAY")) { ^~~~~~ getline query.c: In function 'Fanout': query.c:340:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ob->node == nodenum) ^ In file included from query.c:21:0: query.c: In function 'PrintNodes': config.h:190:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define CALLOC(a, s) calloc(a, s) ^ query.c:435:29: note: in expansion of macro 'CALLOC' nodelist = (noderecord *) CALLOC((nodemax + 1), sizeof(noderecord)); ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ query.c:435:29: note: in expansion of macro 'CALLOC' nodelist = (noderecord *) CALLOC((nodemax + 1), sizeof(noderecord)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ query.c:435:29: note: in expansion of macro 'CALLOC' nodelist = (noderecord *) CALLOC((nodemax + 1), sizeof(noderecord)); ^~~~~~ config.h:192:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FREE(a) free(a) ^ query.c:505:3: note: in expansion of macro 'FREE' FREE(nodelist); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ query.c:505:3: note: in expansion of macro 'FREE' FREE(nodelist); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ query.c:505:3: note: in expansion of macro 'FREE' FREE(nodelist); ^~~~ query.c: In function 'DescribeInstance': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ query.c:637:32: note: in expansion of macro 'CALLOC' instlist = (unsigned char *) CALLOC((nodemax + 1), sizeof(unsigned char)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ query.c:637:32: note: in expansion of macro 'CALLOC' instlist = (unsigned char *) CALLOC((nodemax + 1), sizeof(unsigned char)); ^~~~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ query.c:650:3: note: in expansion of macro 'FREE' FREE(instlist); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ query.c:650:3: note: in expansion of macro 'FREE' FREE(instlist); ^~~~ query.c:617:25: warning: unused variable 'morenodes' [-Wunused-variable] int node, nodenumber, morenodes, disconnectednodes; ^~~~~~~~~ query.c:617:7: warning: unused variable 'node' [-Wunused-variable] int node, nodenumber, morenodes, disconnectednodes; ^~~~ anneal.c: In function 'GenerateAnnealPartition': anneal.c:37:19: warning: variable 'rightfanout' set but not used [-Wunused-but-set-variable] int leftfanout, rightfanout; ^~~~~~~~~~~ anneal.c:37:7: warning: variable 'leftfanout' set but not used [-Wunused-but-set-variable] int leftfanout, rightfanout; ^~~~~~~~~~ query.c: In function 'Query': query.c:958:8: warning: variable 'command' set but not used [-Wunused-but-set-variable] char *command; ^~~~~~~ query.c:971:7: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] system("/bin/csh"); ^~~~~~ query.c:976:16: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] case 'Q' : exit(0); ^~~~ query.c:976:16: warning: incompatible implicit declaration of built-in function 'exit' 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] fgets(InputLine, sizeof(InputLine), promptstring_infile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compiling base/ext.o rm -f ext.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:2: warning: implicit declaration of function 'flattenInstancesOf'; did you mean 'FlattenInstancesOf'? [-Wimplicit-function-declaration] flattenInstancesOf(NULL, name); ^~~~~~~~~~~~~~~~~~ FlattenInstancesOf ext.c:161:18: warning: unused variable 'rdnum' [-Wunused-variable] int cdnum = 1, rdnum = 1; ^~~~~ ext.c: In function 'StrIsInt': ext.c:448:14: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (!isdigit(*s++)) ^~~~~~~ --- compiling base/netgen.o rm -f netgen.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 In file included from netcmp.c:21:0: netcmp.c: In function 'PrintBadElementFragment': config.h:190:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:395:31: note: in expansion of macro 'CALLOC' nodes = (struct NodeList **)CALLOC(fanout, sizeof(struct NodeList *)); ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:395:31: note: in expansion of macro 'CALLOC' nodes = (struct NodeList **)CALLOC(fanout, sizeof(struct NodeList *)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:395:31: note: in expansion of macro 'CALLOC' nodes = (struct NodeList **)CALLOC(fanout, sizeof(struct NodeList *)); ^~~~~~ config.h:192:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FREE(a) free(a) ^ netcmp.c:501:3: note: in expansion of macro 'FREE' FREE(nodes); ^~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ netcmp.c:501:3: note: in expansion of macro 'FREE' FREE(nodes); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ netcmp.c:501:3: note: in expansion of macro 'FREE' FREE(nodes); ^~~~ netcmp.c: In function 'PrintBadNodeFragment': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:521:33: note: in expansion of macro 'CALLOC' pins = (struct ElementList **)CALLOC(fanout, sizeof(struct ElementList *)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:521:33: note: in expansion of macro 'CALLOC' pins = (struct ElementList **)CALLOC(fanout, sizeof(struct ElementList *)); ^~~~~~ config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ netcmp.c:580:3: note: in expansion of macro 'FREE' FREE(pins); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ netcmp.c:580:3: note: in expansion of macro 'FREE' FREE(pins); ^~~~ netcmp.c: In function 'GetElement': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:663:36: note: in expansion of macro 'CALLOC' new_element = (struct Element *)CALLOC(1,sizeof(struct Element)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:663:36: note: in expansion of macro 'CALLOC' new_element = (struct Element *)CALLOC(1,sizeof(struct Element)); ^~~~~~ netcmp.c: In function 'GetNode': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:688:30: note: in expansion of macro 'CALLOC' new_node = (struct Node *)CALLOC(1,sizeof(struct Node)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:688:30: note: in expansion of macro 'CALLOC' new_node = (struct Node *)CALLOC(1,sizeof(struct Node)); ^~~~~~ netcmp.c: In function 'GetElementClass': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:714:29: note: in expansion of macro 'CALLOC' (struct ElementClass *)CALLOC(1,sizeof(struct ElementClass)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:714:29: note: in expansion of macro 'CALLOC' (struct ElementClass *)CALLOC(1,sizeof(struct ElementClass)); ^~~~~~ netcmp.c: In function 'GetNodeClass': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:741:26: note: in expansion of macro 'CALLOC' (struct NodeClass *)CALLOC(1,sizeof(struct NodeClass)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:741:26: note: in expansion of macro 'CALLOC' (struct NodeClass *)CALLOC(1,sizeof(struct NodeClass)); ^~~~~~ netcmp.c: In function 'GetElementList': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:768:28: note: in expansion of macro 'CALLOC' (struct ElementList *)CALLOC(1,sizeof(struct ElementList)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:768:28: note: in expansion of macro 'CALLOC' (struct ElementList *)CALLOC(1,sizeof(struct ElementList)); ^~~~~~ netcmp.c: In function 'GetNodeList': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:793:38: note: in expansion of macro 'CALLOC' new_nodelist = (struct NodeList *)CALLOC(1,sizeof(struct NodeList)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:793:38: note: in expansion of macro 'CALLOC' new_nodelist = (struct NodeList *)CALLOC(1,sizeof(struct NodeList)); ^~~~~~ netcmp.c: In function 'CreateNodeList': config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:993:28: note: in expansion of macro 'CALLOC' (struct ElementList **)CALLOC(maxnode+1, sizeof(struct ElementList *)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ netcmp.c:993:28: note: in expansion of macro 'CALLOC' (struct ElementList **)CALLOC(maxnode+1, sizeof(struct ElementList *)); ^~~~~~ netcmp.c: In function 'CreateLists': config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ netcmp.c:1089:3: note: in expansion of macro 'FREE' FREE (LookupElementList); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ netcmp.c:1089:3: note: in expansion of macro 'FREE' FREE (LookupElementList); ^~~~ netcmp.c: In function 'NETCOMP': netcmp.c:2453:16: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] case 'Q' : exit(0); ^~~~ netcmp.c:2453:16: warning: incompatible implicit declaration of built-in function 'exit' netcmp.c:2453:16: note: include '' or provide a declaration of 'exit' netcmp.c: At top level: netcmp.c:805:2: warning: 'NodeListFreeList' is static but used in inline function 'FreeNodeList' which is not static NodeListFreeList = old; ^~~~~~~~~~~~~~~~ netcmp.c:804:14: warning: 'NodeListFreeList' is static but used in inline function 'FreeNodeList' which is not static old->next = NodeListFreeList; ^~~~~~~~~~~~~~~~ netcmp.c:789:22: warning: 'NodeListFreeList' is static but used in inline function 'GetNodeList' which is not static NodeListFreeList = NodeListFreeList->next; ^~~~~~~~~~~~~~~~ netcmp.c:789:3: warning: 'NodeListFreeList' is static but used in inline function 'GetNodeList' which is not static NodeListFreeList = NodeListFreeList->next; ^~~~~~~~~~~~~~~~ netcmp.c:788:18: warning: 'NodeListFreeList' is static but used in inline function 'GetNodeList' which is not static new_nodelist = NodeListFreeList; ^~~~~~~~~~~~~~~~ netcmp.c:787:6: warning: 'NodeListFreeList' is static but used in inline function 'GetNodeList' which is not static if (NodeListFreeList != NULL) { ^~~~~~~~~~~~~~~~ netcmp.c:780:2: warning: 'ElementListFreeList' is static but used in inline function 'FreeElementList' which is not static ElementListFreeList = old; ^~~~~~~~~~~~~~~~~~~ netcmp.c:779:14: warning: 'ElementListFreeList' is static but used in inline function 'FreeElementList' which is not static old->next = ElementListFreeList; ^~~~~~~~~~~~~~~~~~~ netcmp.c:763:25: warning: 'ElementListFreeList' is static but used in inline function 'GetElementList' which is not static ElementListFreeList = ElementListFreeList->next; ^~~~~~~~~~~~~~~~~~~ netcmp.c:763:3: warning: 'ElementListFreeList' is static but used in inline function 'GetElementList' which is not static ElementListFreeList = ElementListFreeList->next; ^~~~~~~~~~~~~~~~~~~ netcmp.c:762:21: warning: 'ElementListFreeList' is static but used in inline function 'GetElementList' which is not static new_elementlist = ElementListFreeList; ^~~~~~~~~~~~~~~~~~~ netcmp.c:761:6: warning: 'ElementListFreeList' is static but used in inline function 'GetElementList' which is not static if (ElementListFreeList != NULL) { ^~~~~~~~~~~~~~~~~~~ netcmp.c:754:2: warning: 'NodeClassFreeList' is static but used in inline function 'FreeNodeClass' which is not static NodeClassFreeList = old; ^~~~~~~~~~~~~~~~~ netcmp.c:753:14: warning: 'NodeClassFreeList' is static but used in inline function 'FreeNodeClass' which is not static old->next = NodeClassFreeList; ^~~~~~~~~~~~~~~~~ netcmp.c:736:23: warning: 'NodeClassFreeList' is static but used in inline function 'GetNodeClass' which is not static NodeClassFreeList = NodeClassFreeList->next; ^~~~~~~~~~~~~~~~~ netcmp.c:736:3: warning: 'NodeClassFreeList' is static but used in inline function 'GetNodeClass' which is not static NodeClassFreeList = NodeClassFreeList->next; ^~~~~~~~~~~~~~~~~ netcmp.c:735:19: warning: 'NodeClassFreeList' is static but used in inline function 'GetNodeClass' which is not static new_nodeclass = NodeClassFreeList; ^~~~~~~~~~~~~~~~~ netcmp.c:734:6: warning: 'NodeClassFreeList' is static but used in inline function 'GetNodeClass' which is not static if (NodeClassFreeList != NULL) { ^~~~~~~~~~~~~~~~~ netcmp.c:727:2: warning: 'ElementClassFreeList' is static but used in inline function 'FreeElementClass' which is not static ElementClassFreeList = old; ^~~~~~~~~~~~~~~~~~~~ netcmp.c:726:14: warning: 'ElementClassFreeList' is static but used in inline function 'FreeElementClass' which is not static old->next = ElementClassFreeList; ^~~~~~~~~~~~~~~~~~~~ netcmp.c:709:26: warning: 'ElementClassFreeList' is static but used in inline function 'GetElementClass' which is not static ElementClassFreeList = ElementClassFreeList->next; ^~~~~~~~~~~~~~~~~~~~ netcmp.c:709:3: warning: 'ElementClassFreeList' is static but used in inline function 'GetElementClass' which is not static ElementClassFreeList = ElementClassFreeList->next; ^~~~~~~~~~~~~~~~~~~~ netcmp.c:708:22: warning: 'ElementClassFreeList' is static but used in inline function 'GetElementClass' which is not static new_elementclass = ElementClassFreeList; ^~~~~~~~~~~~~~~~~~~~ netcmp.c:707:6: warning: 'ElementClassFreeList' is static but used in inline function 'GetElementClass' which is not static if (ElementClassFreeList != NULL) { ^~~~~~~~~~~~~~~~~~~~ netcmp.c:700:2: warning: 'NodeFreeList' is static but used in inline function 'FreeNode' which is not static NodeFreeList = old; ^~~~~~~~~~~~ netcmp.c:699:14: warning: 'NodeFreeList' is static but used in inline function 'FreeNode' which is not static old->next = NodeFreeList; ^~~~~~~~~~~~ netcmp.c:684:18: warning: 'NodeFreeList' is static but used in inline function 'GetNode' which is not static NodeFreeList = NodeFreeList->next; ^~~~~~~~~~~~ netcmp.c:684:3: warning: 'NodeFreeList' is static but used in inline function 'GetNode' which is not static NodeFreeList = NodeFreeList->next; ^~~~~~~~~~~~ netcmp.c:683:14: warning: 'NodeFreeList' is static but used in inline function 'GetNode' which is not static new_node = NodeFreeList; ^~~~~~~~~~~~ netcmp.c:682:6: warning: 'NodeFreeList' is static but used in inline function 'GetNode' which is not static if (NodeFreeList != NULL) { ^~~~~~~~~~~~ netcmp.c:675:2: warning: 'ElementFreeList' is static but used in inline function 'FreeElement' which is not static ElementFreeList = old; ^~~~~~~~~~~~~~~ netcmp.c:674:14: warning: 'ElementFreeList' is static but used in inline function 'FreeElement' which is not static old->next = ElementFreeList; ^~~~~~~~~~~~~~~ netcmp.c:659:21: warning: 'ElementFreeList' is static but used in inline function 'GetElement' which is not static ElementFreeList = ElementFreeList->next; ^~~~~~~~~~~~~~~ netcmp.c:659:3: warning: 'ElementFreeList' is static but used in inline function 'GetElement' which is not static ElementFreeList = ElementFreeList->next; ^~~~~~~~~~~~~~~ netcmp.c:658:17: warning: 'ElementFreeList' is static but used in inline function 'GetElement' which is not static new_element = ElementFreeList; ^~~~~~~~~~~~~~~ netcmp.c:657:6: warning: 'ElementFreeList' is static but used in inline function 'GetElement' which is not static if (ElementFreeList != NULL) { ^~~~~~~~~~~~~~~ In file included from netgen.c:34:0: netgen.c: In function 'Port': objlist.h:124:39: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:123:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:123:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:123:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ netgen.c: In function 'Node': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:141:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:141:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ netgen.c: In function 'Global': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:159:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:159:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ netgen.c: In function 'UniqueGlobal': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:177:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:177:12: note: in expansion of macro 'GetObject' if ((tp = GetObject()) == NULL) { ^~~~~~~~~ netgen.c: In function 'Instance': objlist.h:124:39: warning: incompatible implicit declaration of built-in function 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:233:12: note: in expansion of macro 'GetObject' tp = GetObject(); ^~~~~~~~~ objlist.h:124:39: note: include '' or provide a declaration of 'calloc' #define GetObject() ((struct objlist*)calloc(1,sizeof(struct objlist))) ^ netgen.c:233:12: note: in expansion of macro 'GetObject' tp = GetObject(); ^~~~~~~~~ netgen.c: In function 'Cell': objlist.h:125:24: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FreeString(a) (free(a)) ^ netgen.c:477:5: note: in expansion of macro 'FreeString' FreeString(instancename); ^~~~~~~~~~ objlist.h:125:24: warning: incompatible implicit declaration of built-in function 'free' #define FreeString(a) (free(a)) ^ netgen.c:477:5: note: in expansion of macro 'FreeString' FreeString(instancename); ^~~~~~~~~~ objlist.h:125:24: note: include '' or provide a declaration of 'free' #define FreeString(a) (free(a)) ^ netgen.c:477:5: note: in expansion of macro 'FreeString' FreeString(instancename); ^~~~~~~~~~ netgen.c: In function 'Place': objlist.h:125:24: warning: incompatible implicit declaration of built-in function 'free' #define FreeString(a) (free(a)) ^ netgen.c:813:3: note: in expansion of macro 'FreeString' FreeString(freename); ^~~~~~~~~~ objlist.h:125:24: note: include '' or provide a declaration of 'free' #define FreeString(a) (free(a)) ^ netgen.c:813:3: note: in expansion of macro 'FreeString' FreeString(freename); ^~~~~~~~~~ --- compiling base/pdutils.o rm -f pdutils.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 --- compiling base/place.o rm -f place.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:0: flatten.c: In function 'flattenCell': objlist.h:125:24: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define FreeString(a) (free(a)) ^ flatten.c:157:2: note: in expansion of macro 'FreeString' FreeString(tmp->name); ^~~~~~~~~~ objlist.h:125:24: warning: incompatible implicit declaration of built-in function 'free' #define FreeString(a) (free(a)) ^ flatten.c:157:2: note: in expansion of macro 'FreeString' FreeString(tmp->name); ^~~~~~~~~~ objlist.h:125:24: note: include '' or provide a declaration of 'free' #define FreeString(a) (free(a)) ^ flatten.c:157:2: note: in expansion of macro 'FreeString' FreeString(tmp->name); ^~~~~~~~~~ flatten.c: In function 'flattenInstancesOf': objlist.h:125:24: warning: incompatible implicit declaration of built-in function 'free' #define FreeString(a) (free(a)) ^ flatten.c:359:2: note: in expansion of macro 'FreeString' FreeString(tmp->name); ^~~~~~~~~~ objlist.h:125:24: note: include '' or provide a declaration of 'free' #define FreeString(a) (free(a)) ^ flatten.c:359:2: note: in expansion of macro 'FreeString' FreeString(tmp->name); ^~~~~~~~~~ In file included from flatten.c:24:0: flatten.c: In function 'FlattenInstancesOf': config.h:192:19: warning: incompatible implicit declaration of built-in function 'free' #define FREE(a) free(a) ^ flatten.c:431:2: note: in expansion of macro 'FREE' FREE(classname_to_flatten); ^~~~ config.h:192:19: note: include '' or provide a declaration of 'free' #define FREE(a) free(a) ^ flatten.c:431:2: note: in expansion of macro 'FREE' FREE(classname_to_flatten); ^~~~ place.c: In function 'SetupArray': place.c:801:17: warning: implicit declaration of function 'atoi'; did you mean 'atan'? [-Wimplicit-function-declaration] newfanout = atoi(name); ^~~~ atan place.c: In function 'SetupArrayFromString': place.c:839:20: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] oldfanout = (int)strtol(ch, &endch, 10); ^~~~~~ strtok place.c: In function 'SetupRentExp': place.c:901:13: warning: implicit declaration of function 'atof'; did you mean 'atanf'? [-Wimplicit-function-declaration] RentExp = atof(string); ^~~~ atanf place.c: In function 'PROTOCHIP': place.c:1006:8: warning: variable 'command' set but not used [-Wunused-but-set-variable] char *command; ^~~~~~~ place.c:1242:7: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] system("/bin/csh"); ^~~~~~ place.c:1246:16: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] case 'Q' : exit(0); ^~~~ place.c:1246:16: warning: incompatible implicit declaration of built-in function 'exit' place.c:1246:16: note: include '' or provide a declaration of 'exit' --- compiling base/spice.o rm -f spice.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 --- compiling base/wombat.o rm -f wombat.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 spice.c: In function 'ReadSpice': spice.c:165:14: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] else if (toupper(nexttok[0]) == 'Q') { ^~~~~~~ spice.c:166:64: warning: unused variable 'tmp' [-Wunused-variable] char inst[100], emitter[100], base[100], collector[100], tmp[100]; ^~~ spice.c:212:59: warning: unused variable 'tmp' [-Wunused-variable] char inst[100], drain[100], gate[100], source[100], tmp[100]; ^~~ In file included from spice.c:21:0: config.h:190:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] #define CALLOC(a, s) calloc(a, s) ^ spice.c:378:35: note: in expansion of macro 'CALLOC' new_port = (struct portelement *)CALLOC(1, sizeof(struct portelement)); ^~~~~~ config.h:190:24: warning: incompatible implicit declaration of built-in function 'calloc' #define CALLOC(a, s) calloc(a, s) ^ spice.c:378:35: note: in expansion of macro 'CALLOC' new_port = (struct portelement *)CALLOC(1, sizeof(struct portelement)); ^~~~~~ config.h:190:24: note: include '' or provide a declaration of 'calloc' #define CALLOC(a, s) calloc(a, s) ^ spice.c:378:35: note: in expansion of macro 'CALLOC' new_port = (struct portelement *)CALLOC(1, sizeof(struct portelement)); ^~~~~~ spice.c:397:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (scan->name); ^~~~ spice.c:397:7: warning: incompatible implicit declaration of built-in function 'free' spice.c:397:7: note: include '' or provide a declaration of 'free' --- compiling base/xilinx.o rm -f xilinx.o --- compiling base/xillib.o rm -f xillib.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 xilinx.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] Xilinx(cellname, filename) ^~~~~~ xilinx.c: In function 'Xilinx': xilinx.c:144:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xilinx.c:135:1: note: declared here Xilinx(cellname, filename) ^~~~~~ xilinx.c:156:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xilinx.c:135:1: note: declared here Xilinx(cellname, filename) ^~~~~~ xilinx.c:161:3: warning: implicit declaration of function 'xilinxCell'; did you mean 'xilinx_pin'? [-Wimplicit-function-declaration] xilinxCell(cellname); ^~~~~~~~~~ xilinx_pin xilinx.c: At top level: xilinx.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] xilinxCell(cell) ^~~~~~~~~~ xilinx.c: In function 'xilinxCell': xilinx.c:175:2: warning: implicit declaration of function 'flattenCell'; did you mean 'Flatten'? [-Wimplicit-function-declaration] flattenCell(cell); ^~~~~~~~~~~ Flatten xilinx.c:185:2: warning: implicit declaration of function 'time'; did you mean 'Sim'? [-Wimplicit-function-declaration] time(&t); ^~~~ Sim xilinx.c:190:3: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] ctime(&t) ^~~~~ xilinx.c:172:6: warning: unused variable 'pin' [-Wunused-variable] int pin; ^~~ xilinx.c: In function 'xilinx_gate': xilinx.c:251:2: warning: implicit declaration of function 'xilinx_sym'; did you mean 'xilinx_name'? [-Wimplicit-function-declaration] xilinx_sym(nl,ob); ^~~~~~~~~~ xilinx_name xilinx.c:242:19: warning: unused variable 'npl' [-Wunused-variable] struct pins *pl,*npl; ^~~ xilinx.c:242:15: warning: unused variable 'pl' [-Wunused-variable] struct pins *pl,*npl; ^~ xilinx.c:240:16: warning: unused variable 'gnl' [-Wunused-variable] struct nlist *gnl; ^~~ xilinx.c: At top level: xilinx.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int] xilinx_sym(nl,gob) ^~~~~~~~~~ xilinx.c: In function 'xilinx_sym': xilinx.c:369:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: xilinx.c:40:14: warning: 'xilinxfile' defined but not used [-Wunused-variable] static FILE *xilinxfile; ^~~~~~~~~~ xilinx.c:38:13: warning: 'xilinxhashbase' defined but not used [-Wunused-variable] static long xilinxhashbase = 0xA00; ^~~~~~~~~~~~~~ --- 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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 rm -f netgen_main.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] char cell1[200], cell2[200]; ^~~~~ inetcomp.c:43:8: warning: unused variable 'cell1' [-Wunused-variable] 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] Finsert(stderr); ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] XilinxLib(); ^~~~~~~~~ ntk2xnf.c:63:3: warning: implicit declaration of function 'Xilinx'; did you mean 'fileno'? [-Wimplicit-function-declaration] Xilinx(cellname, NULL); ^~~~~~ fileno --- linking libnetgen.o rm -f libnetgen.o ld -r netgen_main.o -o libnetgen.o --- building main netgen rm -f netgen gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lkDc3x + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 + cd netgen-1.3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/libexec/netgen + cd netgen-1.3.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 'INSTALL=/usr/bin/install -c -p' 'CP=/usr/bin/cp -p' --- installing executable to /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/bin --- installing run-time files to /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/lib64 + chmod 755 /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/libexec/netgen/ntk2adl.sh + chmod 755 /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.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-29.fc28.riscv64/usr/lib64/netgen/doc + sed -i '/NETGEN_WISH/aexport\ TCLIBPATH=/usr/lib64' /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/bin/netgen + desktop-file-install --dir /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/applications --add-category Electronics /builddir/build/SOURCES/netgen.desktop /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.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-29.fc28.riscv64/usr/share/icons/hicolor/32x32/apps/ + install -p -m 644 /builddir/build/SOURCES/netgen.png /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/icons/hicolor/32x32/apps/netgen.png + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: netgen-1.3.7-29.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hIVTYF + umask 022 + cd /builddir/build/BUILD + cd netgen-1.3.7 + DOCDIR=/builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + cp -pr README /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + cp -pr VERSION /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + cp -pr TO_DO /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + cp -pr Changes /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + cp -pr Copying /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + cp -pr netgen.doc /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64/usr/share/doc/netgen + exit 0 Provides: application() application(netgen.desktop) netgen = 1.3.7-29.fc28 netgen(riscv-64) = 1.3.7-29.fc28 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: /bin/csh /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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 Wrote: /builddir/build/SRPMS/netgen-1.3.7-29.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/netgen-1.3.7-29.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.95GWKV + umask 022 + cd /builddir/build/BUILD + cd netgen-1.3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/netgen-1.3.7-29.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff