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