← Back to team overview

registry team mailing list archive

[Bug 313642] Re: [needs packaging] miniupnpd

 

The above instructions differ from the ones here:
http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1441

cd iptables-1.4.3.2 
 ./configure  --enable-devel --disable-ipv6  --enable-libipq   --enable-static 
 make 
 cd ../miniupnpd 
 IPTABLESPATH=../iptables-1.4.3.2 make -f Makefile.linux 

The versioning is different: iptables-1.4.3.2 vs iptables-1.4.4. Make
sure and read the INSTALL file given for both source packages.

Currently this is erroring out for me on Debian Sid when using the latest release of both projects with this:
 gcc  -L/home/rianav/development/iptables-1.4.10/libiptc/  miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o upnpredirect.o getifaddr.o daemonize.o upnpglobalvars.o options.o upnppermissions.o minissdp.o natpmp.o upnpevents.o linux/getifstats.o netfilter/iptcrdr.o /home/rianav/development/iptables-1.4.10/libiptc/.libs/libiptc.a   -o miniupnpd
netfilter/iptcrdr.o: In function `list_redirect_rule':
iptcrdr.c:(.text+0x8f): undefined reference to `iptc_init'
iptcrdr.c:(.text+0xa3): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0xc3): undefined reference to `iptc_is_chain'
iptcrdr.c:(.text+0xe0): undefined reference to `iptc_free'
iptcrdr.c:(.text+0x103): undefined reference to `iptc_first_rule'
iptcrdr.c:(.text+0x11c): undefined reference to `iptc_get_target'
iptcrdr.c:(.text+0x346): undefined reference to `iptc_next_rule'
iptcrdr.c:(.text+0x35a): undefined reference to `iptc_free'
netfilter/iptcrdr.o: In function `iptc_init_verify_and_append':
iptcrdr.c:(.text+0x469): undefined reference to `iptc_init'
iptcrdr.c:(.text+0x47d): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0x4a1): undefined reference to `iptc_is_chain'
iptcrdr.c:(.text+0x4b1): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0x4d0): undefined reference to `iptc_free'
iptcrdr.c:(.text+0x4e3): undefined reference to `iptc_append_entry'
iptcrdr.c:(.text+0x4f3): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0x508): undefined reference to `iptc_commit'
iptcrdr.c:(.text+0x518): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0x52d): undefined reference to `iptc_free'
netfilter/iptcrdr.o: In function `delete_rule_and_commit':
iptcrdr.c:(.text+0x7d1): undefined reference to `iptc_delete_num_entry'
iptcrdr.c:(.text+0x7e1): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0x7f9): undefined reference to `iptc_commit'
iptcrdr.c:(.text+0x809): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0x831): undefined reference to `iptc_free'
netfilter/iptcrdr.o: In function `delete_redirect_and_filter_rules':
iptcrdr.c:(.text+0x857): undefined reference to `iptc_init'
iptcrdr.c:(.text+0x86e): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0x896): undefined reference to `iptc_is_chain'
iptcrdr.c:(.text+0x8c3): undefined reference to `iptc_first_rule'
iptcrdr.c:(.text+0x8e9): undefined reference to `iptc_next_rule'
iptcrdr.c:(.text+0x902): undefined reference to `iptc_free'
iptcrdr.c:(.text+0x928): undefined reference to `iptc_init'
iptcrdr.c:(.text+0x951): undefined reference to `iptc_init'
netfilter/iptcrdr.o: In function `get_redirect_rule_by_index':
iptcrdr.c:(.text+0x9ed): undefined reference to `iptc_init'
iptcrdr.c:(.text+0xa04): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0xa2c): undefined reference to `iptc_is_chain'
iptcrdr.c:(.text+0xa5a): undefined reference to `iptc_first_rule'
iptcrdr.c:(.text+0xb2f): undefined reference to `iptc_next_rule'
iptcrdr.c:(.text+0xb4a): undefined reference to `iptc_free'
netfilter/iptcrdr.o: In function `get_redirect_rule':
iptcrdr.c:(.text+0xb86): undefined reference to `iptc_init'
iptcrdr.c:(.text+0xb9e): undefined reference to `iptc_strerror'
iptcrdr.c:(.text+0xbc6): undefined reference to `iptc_is_chain'
iptcrdr.c:(.text+0xbf4): undefined reference to `iptc_first_rule'
iptcrdr.c:(.text+0xcaf): undefined reference to `iptc_next_rule'
iptcrdr.c:(.text+0xcc7): undefined reference to `iptc_free'
collect2: ld returned 1 exit status
make: *** [miniupnpd] Error 1
the-red-star% 

I am going to post on the miniupnp forum. I don't know how to do this
"Check if the symbol "iptc_init" is there in the libiptc.a/.so file"

-- 
[needs packaging] miniupnpd
https://bugs.launchpad.net/bugs/313642
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.