Open
Description
I've already spent many hours and feel frustrated.
The problem is that i'm unable to configure:
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--with-openssl=/opt/homebrew/opt/openssl@3' 'CC=clang' 'CFLAGS=-O2 -pipe' 'LDFLAGS=-L/opt/homebrew/opt/openssl@3/lib' 'CPPFLAGS=-I/opt/homebrew/opt/openssl@3/include' 'CXX=clang++' 'CXXFLAGS=-O2 -pipe' '--with-libpcap=no' --cache-file=/dev/null --srcdir=.
...
configure: error: *** compiler cannot create working executables, check config.log ***
configure: error: ./configure failed for opensshlib
I tried both cpp and clang.
% cat config.log | grep error
gcc-14: error: unrecognized command-line option '-V'
gcc-14: fatal error: no input files
gcc-14: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc-14: fatal error: no input files
gcc-14: error: unrecognized command-line option '-V'
gcc-14: fatal error: no input files
gcc-14: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc-14: fatal error: no input files
g++-14: error: unrecognized command-line option '-V'
g++-14: fatal error: no input files
g++-14: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++-14: fatal error: no input files
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:30:18: error: unknown type name 'not'; did you mean 'ino_t'?
conftest.c:30:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
conftest.c:27:20: error: 'struct in_addr' has no member named '_S_un'
conftest.c:28:20: error: 'struct in_addr' has no member named 'S_un'
configure:5087: checking for strerror
configure:6870: error: ./configure failed for opensshlib
ac_cv_func_strerror=yes
% cat opensshlib/config.log | grep error
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
1 error generated.
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
1 error generated.
conftest.c:26:4: error: use of undeclared identifier 'not'
1 error generated.
conftest.c:19:10: fatal error: 'ac_nonexistent.h' file not found
1 error generated.
conftest.c:24:11: fatal error: 'dev/systrace.h' file not found
1 error generated.
conftest.c:24:11: fatal error: 'linux/prctl.h' file not found
1 error generated.
configure:5769: checking if clang supports -Werror
configure:5777: clang -c -O2 -pipe -Werror -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:5814: clang -c -O2 -pipe -Werror -Qunused-arguments -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:5857: clang -c -O2 -pipe -Qunused-arguments -Werror -Wunknown-warning-option -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:5900: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Werror -Wall -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:5943: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Werror -Wpointer-arith -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:5986: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Werror -Wuninitialized -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6029: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Werror -Wsign-compare -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6072: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Werror -Wformat-security -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6115: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Werror -Wsizeof-pointer-memaccess -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6158: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Werror -Wpointer-sign -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6201: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Werror -Wunused-result -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6244: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Werror -fno-strict-aliasing -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6287: clang -c -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -Werror -D_FORTIFY_SOURCE=2 -I/opt/homebrew/opt/openssl@3/include conftest.c >&5
configure:6331: clang -o conftest -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -I/opt/homebrew/opt/openssl@3/include -L/opt/homebrew/opt/openssl@3/lib -Werror -Wl,-z,relro conftest.c >&5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6367: clang -o conftest -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -I/opt/homebrew/opt/openssl@3/include -L/opt/homebrew/opt/openssl@3/lib -Werror -Wl,-z,now conftest.c >&5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6403: clang -o conftest -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -I/opt/homebrew/opt/openssl@3/include -L/opt/homebrew/opt/openssl@3/lib -Werror -Wl,-z,noexecstack conftest.c >&5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6444: clang -o conftest -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Werror -ftrapv -I/opt/homebrew/opt/openssl@3/include -L/opt/homebrew/opt/openssl@3/lib conftest.c >&5
configure:6533: clang -o conftest -O2 -pipe -Qunused-arguments -Wunknown-warning-option -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -Werror -I/opt/homebrew/opt/openssl@3/include -L/opt/homebrew/opt/openssl@3/lib -fstack-protector-strong -Werror conftest.c >&5
conftest.c:57:10: error: 'blf.h' file not found with <angled> include; use "quotes" instead
./includes.h:24:11: fatal error: 'config.h' file not found
2 errors generated.
conftest.c:24:10: error: 'blf.h' file not found with <angled> include; use "quotes" instead
./includes.h:24:11: fatal error: 'config.h' file not found
2 errors generated.
conftest.c:57:10: fatal error: 'bstring.h' file not found
1 error generated.
conftest.c:24:10: fatal error: 'bstring.h' file not found
1 error generated.
conftest.c:57:10: fatal error: 'crypt.h' file not found
1 error generated.
conftest.c:24:10: fatal error: 'crypt.h' file not found
1 error generated.
conftest.c:57:10: fatal error: 'crypto/sha2.h' file not found
1 error generated.
conftest.c:24:10: fatal error: 'crypto/sha2.h' file not found
1 error generated.
conftest.c:58:10: fatal error: 'endian.h' file not found
1 error generated.
conftest.c:25:10: fatal error: 'endian.h' file not found
1 error generated.
conftest.c:58:10: fatal error: 'elf.h' file not found
1 error generated.
conftest.c:25:10: fatal error: 'elf.h' file not found
1 error generated.
conftest.c:58:10: fatal error: 'features.h' file not found
1 error generated.
conftest.c:25:10: fatal error: 'features.h' file not found
1 error generated.
conftest.c:59:10: fatal error: 'floatingpoint.h' file not found
1 error generated.
conftest.c:26:10: fatal error: 'floatingpoint.h' file not found
1 error generated.
conftest.c:61:10: fatal error: 'ia.h' file not found
1 error generated.
conftest.c:28:10: fatal error: 'ia.h' file not found
1 error generated.
conftest.c:61:10: fatal error: 'iaf.h' file not found
1 error generated.
conftest.c:28:10: fatal error: 'iaf.h' file not found
1 error generated.
conftest.c:64:10: fatal error: 'login.h' file not found
1 error generated.
conftest.c:31:10: fatal error: 'login.h' file not found
1 error generated.
conftest.c:64:10: fatal error: 'maillock.h' file not found
1 error generated.
conftest.c:31:10: fatal error: 'maillock.h' file not found
1 error generated.
conftest.c:64:10: fatal error: 'ndir.h' file not found
1 error generated.
conftest.c:31:10: fatal error: 'ndir.h' file not found
1 error generated.
conftest.c:64:10: fatal error: 'net/if_tun.h' file not found
1 error generated.
conftest.c:31:10: fatal error: 'net/if_tun.h' file not found
1 error generated.
conftest.c:65:10: fatal error: 'netgroup.h' file not found
1 error generated.
conftest.c:32:10: fatal error: 'netgroup.h' file not found
1 error generated.
conftest.c:65:10: fatal error: 'pam/pam_appl.h' file not found
1 error generated.
conftest.c:32:10: fatal error: 'pam/pam_appl.h' file not found
1 error generated.
conftest.c:67:10: fatal error: 'pty.h' file not found
1 error generated.
conftest.c:34:10: fatal error: 'pty.h' file not found
1 error generated.
conftest.c:70:10: error: 'sha2.h' file not found with <angled> include; use "quotes" instead
./includes.h:24:11: fatal error: 'config.h' file not found
2 errors generated.
conftest.c:37:10: error: 'sha2.h' file not found with <angled> include; use "quotes" instead
./includes.h:24:11: fatal error: 'config.h' file not found
2 errors generated.
conftest.c:70:10: fatal error: 'shadow.h' file not found
1 error generated.
conftest.c:37:10: fatal error: 'shadow.h' file not found
1 error generated.
conftest.c:74:10: fatal error: 'sys/audit.h' file not found
1 error generated.
conftest.c:41:10: fatal error: 'sys/audit.h' file not found
1 error generated.
conftest.c:74:10: fatal error: 'sys/bitypes.h' file not found
1 error generated.
conftest.c:41:10: fatal error: 'sys/bitypes.h' file not found
1 error generated.
conftest.c:74:10: fatal error: 'sys/bsdtty.h' file not found
1 error generated.
conftest.c:41:10: fatal error: 'sys/bsdtty.h' file not found
1 error generated.
conftest.c:74:10: fatal error: 'sys/capability.h' file not found
1 error generated.
conftest.c:41:10: fatal error: 'sys/capability.h' file not found
1 error generated.
conftest.c:77:10: fatal error: 'sys/ndir.h' file not found
1 error generated.
conftest.c:44:10: fatal error: 'sys/ndir.h' file not found
1 error generated.
conftest.c:78:10: fatal error: 'sys/prctl.h' file not found
1 error generated.
conftest.c:45:10: fatal error: 'sys/prctl.h' file not found
1 error generated.
conftest.c:78:10: fatal error: 'sys/pstat.h' file not found
1 error generated.
conftest.c:45:10: fatal error: 'sys/pstat.h' file not found
1 error generated.
conftest.c:80:10: fatal error: 'sys/stream.h' file not found
1 error generated.
conftest.c:47:10: fatal error: 'sys/stream.h' file not found
1 error generated.
conftest.c:80:10: fatal error: 'sys/stropts.h' file not found
1 error generated.
conftest.c:47:10: fatal error: 'sys/stropts.h' file not found
1 error generated.
conftest.c:80:10: fatal error: 'sys/strtio.h' file not found
1 error generated.
conftest.c:47:10: fatal error: 'sys/strtio.h' file not found
1 error generated.
conftest.c:81:10: fatal error: 'sys/sysmacros.h' file not found
1 error generated.
conftest.c:48:10: fatal error: 'sys/sysmacros.h' file not found
1 error generated.
conftest.c:82:10: fatal error: 'sys/timers.h' file not found
1 error generated.
conftest.c:49:10: fatal error: 'sys/timers.h' file not found
1 error generated.
conftest.c:83:10: fatal error: 'tmpdir.h' file not found
1 error generated.
conftest.c:50:10: fatal error: 'tmpdir.h' file not found
1 error generated.
conftest.c:84:10: fatal error: 'ucred.h' file not found
1 error generated.
conftest.c:51:10: fatal error: 'ucred.h' file not found
1 error generated.
conftest.c:85:10: fatal error: 'usersec.h' file not found
1 error generated.
conftest.c:52:10: fatal error: 'usersec.h' file not found
1 error generated.
conftest.c:63:10: fatal error: 'lastlog.h' file not found
1 error generated.
conftest.c:63:10: fatal error: 'sys/ptms.h' file not found
1 error generated.
conftest.c:61:10: fatal error: 'login_cap.h' file not found
1 error generated.
conftest.c:60:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
conftest.c:61:3: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2 errors generated.
conftest.c:108:10: error: use of undeclared identifier 'AU_IPv4'
1 error generated.
conftest.c:77:2: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1 error generated.
configure:8423: error: *** compiler cannot create working executables, check config.log ***
Metadata
Metadata
Assignees
Labels
No labels