ranlib -c libwhatever.a
. PJSIP iOS. autoconf make, , iOS. runlib , _PJ_NO_MEMORY_EXCEPTION, _PJ_NO_MEMORY_EXCEPTION$non_lazy_ptr undefined.
Adding the ranlib line back to the library file resolved it. Now my full entry for LIBS in rules.mak
$(LIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP)
if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi
$(LIBTOOL) -o $(LIB) $(OBJS)
$(RANLIB) -c $(LIB)
We hope this helps others and also tries to use common UNIX-configured external libraries with iPhone or iOS.
source
share