[PATCH] Build error is coming -lrt option need to require to build Signed-off-by: Amit Khatri <amit.khatri at samsung.com>

Amit Khatri amit.khatriatsamsung.com
Tue Apr 1 23:49:35 PDT 2014


---
 radius_example/Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Build-error-is-coming.patch
Type: application/octet-stream
Size: 1026 bytes
Desc: not available
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140404/0f232305/attachment.obj>



More information about the Hostap mailing list