make ac68z error at Building zlib 67/145 configure: error: --with-openssl was given but OpenSSL could not be detected

Issue #206 invalid
dowden created an issue

HEAD is now at 52fa2d6eef SDK6: board_ns.c - fix comment and remove compiler warning
ran make ac68z

error at Building zlib 67/145

...
make[5]: Leaving directory '/home/one/freshtomato-arm/release/src-rt-6.x.4708/router/zlib'
find patches/libcurl -maxdepth 1 -type f -name '*.patch' | sort -t '\0' -n | while read FILE; do ( if patch -p0 -N -s --dry-run < $FILE 2>/dev/null; then patch -p0 -N -r - --no-backup-if-mismatch < $FILE; fi ) done
patching file libcurl/Makefile.am
cd libcurl && autoreconf -fsi && \
        CFLAGS="-Os -Wall -pipe -ffunction-sections -fdata-sections -fPIC \
                -fno-strict-aliasing -fno-delete-null-pointer-checks -marm" \
        CPPFLAGS="-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -DCONFIG_BCMWL6 -DCONFIG_BCMWL6A -DPART_JFFS2_GAP=0UL -pipe -fno-strict-aliasing -DBCMWPA2 -DBCMARM -fno-delete-null-pointer-checks -marm  -DTCONFIG_NVRAM_64K -DLINUX_KERNEL_VERSION=132644 -ffunction-sections -fdata-sections -fPIC -I/home/one/freshtomato-arm/release/src-rt-6.x.4708/router/openssl-1.1/staged/usr/include" \
        LDFLAGS="-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC -L/home/one/freshtomato-arm/release/src-rt-6.x.4708/router/openssl-1.1/staged/usr/lib" \
        LIBS="-lpthread" \
        ./configure --host=arm-linux --build=x86_64-linux-gnu --prefix=/usr --bindir=/usr/sbin --libdir=/usr/lib \
                --enable-shared --enable-static --enable-cookies --enable-crypto-auth \
                --enable-nonblocking --enable-file --enable-ftp --enable-http --enable-tftp \
                --enable-ipv6 \
                --with-random="/dev/urandom" --with-ssl="/home/one/freshtomato-arm/release/src-rt-6.x.4708/router/openssl-1.1/staged/usr" --with-zlib="/home/one/freshtomato-arm/release/src-rt-6.x.4708/router/zlib/staged/usr" \
                --disable-nls --disable-dict --disable-debug --disable-gopher --disable-threaded-resolver \
                --disable-ldap --disable-manual --disable-telnet --disable-verbose \
                --without-gnutls --without-krb4 --without-libidn2 --without-libpsl  \
                --with-linux-headers=/home/one/freshtomato-arm/release/src-rt-6.x.4708/linux/linux-2.6.36/include --with-ca-fallback
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
configure.ac:120: installing './compile'
configure.ac:125: installing './missing'
...
configure: WARNING: the previous check could not be made default was used
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
configure: PKG_CONFIG_LIBDIR will be set to "/home/one/freshtomato-arm/release/src-rt-6.x.4708/router/openssl-1.1/staged/usr/lib/pkgconfig"
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: ""
configure: pkg-config: SSL_CPPFLAGS: ""
checking for HMAC_Update in -lcrypto... no
checking for HMAC_Init_ex in -lcrypto... no
checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
configure: OPT_OPENSSL: /home/one/freshtomato-arm/release/src-rt-6.x.4708/router/openssl-1.1/staged/usr
configure: OPENSSL_ENABLED:
configure: error: --with-openssl was given but OpenSSL could not be detected
make[4]: *** [Makefile:2789: libcurl/stamp-h1] Error 1
...

Comments (3)

  1. Log in to comment