Compile error with unresolved string replacement?

Larry Ploetz lploetz at gmail.com
Mon Aug 29 03:46:46 AEST 2022


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


More information about the openssh-unix-dev mailing list