All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem building libnetfilter_conntrack
@ 2005-10-20 17:00 Chase Venters
  2005-10-20 19:08 ` Pablo Neira
  0 siblings, 1 reply; 3+ messages in thread
From: Chase Venters @ 2005-10-20 17:00 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem building libnetfilter_conntrack
  2005-10-20 17:00 Problem building libnetfilter_conntrack Chase Venters
@ 2005-10-20 19:08 ` Pablo Neira
  2005-10-20 19:23   ` Chase Venters
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira @ 2005-10-20 19:08 UTC (permalink / raw)
  To: Chase Venters; +Cc: netfilter-devel

Chase Venters wrote:
>     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:


I forgot to commit some changes to SVN. Please, update your working copy 
and try again.

--
Pablo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem building libnetfilter_conntrack
  2005-10-20 19:08 ` Pablo Neira
@ 2005-10-20 19:23   ` Chase Venters
  0 siblings, 0 replies; 3+ messages in thread
From: Chase Venters @ 2005-10-20 19:23 UTC (permalink / raw)
  To: Pablo Neira; +Cc: netfilter-devel

On Thu, 2005-10-20 at 21:08 +0200, Pablo Neira wrote:
> Chase Venters wrote:
> >     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:
> 
> 
> I forgot to commit some changes to SVN. Please, update your working copy 
> and try again.
> 
> --
> Pablo

Problem solved.

Thanks a lot!

- Chase

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-20 19:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 17:00 Problem building libnetfilter_conntrack Chase Venters
2005-10-20 19:08 ` Pablo Neira
2005-10-20 19:23   ` Chase Venters

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.