Hi,

Is this the current error you're up against?

...
> gmake[2]: Leaving directory `/tmp/geom/flow-tools-0.68/lib'
> gmake[1]: Leaving directory `/tmp/geom/flow-tools-0.68/lib'
> Making all in src
> gmake[1]: Entering directory `/tmp/geom/flow-tools-0.68/src'
> source='flow-capture.c' object='flow-capture.o' libtool=no \
> depfile='.deps/flow-capture.Po' tmpdepfile='.deps/flow-capture.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> gcc -I./../lib -L./../lib  -I. -I. -I../lib    -g -Wall -g -Wall -c `test -f 
> 'flow-capture.c' || echo './'`flow-capture.c
> flow-capture.c: In function 'main':
> flow-capture.c:131: error: storage size of 'mr' isn't known
> flow-capture.c:1238: warning: missing sentinel in function call
> flow-capture.c:131: warning: unused variable 'mr'
> gmake[1]: *** [flow-capture.o] Error 1
> gmake[1]: Leaving directory `/tmp/geom/flow-tools-0.68/src'
> gmake: *** [all-recursive] Error 1
>  
> Help!!! :-)

This isn't scientific advice based on knowledge of flow-tools, rather this
is advice from having tried to compile on odd-ball platforms (such as HP-UX
:) ) in the past and being willing to do anything no matter how disgusting
it is.

Can you somehow add to your build environment a flag that *UNDEFINES*
IP_ADD_MEMBERSHIP ?  This is the code-snippit where your compile failed:

#ifdef IP_ADD_MEMBERSHIP
  struct ip_mreq mr;
#ifdef IP_ADD_SOURCE_MEMBERSHIP
  struct ip_mreq_source mrs;
#endif
#endif

I don't know what any of that means, but your build environment somehow
thinks IP_ADD_MEMBERSHIP should be defined, but once the compiler sees the
"ip_mreq" stuff it freaks out; so let's tell your compiler that
IP_ADD_MEMBERSHIP is *NOT* defined and see if it gets further.  You may
also need to undefine IP_ADD_SOURCE_MEMBERSHIP.

Just a guess; I have no idea whether the resulting binary will work :)

Mike
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to