<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi Everyone,<div><br></div><div>I am working on a project where I have to build OpenSSL "3.0.5" version for multiple targets related to MacOS and iOS.</div><div><br></div><div>I am able to successfully build the OpenSSL "1.1.1x" version by using targets mentioned in "20-ios-tvos-cross.conf".</div><div>I used to give commands like the below:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">./Configure macosx-cross-x86_64 --prefix=gen/out/bin/Debug-MacOSX-x86_64 no-shared no-async -fembed-bitcode-marker enable-ec_nistp_64_gcc_128</font></blockquote><div><br></div><div>Now for version "3.0.5" when I give the above command, I am getting the below error:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">./Configure macosx-cross-x86_64 --prefix=gen/out/bin/Debug-MacOSX-x86_64 no-shared no-async -fembed-bitcode-marker enable-ec_nistp_64_gcc_128 <br>Undefined subroutine &main::asm called at (eval 15) line 46.<br>Configuring OpenSSL version 3.0.5 for target macosx-cross-x86_64<br>Using os-specific seed configuration<br>Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]<br><br>pick os/compiler from:<br>...<br>android-armeabi android-mips android-mips64 android-x86 android-x86_64 <br>android64 android64-aarch64 android64-mips64 android64-x86_64 bsdi-elf-gcc cc <br>darwin-i386 darwin-i386-cc darwin-ppc darwin-ppc-cc darwin64-arm64 <br>darwin64-arm64-cc darwin64-debug-test-64-clang darwin64-ppc darwin64-ppc-cc <br>darwin64-x86_64 darwin64-x86_64-cc gcc haiku-x86 haiku-x86_64 hpux-ia64-cc <br>...</font><br></blockquote><div><br></div><div>When I give the "os/compiler" details in the above command, I get the below error:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">./Configure macosx-cross-x86_64 --prefix=gen/out/bin/Debug-MacOSX-x86_64 no-shared no-async -fembed-bitcode-marker enable-ec_nistp_64_gcc_128 darwin64-x86_64-cc<br>Undefined subroutine &main::asm called at (eval 15) line 46.<br><br>Failure!  build file wasn't produced.<br>Please read INSTALL.md and associated NOTES-* files.  You may also have to<br>look over your available compiler tool chain or change your configuration.<br><br>target already defined - macosx-cross-x86_64 (offending arg: darwin64-x86_64-cc)</font><br></blockquote><div><br></div><div>Now, my question is I want to build the OpenSSL using the targets defined in my "20-ios-tvos-cross.conf" and without "OS/Compiler" flags? I have tried to find the solution over the internet but no luck.</div><div>Will really appreciate the help in this. Feel free to ask any questions you have.</div><div><br></div><div>Thanks,</div><div>Seraj</div></div>
</div></div>