Closed GoogleCodeExporter closed 9 years ago
It requires additional libraries, libnfnetlink for example, to enable IPv6.
Original comment by lly.dev
on 28 Oct 2014 at 11:11
libnfnetlink is needed for ENABLE_NFQUEUE, not for ENABLE_IPV6. I don't notice
other additional libs for ENABLE_IPV6, but I may miss something.
Original comment by ache...@gmail.com
on 28 Oct 2014 at 10:05
Just try to do it yourself - uncomment ENABLE_IPV6 and get:
linux/getroute.c:22:39: fatal error: libnfnetlink/libnfnetlink.h: No such file
or directory
Original comment by lly.dev
on 1 Nov 2014 at 2:53
I can't :) I don't have Linux and bsd/getroute.c don't have such headers, it
builds normally on BSD with ENABLE_IPV6 and without external libs.
BTW, I see linux/getroute.o is included in Makefile.linux without any
conditions and
#include <libnfnetlink/libnfnetlink.h>
is present in linux/getroute.c without any conditions too, so I don't
understand how you ever compile it successfully even without ENABLE_IPV6.
(this is for miniupnpd-1.8.20140523 sources).
Original comment by ache...@gmail.com
on 1 Nov 2014 at 3:08
I see you specially filter out whole linux/getroute.c locally using this patch
+#include "../config.h"
+#if defined(UPNP_STRICT) || defined(ENABLE_IPV6)
+
...
+#endif /* UPNP_STRICT || ENABLE_IPV6 */
What about just removing ENABLE_IPV6 there? It is your addition, not in
original sources.
Original comment by ache...@gmail.com
on 2 Nov 2014 at 5:52
Well, just do it yourself.
Original comment by lly.dev
on 2 Nov 2014 at 2:43
Original issue reported on code.google.com by
ache...@gmail.com
on 25 Oct 2014 at 1:49