Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Samuel Richard <Samuel.Richard@USherbrooke.ca>
To: netfilter@lists.netfilter.org
Subject: Help building shared version of libiptc library (libiptc.so)
Date: Mon, 19 Jul 2004 16:14:07 -0400	[thread overview]
Message-ID: <1090268046.3172.9.camel@localhost.localdomain> (raw)

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



 



                 reply	other threads:[~2004-07-19 20:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1090268046.3172.9.camel@localhost.localdomain \
    --to=samuel.richard@usherbrooke.ca \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox