Re: How to install xtables extension to arbitrary path when cross compiling iptables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2012-04-16 17:19, Kevin Wilson wrote:
>
>on the target machine (which access the fs by NFS) I run: 
>
>iptables -t nat -A POSTROUTING -o ppp0 -j SNAT -s 10.1.1.25
>The error I get is:
>
>./iptables -A FORWARD -i eth1 -j SNAT
>iptables v1.4.8: Couldn't load target `SNAT'
>:/home/kevin/fs/test1_iptables/libexec/xtables/libipt_SNAT.so: cannot open
>shared object file: No such file or directory
>how to install xtables extension to arbitrary path when cross compiling?

Like any other automake project, DESTDIR specifies the basepath
for staged installs, and args to configure are what the target looks in.

	./configure --prefix=/test1_iptables
	make install DESTDIR=/home/kevin/fs
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux