Message ID | 81.FF.14383.D894E335@epcpsbgx3.samsung.com |
---|---|
State | Accepted |
Headers | show |
On Fri, Apr 04, 2014 at 05:56:29AM +0000, Amit Khatri wrote: > Please find the below patch. > radius_example will throw error for old cc version. > cc --version > cc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Thanks, applied.
diff --git a/radius_example/Makefile b/radius_example/Makefile index 92e992c..883e2f2 100644 --- a/radius_example/Makefile +++ b/radius_example/Makefile @@ -21,6 +21,7 @@ CFLAGS += -I../src/utils LIBS = ../src/radius/libradius.a LIBS += ../src/crypto/libcrypto.a LIBS += ../src/utils/libutils.a +LLIBS = -lrt ../src/utils/libutils.a: $(MAKE) -C ../src/utils @@ -36,7 +37,7 @@ LIBS += ../src/utils/libutils.a OBJS_ex = radius_example.o radius_example: $(OBJS_ex) $(LIBS) - $(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) + $(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) $(LLIBS) clean: $(MAKE) -C ../src clean