参考此
http://blog.chinaunix.net/uid-23842323-id-2656572.html
然后makefile中要加上:
define Package/apcp
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread
TARGET_LDFLAGS+=-lpthread
TITLE:=apcp daemon
endef
参考此
http://blog.chinaunix.net/uid-23842323-id-2656572.html
然后makefile中要加上:
define Package/apcp
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread
TARGET_LDFLAGS+=-lpthread
TITLE:=apcp daemon
endef