need help cross-compiling SSL for 5 different QNX OS target platforms

Williams, Roger roger.williams at Wabtec.com
Mon Nov 8 14:55:06 UTC 2021


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:

  1.  QNX 6.5.0, PPCBE-SPE
  2.  QNX 6.5.0, PPCBE
  3.  QNX 6.5.0, X86
  4.  QNX 6.3.2, PPCBE
  5.  QNX 6.3.2, X86

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:


  1.  QNX 6.5.0, PPCBE-SPE

./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"

  1.  QNX 6.5.0, PPCBE

./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”

  1.  QNX 6.5.0, X86

./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"

  1.  QNX 6.3.2, PPCBE

./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"

  1.  QNX 6.3.2, X86

./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:

     In file included from openssl-compat.c:32:
         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.


This email and any attachments are only for use by the intended recipient(s) and may contain legally privileged, confidential, proprietary or otherwise private information. Any unauthorized use, reproduction, dissemination, distribution or other disclosure of the contents of this e-mail or its attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original. Neither this information block, the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20211108/2a35c50d/attachment-0001.html>


More information about the openssl-users mailing list