[asterisk-users] app_swift 3 and asterisk 1.8.13.0 fails with undefined symbol: swift_port_close
Douglas Seifert
doug at dseifert.net
Fri Aug 3 20:58:44 CDT 2012
Solving my own issue: The order of linking was incorrect.
Change the Makefile as follows to solve this issue.
diff --git a/Makefile b/Makefile
index dec892d..90d79df 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ all: banner $(AST_INC_CHECK) $(AST_VER_CHECK)
@echo ""
$(NAME).so : $(NAME).o
- $(CC) $(SOLINK) -o $@ $(LDFLAGS) $<
+ $(CC) $(SOLINK) -o $@ $< $(LDFLAGS)
banner:
@echo ""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120803/b4edfbd3/attachment.htm>
More information about the asterisk-users
mailing list