Closed yurivict closed 4 years ago
What did your "configure" statement look like? Were there any error messages during the compile?
$ ./configure --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd12.0
===> Configuring for netgen-lvs-1.6.3
configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd12.0
checking host system type... amd64-portbld-freebsd12.0
checking target system type... amd64-portbld-freebsd12.0
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gm4... /usr/local/bin/gm4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking size of void *... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for setenv... (cached) yes
checking for putenv... (cached) yes
checking for vfork... (cached) yes
checking for dirent.h... (cached) yes
checking for limits.h... (cached) 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...
Can't find Tcl configuration script "tclConfig.sh"
Reverting to non-Tcl compilation
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating defs.mak
config.status: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting
-----------------------------------------------------------
Configuration Summary (principle requirements):
Tcl/Tk: no
Without Tcl/Tk, you cannot run the enhanced version of netgen
with scripting ability, console window, convenience commands
such as "lvs", and other useful features. If you did not
specifically disable Tcl/Tk on the configure command line, then
getting this message means that you do not have Tcl/Tk headers
and/or libraries installed, or they are not in a standard path.
Try using configure options --with-tcl=<DIR> and --with-tk=<DIR>.
-----------------------------------------------------------
Use 'make' to compile and 'make install' to install.
Errors may not be printed to stdout: see files 'make.log'
and 'install.log' for a complete error summary.
-----------------------------------------------------------
===> Building for netgen-lvs-1.6.3
gmake[1]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
--- errors and warnings logged in file make.log
gmake[2]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
--- making modules
for dir in base ; do \
(cd $dir && gmake module); done
gmake[3]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/base'
--- compiling base/actel.o
--- compiling base/ccode.o
rm -f ccode.o
rm -f actel.o
--- compiling base/greedy.o
--- compiling base/ntk.o
rm -f greedy.o
rm -f ntk.o
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ccode.c
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c actel.c
--- compiling base/print.o
rm -f print.o
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ntk.c
--- compiling base/actellib.o
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c greedy.c
rm -f actellib.o
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c print.c
--- compiling base/embed.o
rm -f embed.o
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c actellib.c
--- compiling base/hash.o
rm -f hash.o
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c embed.c
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c hash.c
--- compiling base/netfile.o
rm -f netfile.o
actel.c:93:19: warning: multiple unsequenced modifications to 'ActelIndex' [-Wunsequenced]
ActelIndex = (++ActelIndex) % ACTELNAMESIZE;
~ ^
actel.c:104:17: warning: multiple unsequenced modifications to 'ActelIndex' [-Wunsequenced]
ActelIndex = (++ActelIndex) % ACTELNAMESIZE;
~ ^
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c netfile.c
hash.c:317:30: error: non-void function 'HashKill' should return a value [-Wreturn-type]
if (dict->hashtab == NULL) return; // Hash not initialized
^
1 error generated.
--- compiling base/objlist.o
gmake[3]: *** [../rules.mak:11: hash.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
--- compiling base/query.o
rm -f objlist.o
rm -f query.o
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c objlist.c
cc -g -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DSHDLIB_EXT=\"\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c query.c
2 warnings generated.
objlist.c:307:3: warning: implicit declaration of function 'HashKill' is invalid in C99 [-Wimplicit-function-declaration]
HashKill(&(p->objdict));
^
objlist.c:351:45: error: non-void function 'removeshorted' should return a value [-Wreturn-type]
if ((file != -1) && (ptr->file != file)) return;
^
objlist.c:415:45: error: non-void function 'deleteclass' should return a value [-Wreturn-type]
if ((file != -1) && (ptr->file != file)) return;
^
objlist.c:472:45: error: non-void function 'renameinstances' should return a value [-Wreturn-type]
if ((file != -1) && (ptr->file != file)) return;
^
objlist.c:507:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (prop->type == PROP_EXPRESSION) {
^
objlist.c:542:3: warning: implicit declaration of function 'HashKill' is invalid in C99 [-Wimplicit-function-declaration]
HashKill(&(tp->objdict));
^
query.c:328:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if ((filter == ALLELEMENTS) && (ob->type >= FIRSTPIN)) {
^
3 warnings and 3 errors generated.
gmake[3]: *** [../rules.mak:11: objlist.o] Error 1
query.c:926:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((ptr->class == CLASS_SUBCKT)) PrintLeavesInCell(ptr->name, ptr->file);
~~~~~~~~~~~^~~~~~~~~~~~~~~
query.c:926:19: note: remove extraneous parentheses around the comparison to silence this warning
if ((ptr->class == CLASS_SUBCKT)) PrintLeavesInCell(ptr->name, ptr->file);
~ ^ ~
query.c:926:19: note: use '=' to turn this equality comparison into an assignment
if ((ptr->class == CLASS_SUBCKT)) PrintLeavesInCell(ptr->name, ptr->file);
^~
=
2 warnings generated.
gmake[3]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/base'
gmake[2]: *** [Makefile:44: modules] Error 2
gmake[2]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
gmake[1]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
===> Staging for netgen-lvs-1.6.3
===> netgen-lvs-1.6.3 depends on file: /usr/local/bin/python3.7 - found
===> Generating temporary packing list
gmake[1]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
--- installing executable to /usr/ports/cad/netgen-lvs/work/stage/usr/local/bin
--- installing run-time files to /usr/ports/cad/netgen-lvs/work/stage/usr/local/lib
cp: netgen: No such file or directory
gmake[3]: *** [Makefile:30: /usr/ports/cad/netgen-lvs/work/stage/usr/local/bin/netgen] Error 1
cp: netgen: No such file or directory
gmake[3]: *** [Makefile:30: /usr/ports/cad/netgen-lvs/work/stage/usr/local/bin/netgen] Error 1
gmake[1]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
When I added Tcl/Tk dependencies, it has another problem:
===> Configuring for netgen-lvs-1.6.3
configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd12.0
checking host system type... amd64-portbld-freebsd12.0
checking target system type... amd64-portbld-freebsd12.0
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gm4... /usr/local/bin/gm4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking size of void *... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for setenv... (cached) yes
checking for putenv... (cached) yes
checking for vfork... (cached) yes
checking for dirent.h... (cached) yes
checking for limits.h... (cached) 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/local/lib/tcl8.6/tclConfig.sh
checking for tkConfig.sh... /usr/local/lib/tk8.6/tkConfig.sh
checking for wish executable... /usr/local/bin/wish8.6
checking for tclsh executable... /usr/local/bin/tclsh8.6
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating defs.mak
config.status: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting
-----------------------------------------------------------
Configuration Summary (principle requirements):
Tcl/Tk: yes
-----------------------------------------------------------
Use 'make' to compile and 'make install' to install.
Errors may not be printed to stdout: see files 'make.log'
and 'install.log' for a complete error summary.
-----------------------------------------------------------
===> Building for netgen-lvs-1.6.3
gmake[1]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
--- errors and warnings logged in file make.log
gmake[2]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
--- making modules
for dir in base tcltk; do \
(cd $dir && gmake module); done
gmake[3]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/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
--- compiling base/ntk.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c actel.c
rm -f ntk.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c greedy.c
--- compiling base/print.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ccode.c
rm -f print.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ntk.c
--- compiling base/actellib.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c print.c
rm -f actellib.o
--- compiling base/embed.o
rm -f embed.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c actellib.c
--- compiling base/hash.o
rm -f hash.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c embed.c
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c hash.c
embed.c:465:7: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(np);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
ntk.c:290:4: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(ports[i]);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
embed.c:527:3: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(E);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
hash.c:317:30: error: non-void function 'HashKill' should return a value [-Wreturn-type]
if (dict->hashtab == NULL) return; // Hash not initialized
^
hash.c:322:7: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(p->name);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
hash.c:327:3: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(dict->hashtab);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
hash.c:371:5: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(np->name);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
hash.c:381:7: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(np2->name);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
hash.c:406:5: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(np->name);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
--- compiling base/netfile.o
rm -f netfile.o
hash.c:417:7: warning: implicit declaration of function 'Tcl_Free' is invalid in C99 [-Wimplicit-function-declaration]
FREE(np2->name);
^
./config.h:161:19: note: expanded from macro 'FREE'
#define FREE(a) Tcl_Free((char *)a)
^
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/X11R6/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c netfile.c
6 warnings and 1 error generated.
gmake[3]: *** [../rules.mak:13: hash.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
1 warning generated.
2 warnings generated.
actel.c:93:19: warning: multiple unsequenced modifications to 'ActelIndex' [-Wunsequenced]
ActelIndex = (++ActelIndex) % ACTELNAMESIZE;
~ ^
actel.c:104:17: warning: multiple unsequenced modifications to 'ActelIndex' [-Wunsequenced]
ActelIndex = (++ActelIndex) % ACTELNAMESIZE;
~ ^
2 warnings generated.
gmake[3]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/base'
gmake[3]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/tcltk'
--- compiling tcltk/tclnetgen.o
rm -f tclnetgen.o
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I../base -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c tclnetgen.c
tclnetgen.c:814:6: warning: implicit declaration of function 'XilinxLib' is invalid in C99 [-Wimplicit-function-declaration]
XilinxLib();
^
tclnetgen.c:899:10: warning: implicit declaration of function 'XilinxLib' is invalid in C99 [-Wimplicit-function-declaration]
XilinxLib();
^
tclnetgen.c:957:7: warning: implicit declaration of function 'ActelLibPresent' is invalid in C99 [-Wimplicit-function-declaration]
if (ActelLibPresent() == 0) {
^
tclnetgen.c:979:7: warning: implicit declaration of function 'XilinxLibPresent' is invalid in C99 [-Wimplicit-function-declaration]
if (XilinxLibPresent() == 0) {
^
tclnetgen.c:983:10: warning: implicit declaration of function 'Xilinx' is invalid in C99 [-Wimplicit-function-declaration]
Xilinx(repstr,"");
^
tclnetgen.c:2038:4: warning: implicit declaration of function 'UniquePins' is invalid in C99 [-Wimplicit-function-declaration]
UniquePins(name1, fnum1); // Check for and remove duplicate pins
^
tclnetgen.c:2133:7: warning: implicit declaration of function 'SummarizeElementClasses' is invalid in C99 [-Wimplicit-function-declaration]
SummarizeElementClasses(ElementClasses);
^
tclnetgen.c:2310:25: warning: implicit declaration of function 'ResolveAutomorphsByProperty' is invalid in C99 [-Wimplicit-function-declaration]
automorphisms = ResolveAutomorphsByProperty();
^
tclnetgen.c:2317:21: warning: implicit declaration of function 'ResolveAutomorphsByPin' is invalid in C99 [-Wimplicit-function-declaration]
automorphisms = ResolveAutomorphsByPin();
^
tclnetgen.c:2418:10: warning: implicit declaration of function 'FormatIllegalNodeClasses' is invalid in C99 [-Wimplicit-function-declaration]
FormatIllegalNodeClasses(); // Side-by-side, to log file
^
tclnetgen.c:2431:10: warning: implicit declaration of function 'FormatIllegalElementClasses' is invalid in C99 [-Wimplicit-function-declaration]
FormatIllegalElementClasses(); // Side-by-side, to log file
^
tclnetgen.c:3402:7: warning: implicit declaration of function 'HashKill' is invalid in C99 [-Wimplicit-function-declaration]
HashKill(&(tp->propdict));
^
tclnetgen.c:3709:4: warning: implicit declaration of function 'RegroupDataStructures' is invalid in C99 [-Wimplicit-function-declaration]
RegroupDataStructures();
^
13 warnings generated.
--- linking libtcltk.o
rm -f libtcltk.o
/usr/bin/ld -r tclnetgen.o -o libtcltk.o
gmake[3]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/tcltk'
--- making Tcl shared-object libraries
for dir in netgen tcltk; do \
(cd $dir && gmake tcl-main); done
gmake[3]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/netgen'
gmake[3]: *** No rule to make target '../base/libbase.o', needed by 'tclnetgen.so'. Stop.
gmake[3]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/netgen'
gmake[3]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/tcltk'
cc -g -I/usr/local/include -fPIC -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I../base -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DPACKAGE_NAME=\"netgen\" -DPACKAGE_TARNAME=\"netgen\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"netgen\ 1.3\" -DPACKAGE_BUGREPORT=\"eda-dev@opencircuitdesign.com\" -DPACKAGE_URL=\"\" -DNETGEN_VERSION=\"1.6\" -DNETGEN_REVISION=\"3\" -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 -DTCL_NETGEN=1 -DSHDLIB_EXT=\".so\" -DNDEBUG netgenexec.c \
-o netgenexec \
-fstack-protector-strong -lm -L/usr/local/lib -L/usr/local/lib -ltk86 -L/usr/local/lib -ltcl86
sed -e /TCL_DIR/s%TCL_DIR%/usr/local/lib/netgen/tcl%g \
-e /SHDLIB_EXT/s%SHDLIB_EXT%.so%g \
netgen.tcl.in > netgen.tcl
sed -e /TCL_DIR/s%TCL_DIR%/usr/local/lib/netgen/tcl%g \
-e /TCLLIB_DIR/s%TCLLIB_DIR%/usr/local/lib%g \
-e /WISH_EXE/s%WISH_EXE%/usr/local/bin/wish8.6%g \
netgen.sh.in > netgen.sh
gmake[3]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3/tcltk'
gmake[2]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
gmake[1]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
===> Staging for netgen-lvs-1.6.3
===> netgen-lvs-1.6.3 depends on file: /usr/local/bin/python3.7 - found
===> Generating temporary packing list
gmake[1]: Entering directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
./scripts/mkdirs /usr/ports/cad/netgen-lvs/work/stage/usr/local/bin /usr/ports/cad/netgen-lvs/work/stage/usr/local/man
--- installing executable to /usr/ports/cad/netgen-lvs/work/stage/usr/local/bin
--- installing run-time files to /usr/ports/cad/netgen-lvs/work/stage/usr/local/lib
gmake[3]: *** No rule to make target '../base/libbase.o', needed by 'tclnetgen.so'. Stop.
gmake[1]: Leaving directory '/usr/ports/cad/netgen-lvs/work/netgen-1.6.3'
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
Warning: 'lib/netgen/tcl/netgenexec' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
This compile makes no sense in the context of the github repo. It is for "netgen-lvs-1.6.3". I recall that the packaged version was renamed from "netgen" to "netgen-lvs" because there was already some package named "netgen" for 3D mesh generation (which annoys me because this version predates it by decades). But I don't know who decided on the "1.6.3" designation. I'm on 1.5.144. And the point where the compile is failing, "hash.c:317:30: error: non-void function 'HashKill' should return a value [-Wreturn-type]", in my code HashKill is a void function, so this is not an error. If you wish to compile netgen, I suggest using the source code in this repository.
The errors in your previous posting are of a similar nature; the error message complains about no return value in a function returning int, but my code is definitely returning a value in those places.
There might be some confusion. The tarballs are taken from http://opencircuitdesign.com/netgen/archive/ Is this not the right place? Are these different projects?
I switched the FreeBSD to GitHub's version 1.5.144
and the problems disappeared.
It appears that http://opencircuitdesign.com/netgen/archive contains some stray, outdated tarballs with higher version numbers.
You're right; my apologies. I don't even remember starting a 1.6 development branch! The files are dated April and August 2017, so yes, they are pretty far out of date. Sorry about the confusion. I even confused myself!
No problem!
Version 1.6.3 FreeBSD 12