Opened 4 years ago

Closed 2 years ago

#16953 closed defect (moved_to_github)

Miniupnpd does not build if IPv6 is disabled

Reported by: duvi Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:


I have:

# CONFIG_IPV6 is not set
# CONFIG_PACKAGE_kmod-ipv6 is not set
# CONFIG_PACKAGE_kmod-ip6tables is not set
# CONFIG_PACKAGE_libip6tc is not set

and get

Package miniupnpd is missing dependencies for the following libraries:

Even if I set


I still get the same error message.

I tested on ar71xx and atheros also, with latest trunk.

Attachments (0)

Change History (7)

comment:1 Changed 4 years ago by Damian Kaczkowski <damian.kaczkowski+openwrt@…>


comment:2 Changed 3 years ago by anonymous


comment:3 Changed 3 years ago by anonymous


comment:4 Changed 3 years ago by anonymous

Patched Makefile.linux and it works. Seems like its a pkg-config failure. It links miniupnpd against libip6tc.

diff -rupN miniupnpd-1.8.20141022.a/Makefile.linux miniupnpd-1.8.20141022/Makefile.linux
--- miniupnpd-1.8.20141022.a/Makefile.linux 2014-10-21 12:15:13.000000000 -0200
+++ miniupnpd-1.8.20141022/Makefile.linux 2014-10-23 11:23:13.548797865 -0200
@@ -70,7 +70,8 @@ CPPFLAGS += -DIPTABLES_143


CFLAGS += $(shell $(PKG_CONFIG) --cflags libiptc)

-LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libiptc)
+#LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libiptc)
+LDLIBS += -lip4tc

LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L libiptc)
LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)

comment:5 Changed 3 years ago by CrazyCat

The same problem with BB

comment:6 Changed 2 years ago by anonymous


Makefile.linux patch doesn't work for Barrier Breaker. My build host is Debian 6 on armv5tel, build target is ar71xx. Could anyone share a fix, please?

comment:7 Changed 2 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

miniupnpd is maintained here: ​

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.