$FreeWRT$ never forget the LDFLAGS when linking --- asterisk-1.2.15.orig/utils/Makefile 2007-01-24 18:43:50.000000000 +0100 +++ asterisk-1.2.15/utils/Makefile 2007-02-28 18:50:04.000000000 +0100 @@ -65,10 +65,10 @@ check_expr: check_expr.c ast_expr2.o ast $(CC) $(CFLAGS) -o $@ check_expr.c ast_expr2.o ast_expr2f.o smsq: smsq.o - $(CC) $(CFLAGS) -o smsq ${SOL} smsq.o -lpopt + $(CC) $(CFLAGS) ${LDFLAGS} -o smsq ${SOL} smsq.o -lpopt streamplayer: streamplayer.o - $(CC) $(CFLAGS) -o streamplayer ${SOL} streamplayer.o ${SOLLIBS} + $(CC) $(CFLAGS) ${LDFLAGS} -o streamplayer ${SOL} streamplayer.o ${SOLLIBS} ifneq ($(wildcard .depend),) include .depend