From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Richard Subject: Help building shared version of libiptc library (libiptc.so) Date: Mon, 19 Jul 2004 16:14:07 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1090268046.3172.9.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Hi, I am trying to use jnetfilter, which requires that I generate a shared version of libiptc. Here's what they say: "In order to get the jnetfilter package to work, you also have to download the source code of iptables (from www.netfilter.org or www.iptables.org), and modify the Makefile slightly to generate a shared version of the libiptc.a library (libiptc.so)." They also privide us with a modified version of the makefile which looks like that: TOPLEVEL_INCLUDED=YES NETFILTER_VERSION=1.2.1a CFLAGS=-Wl,-export-dynamic -fPIC -shared -DNETFILTER_VERSION=\"1.2.1a\" libiptc/libiptc.so : Makefile.libiptc libiptc/libiptc.c gcc $(CFLAGS) libiptc/libip4tc.c -o libiptc/libiptc.so I tried to modify my makefile without any success... Does anyone know how to do this? Thanks, Sam