#31585: erlang @R14B04_1 +ssl fails to upgrade with _bp_sched2ix undefined -------------------------------+-------------------------------------------- Reporter: ralph@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: erlang -------------------------------+-------------------------------------------- Comment(by mviamari@…): I've got the same issue. I found this on the github README for erlang- embedded. Hope it helps. https://github.com/esl/erlang-embedded/blob/master/README_IOS.md ---- bp_sched2ix function not defined '''Problem''' A function was introduced in commit ff9531eb5e6aaa5a4802db0db5e0e850f4233702 (https://github.com/erlang/otp/commit/ff9531eb5e6aaa5a4802db0db5e0e850f423370...). This function creates problems only so far when linking for an arm-apple- darwin platform. Issues while compiling: * erl_init.o * erl_bif_trace.o * erl_trace.o * bif.o * erl_process.o * erl_nif.o * beam_emu.o * beam_bif_load.o * beam_debug.o beam/beam_bp.h:147: warning: inline function ‘bp_sched2ix’ declared but never defined '''This leads to:''' Undefined symbols: "_bp_sched2ix", referenced from: _load_nif_2 in erl_nif.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [/Users/uwe/dev/erlang-embedded/otp_src_R14B01/bin/arm-apple- darwin10/beam] Error 1 make[2]: *** [opt] Error 2 make[1]: *** [opt] Error 2 make: *** [emulator] Error 2 '''Solution''' Remove the -std=c99 flag from the CFLAG flag. -- Ticket URL: <https://trac.macports.org/ticket/31585#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS