Topic: Error on compiling

Hello,

Thank you for your work and ressources.

I try to compile and test your ssh delivery following instructions you prepared on old macbook pro running macos Big Sur 11.7.10.

I started
to clone wolfssl
to build it following autotools steps with success I guess
to clone solfssh
to build it with same steps

But I get the following in the compiling step triggered by make:

wolfssh % make             
/Applications/Xcode.app/Contents/Developer/usr/bin/make -j9  all-am
  CC       src/libwolfssh_la-internal.lo
  CC       examples/client/client.o
  CC       examples/client/common.o
  CC       src/libwolfssh_la-ssh.lo
  CC       src/libwolfssh_la-log.lo
  CC       src/libwolfssh_la-port.lo
  CC       src/libwolfssh_la-io.lo
  CC       src/libwolfssh_la-wolfterm.lo
  CC       examples/echoserver/echoserver-echoserver.o
src/internal.c:2215:15: error: implicit declaration of function 'wc_SSH_KDF' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = wc_SSH_KDF(hashId, keyId, key, keySz,
              ^
1 error generated.
make[1]: *** [src/libwolfssh_la-internal.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

Share

Re: Error on compiling

Hi Fred,

When you build wolfssl use ./configure --enable-wolfssh. That will include this `wc_SSH_KDF` API. Please let us know if that does not help. See: https://github.com/wolfSSL/wolfssh?tab= … pendencies

Thanks,
David Garske, wolfSSL

Share