I am trying to cross-compile the SSL software on VMware running the following: Linux Debian 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) i686 GNU/Linux I need to cross-compile the SSL software for the following targets running two versions of the QNX Operating System:
The compiler (script) used to make ssh (and ssl) is
qcc99 which says: #! /bin/sh qcc -Wc,-std=gnu99 "$@" To make ssh, I use the following configuration settings for these same (5) compiles:
./configure --with-privsep-user=sshd --host=powerpc-unknown-nto-qnx6.5.0 --build=x86 --prefix= CC='qcc99 -V4.4.2,gcc_ntoppcbespe' CPPFLAGS="-I$HOME/qnx650-ppcbespe/include
-D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O0 -me500v2' LDFLAGS="-L$HOME/qnx650-ppcbespe/lib -static"
./configure --with-privsep-user=sshd --host=powerpc-unknown-nto-qnx6.5.0 --build=x86 --prefix= CC='qcc99 -V4.4.2,gcc_ntoppcbe' CPPFLAGS="-I$HOME/qnx650-ppcbe/include
-D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx650-ppcbe/lib -static”
./configure --with-privsep-user=sshd --host=i486-pc-nto-qnx6.5.0 --build=x86 --prefix= CC='qcc99
-V4.4.2,gcc_ntox86' CPPFLAGS="-I$HOME/qnx650-x86/include -D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx650-x86/lib -static"
./configure --with-privsep-user=sshd --host=powerpc-unknown-nto-qnx6.3.0 --build=x86 --prefix= CC='qcc99 -V3.3.5,gcc_ntoppcbe' CPPFLAGS="-I$HOME/qnx632-ppcbe/include
-D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx632-ppcbe/lib -static"
./configure --with-privsep-user=sshd --host=i386-pc-nto-qnx6.3.0 --build=x86 --prefix= CC='qcc99
-V3.3.5,gcc_ntox86' CPPFLAGS="-I$HOME/qnx632-x86/include -D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx632-x86/lib -static" Notice that QNX 6.5.0 uses GCC version 4.4.2
and QNX 6.3.2 uses GCC version 3.3.5. These are invoked using
QCC, not GCC. While trying to compile SSH 8.8, it is providing the error: openssl-compat.h:37:3: error: #error OpenSSL 1.0.1 or greater is required To satisfy this condition, I downloaded openssl-1.1.1l. I do not know how to configure/make this software to create the 5 sets of SSL libraries required by SSH to make for my 5 targets.
|