fixed the error of the  process_command_topo_prefix() the arguments of memset were not right, so there was a garbage in front of the topo prefix. it is fixed! now I can see changes using ccnsyncwatch locally. going to try remotely.
diff --git a/nlsr-sync-0.0/Makefile b/nlsr-sync-0.0/Makefile
index 30e4fad..ae2b195 100755
--- a/nlsr-sync-0.0/Makefile
+++ b/nlsr-sync-0.0/Makefile
@@ -1,5 +1,5 @@
-CC = cc
-CFLAGS = -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes
+CC = gcc
+CFLAGS = -g -Wall 
 LIBS = -lccn -lccnsync -lcrypto 
 
 PROGRAMS = nlsrc nlsr
@@ -11,10 +11,10 @@
 all: $(PROGRAMS)
 
 nlsr: $(NLSR_SRCS)
-	$(CC) $(CFLAGS) $(NLSR_SRCS) -o nlsr $(LIBS) -lm
+	$(CC) $(CFLAGS) $(NLSR_SRCS) $(LIBS) -lm -o nlsr
 
 nlsrc: $(NLSRC_SRCS)
-	$(CC) $(CFLAGS) $(NLSRC_SRCS) -o nlsrc $(LIBS) -lm
+	$(CC) $(CFLAGS) $(NLSRC_SRCS) $(LIBS) -lm -o nlsrc
 
 install: $(PROGRAMS)
 	cp $(PROGRAMS) $(INSTALL_PATH)