GitHub
12/03/2023, 7:57 PMsudo make install
./scripts/mkdirs /usr/local/bin
--- installing executable to /usr/local/bin
--- installing run-time files to /usr/local/lib
ld: warning: -undefined suppress is deprecated
ld: warning: -undefined suppress is deprecated
ld: unknown options: -noprebind
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [tclnetgen.dylib] Error 1
Config command
./configure --with-tcl=/usr/local/opt2/tcl-tk/lib --with-tk=/usr/local/opt2/tcl-tk/lib --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib CFLAGS=-Wno-error=implicit-function-declaration
Config log
checking build system type... aarch64-apple-darwin23.1.0
checking host system type... aarch64-apple-darwin23.1.0
checking target system type... aarch64-apple-darwin23.1.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for library containing strerror... none required
checking for a BSD-compatible install... /opt/homebrew/bin/ginstall -c
checking for ranlib... ranlib
checking for gm4... /usr/bin/gm4
checking for ld used by GCC... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking 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 python3... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for tclConfig.sh... /usr/local/opt2/tcl-tk/lib/tclConfig.sh
checking for tkConfig.sh... /usr/local/opt2/tcl-tk/lib/tkConfig.sh
checking for wish executable... /usr/local/opt2/tcl-tk/bin/wish8.6
checking for tclsh executable... /usr/local/opt2/tcl-tk/bin/tclsh8.6
checking for X... libraries /opt/X11/lib, headers /opt/X11/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating defs.mak
config.status: WARNING: '<http://defs.mak.in|defs.mak.in>' seems to ignore the --datarootdir setting
-----------------------------------------------------------
Configuration Summary (principle requirements):
Tcl/Tk: yes
Python3: 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.
-----------------------------------------------------------
Make log
```
--- making modules
for dir in base tcltk; do \
(cd $dir && /Library/Developer/CommandLineTools/usr/bin/make module); done
--- compiling base/actel.o
rm -f actel.o
gcc -Wno-error=implicit-function-declaration -I/opt/X11/include -I/sw/include -fno-common -fPIC -I/opt/X11/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.5\" -DNETGEN_REVISION=\"263\" -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 -Dmacosx=macos -DSHDLIB_EXT=\".dylib\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c actel.c
actel.c9319: warning: multiple unsequenced modifications to 'ActelIndex' [-Wunsequenced]
ActelIndex = (++ActelIndex) % ACTELNAMESIZE;
~ ^
actel.c10417: warning: multiple unsequenced modifications to 'ActelIndex' [-Wunsequenced]
ActelIndex = (++ActelIndex) % ACTELNAMESIZE;
~ ^
2 warnings generated.
--- compiling base/ccode.o
rm -f ccode.o
gcc -Wno-error=implicit-function-declaration -I/opt/X11/include -I/sw/include -fno-common -fPIC -I/opt/X11/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.5\" -DNETGEN_REVISION=\"263\" -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 -Dmacosx=macos -DSHDLIB_EXT=\".dylib\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c ccode.c
--- compiling base/greedy.o
rm -f greedy.o
gcc -Wno-error=implicit-function-declaration -I/opt/X11/include -I/sw/include -fno-common -fPIC -I/opt/X11/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.5\" -DNETGEN_REVISION=\"263\" -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 -Dmacosx=macos -DSHDLIB_EXT=\".dylib\" -DNDEBUG -DNDEBUG -DNETGEN_DATE="\"`date`\"" -c greedy.c
--- compiling base/ntk.o
rm -f ntk.o
gcc -Wno-error=implicit-function-declaration -I/opt/X11/include -I/sw/include -fno-common -fPIC -I/opt/X11/include -I. -I.. -DCAD_DIR=\"/usr/local/lib\" -DTCL_DIR=\"/usr/local/lib/netgen/tcl\" -DUSE_TCL_STUBS -DUSE_TK…
RTimothyEdwards/netgen