Include Makefile patch this time... got left out the previous time.
Index: feeds/packages/net/l2tpv3tun/patches/100-nl_handle_alloc.patch =================================================================== --- feeds/packages/net/l2tpv3tun/patches/100-nl_handle_alloc.patch (revision 0) +++ feeds/packages/net/l2tpv3tun/patches/100-nl_handle_alloc.patch (revision 0) @@ -0,0 +1,14 @@ +--- l2tpv3tun-0.2/main.c.orig 2011-01-23 19:33:36.000000000 -0700 ++++ l2tpv3tun-0.2/main.c 2011-01-23 19:37:29.000000000 -0700 +@@ -788,9 +788,9 @@ + + int do_ipl2tp(int argc, char **argv) + { +- nl_sock = nl_handle_alloc(); ++ nl_sock = nl_socket_alloc(); + if (!nl_sock) { +- perror("nl_handle_alloc"); ++ perror("nl_socket_alloc"); + return 1; + } + Index: feeds/packages/net/l2tpv3tun/Makefile =================================================================== --- feeds/packages/net/l2tpv3tun/Makefile (revision 25033) +++ feeds/packages/net/l2tpv3tun/Makefile (working copy) @@ -38,7 +38,7 @@ CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(LINUX_DIR)/include" \ LD="$(TARGET_CC)" \ - LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib -lnl" + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib -lnl -lnl-genl" define Package/l2tpv3tun/install $(INSTALL_DIR) $(1)/usr/bin
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel