T
tufani
Guest
Hi All,
I want to compile OpenWRT and I have taken iptables-1.3.8 as one of the packages .
Now in the makefile of iptables-1.3.8 I have uncommented options ,
# uncomment this to get a fully statically linked version
NO_SHARED_LIBS = 1
# uncomment this to disable IPv6 support
DO_IPV6 = 0
but with this change if I want to compile OpenWRT I am getting errors as :
mipsel-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fpic -Wall -Wunused -I/home/netgear_work/openwrt-wgr614l/trunk/build_dir/linux-brcm-2.4/linux-2.4.35.4/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -DNO_SHARED_LIBS=1 -DIPT_LIB_DIR=\"/usr/lib/iptables\" -rdynamic -static-libgcc -o iptables iptables-standalone.c iptables.o extensions/libext.a libiptc/libiptc.a
iptables.o: In function `find_match':
iptables.csad.text+0x804): undefined reference to `dlopen'
iptables.csad.text+0x858): undefined reference to `dlerror'
iptables.o: In function `find_target':
iptables.csad.text+0x19b8): undefined reference to `dlopen'
iptables.csad.text+0x1a08): undefined reference to `dlerror'
extensions/libext.a(initext.o): In function `init_extensions':
initext.csad.text+0x358): undefined reference to `ipt_IMQ_init'
collect2: ld returned 1 exit status
make[4]: *** [iptables] Error 1
Could anybody plz tell me how to overcome this ...
I want to compile OpenWRT and I have taken iptables-1.3.8 as one of the packages .
Now in the makefile of iptables-1.3.8 I have uncommented options ,
# uncomment this to get a fully statically linked version
NO_SHARED_LIBS = 1
# uncomment this to disable IPv6 support
DO_IPV6 = 0
but with this change if I want to compile OpenWRT I am getting errors as :
mipsel-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fpic -Wall -Wunused -I/home/netgear_work/openwrt-wgr614l/trunk/build_dir/linux-brcm-2.4/linux-2.4.35.4/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -DNO_SHARED_LIBS=1 -DIPT_LIB_DIR=\"/usr/lib/iptables\" -rdynamic -static-libgcc -o iptables iptables-standalone.c iptables.o extensions/libext.a libiptc/libiptc.a
iptables.o: In function `find_match':
iptables.csad.text+0x804): undefined reference to `dlopen'
iptables.csad.text+0x858): undefined reference to `dlerror'
iptables.o: In function `find_target':
iptables.csad.text+0x19b8): undefined reference to `dlopen'
iptables.csad.text+0x1a08): undefined reference to `dlerror'
extensions/libext.a(initext.o): In function `init_extensions':
initext.csad.text+0x358): undefined reference to `ipt_IMQ_init'
collect2: ld returned 1 exit status
make[4]: *** [iptables] Error 1
Could anybody plz tell me how to overcome this ...