Re: [PATCH] iptables: Link libext_arpt to static build

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

 



On 11/25/2015 08:45 PM, Pablo Neira Ayuso wrote:
> On Mon, Nov 23, 2015 at 11:18:47AM +0100, Daniel Wagner wrote:
>> The libext_arpt is not included when linking the static version of
>> iptables.
>>
>> Signed-off-by: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>
>> ---
>> Hi,
>>
>> I had some troubles getting a static version of iptables. Not sure
>> if I fixed it correctly. Anyway I am able to proceed with testing.
> 
> Could you tell me what options you're using to compile iptables so I
> can try to reproduce it?

Yes, sure. I am using this simple toy script to build:

declare -a arr=("libmnl" "libnl" "libnftnl" "libnfnetlink"
"libnetfilter" "libnetfilter_acct" "libnetfilter_conntrack"
"libnetfilter_cthelper" "libnetfilter_cttimeout" "libnetfilter_queue"
"iptables")

NFPATH=/home/wagi/connman/netfilter
export PKG_CONFIG_PATH=$NFPATH/lib/pkgconfig
export LD_LIBRARY_PATH=$NFPATH/lib

## now loop through the above array
for i in "${arr[@]}"
do
    echo "$i"
    (
	cd $i
	./configure --prefix=$NFPATH --enable-static
	make -j20
	make install
    )
done
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux