Compile Erlang 24.2 for iOS on mac system
Dominic Letz
dominic@REDACTED
Thu Dec 23 16:14:13 CET 2021
That has been fixed on master
https://github.com/diodechain/otp/commit/b5551600082fda193fe85f7feb5bd69bcc1f858c
But that change did not make it into the OTP-24 maintenance branch it
seems. So I guess you have to apply it yourself manually until there is a
point release with the fix.
Best
On Thu, 23 Dec 2021 at 11:08, Michael S <michael_489@REDACTED> wrote:
> Hello together,
>
> i want to compile Erlang OTP 24.2 on my Mac OS Monterey 12.0.1 - also
> Xcode and the command line tools are installed on my system.
>
> ./otp_build configure --xcomp-conf=./xcomp/erl-xcomp-arm64-ios.conf
> --with-ssl=/Users/michael/compile/ios/openssl --disable-dynamic-ssl-lib
>
> and then start the compile with
>
> ./otp_build boot
>
> But it runs into an error of net/if_arp.h no rule to make target - any
> hints on that?
>
> -----
>
>
> *
> * Cross compiling Erlang/OTP-24 for: aarch64-apple-ios
> *
>
> .....
>
> CC obj/aarch64-apple-ios/opt/emu/erl_bif_re.o
> CC obj/aarch64-apple-ios/opt/emu/erl_unicode.o
> CC obj/aarch64-apple-ios/opt/emu/packet_parser.o
> CC obj/aarch64-apple-ios/opt/emu/safe_hash.o
> CC obj/aarch64-apple-ios/opt/emu/erl_zlib.o
> CC obj/aarch64-apple-ios/opt/emu/erl_nif.o
> CC obj/aarch64-apple-ios/opt/emu/erl_bif_binary.o
> CC obj/aarch64-apple-ios/opt/emu/erl_ao_firstfit_alloc.o
> CC obj/aarch64-apple-ios/opt/emu/erl_thr_queue.o
> CC obj/aarch64-apple-ios/opt/emu/erl_sched_spec_pre_alloc.o
> CC obj/aarch64-apple-ios/opt/emu/erl_ptab.o
> CC obj/aarch64-apple-ios/opt/emu/erl_map.o
> CC obj/aarch64-apple-ios/opt/emu/erl_msacc.o
> CC obj/aarch64-apple-ios/opt/emu/erl_lock_flags.o
> CC obj/aarch64-apple-ios/opt/emu/erl_io_queue.o
> CC obj/aarch64-apple-ios/opt/emu/erl_db_catree.o
> CC obj/aarch64-apple-ios/opt/emu/socket_dbg.o
> CC obj/aarch64-apple-ios/opt/emu/socket_tarray.o
> make[4]: *** No rule to make target `net/if_arp.h', needed by
> `obj/aarch64-apple-ios/opt/emu/socket_util.o'. Stop.
> make[3]: *** [opt] Error 2
> make[2]: *** [opt] Error 2
> make[1]: *** [emu] Error 2
> make: *** [emulator] Error 2
>
>
>
> Best regards,
>
> Michael
>
>
--
// Dominic Letz | CTO
+49 163 9198 211 (.de)
dominic@REDACTED
DIODE
diode.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20211223/73be1ba4/attachment.htm>
More information about the erlang-questions
mailing list