Linux Netfilter discussions
 help / color / mirror / Atom feed
* Help building shared version of libiptc library (libiptc.so)
@ 2004-07-19 20:14 Samuel Richard
  0 siblings, 0 replies; only message in thread
From: Samuel Richard @ 2004-07-19 20:14 UTC (permalink / raw)
  To: netfilter

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



 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-19 20:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-19 20:14 Help building shared version of libiptc library (libiptc.so) Samuel Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox