Help building shared version of libiptc library (libiptc.so)

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

 



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



 



[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