Re: app_swift 3 and asterisk 1.8.13.0 fails with undefined symbol: swift_port_close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ""

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Index of Archives]     [Asterisk Announcements]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]