I've recently (~2 months ago?) started getting this failure during
complication of the git version:
$ make
Makefile:684: warning: ignoring prerequisites on suffix rule definition
(cd openbsd-compat && make)
make[1]: Entering directory
'/Users/larry/git/openssh-portable/BUILD-RENAMEME/openbsd-compat'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory
'/Users/larry/git/openssh-portable/BUILD-RENAMEME/openbsd-compat'
cc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect2.o
mux.o ssh-sk-client.o -L. -Lopenbsd-compat/ -L/Users/larry/lib
-fstack-protector-strong -pie -lssh -lopenbsd-compat -lcrypto -lz -lresolv
@CHANNELLIBS@
clang: error: no such file or directory: '@CHANNELLIBS@'
make: *** [Makefile:207: ssh] Error 1
I assume there's some string replacement that's failing to replace
?@CHANNELLIBS@? with the appropriate value.
This is on MacOS
$ uname -a
Darwin <hostname> 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10
14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64
with Apple clang
$ cc --version
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
But the same error occurs with gcc.
Thanks,
? Larry
On Mon, 29 Aug 2022 at 03:54, Larry Ploetz <lploetz at gmail.com> wrote: [...]> clang: error: no such file or directory: '@CHANNELLIBS@' > make: *** [Makefile:207: ssh] Error 1 > > I assume there's some string replacement that's failing to replace > ?@CHANNELLIBS@? with the appropriate value.That's done by configure. You probably just need to run "autoreconf" and "./configure". -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.