All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chase Venters <cventers@tekvizion.com>
To: netfilter-devel@lists.netfilter.org
Subject: Problem building libnetfilter_conntrack
Date: Thu, 20 Oct 2005 12:00:51 -0500	[thread overview]
Message-ID: <1129827673.29769.19.camel@localhost> (raw)

Hello,
    I'm trying to do some experimentation with libnetfilter_conntrack. I
noticed 
that r4363 does not build, from what I can tell, for a few reasons:

1. libnetfilter_conntrack is the new name, but the process of renaming
the header file does not seem to be complete
(include/libnetfilter_conntrack contains libnfnetlink_conntrack.h but
Makefile.in says:

> pkginclude_HEADERS = libnetfilter_conntrack.h

and libnetfilter_conntrack.c says:

> #include <libnetfilter_conntrack/libnetfilter_conntrack.h>

Perhaps libnetfilter_conntrack.h was not checked in?

2. Even when fixing the above, I seem to run into build issues:

>  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=
\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"libnetfilter_conntrack\" -DVERSION=\"0.0.20\"
-DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBNFNETLINK=1 -I. -I.
-I../include 
-I/lib/modules/2.6.14-rc5/build/include -fPIC -Wall -g -O2 > 
-DLIBNETFILTER_CONNTRACK_DIR=\"/usr/local/lib/\" -c
libnetfilter_conntrack.c 
-MT libnetfilter_conntrack.lo -MD -MP
-MF .deps/libnetfilter_conntrack.TPlo  
-fPIC -DPIC -o .libs/libnetfilter_conntrack.o
> libnetfilter_conntrack.c: In function `callback_handler':
> libnetfilter_conntrack.c:44: error: dereferencing pointer to
incomplete type
> libnetfilter_conntrack.c:56: error: dereferencing pointer to
incomplete type
> libnetfilter_conntrack.c:59: error: dereferencing pointer to
incomplete type
> 
> ...

I've tried other revisions, and I seem to always run into problems with
struct nfct_msg_handler. I'm going to try poking around a bit more
myself to see if I can find anything obviously wrong, but I suspect that
Subversion may be missing an updated libnetfilter_conntrack.h (from what
I can tell, 
libnfnetlink_conntrack.h hasn't changed since at least before r4295).

Any advice? Please CC me as I'm not yet a member of netfilter-devel.

Thanks,
Chase

Chase Venters
Development Engineer
w: 214-242-5922
c: 972-679-0094
f: 214-242-5999
cventers@tekvizion.com
www.tekVizion.com

             reply	other threads:[~2005-10-20 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 17:00 Chase Venters [this message]
2005-10-20 19:08 ` Problem building libnetfilter_conntrack Pablo Neira
2005-10-20 19:23   ` Chase Venters

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=1129827673.29769.19.camel@localhost \
    --to=cventers@tekvizion.com \
    --cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.