Hello All:

I am primarily interesting in the ipsend utility in the ipfilter suite but
after unsuccessful attempts at compiling that on its own, have decided to give
the entire package a shot. Have run into a few road blocks and need a few
ideas.
Ok, this is my system:
Linux johnathlonlinux 2.6.16-ck3 #15 PREEMPT Tue Dec 19 00:21:52 SGT 2006 i686
Mobile AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux

I also have the open swan KLIPS patch installed on this kernel.

Have untared ipfilter here:
/home/jserink/ip_fil4.1.16
, from here I do this: make linux.
First error and what I thought was a solution:
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//ip_film.c:646: error:
`ip_finish_output' undeclared (first use in this function)
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//ip_film.c:646: error:
(Each undeclared identifier is reported only once
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//ip_film.c:646: error:
for each function it appears in.)
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//ip_film.c: In function
`fr_ifpaddr':
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//ip_film.c:679: warning:
implicit declaration of function `__in_dev_get'
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//ip_film.c:679: warning:
assignment makes pointer from integer without a cast
make[3]: ***
[/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//ip_film.o] Error 1
make[2]: *** [_module_/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686]
Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16-ck3'
make[1]: *** [ipflkm] Error 2
make[1]: Leaving directory `/home/jserink/ip_fil4.1.16/Linux'

Indicates no declaration for ip_finish_output.

Presently, I have the 2.6.17-r1 kernel headers installed.
from http://lxr.linux.no/ident?i=ip_finish_output it appears that
ip_finish_output appears only in line 204 of net/ipv4/ip_output.c whereas in
headers from 2.6.11 it appeared in line 143 of include/net/ip.h. The
declaration in question is this:
extern int ip_finish_output(struct sk_buff *skb);

Solution 1:
manually palce this declaration in my present ip.h file, a hack, but should
solve the problem.
Will make clean first.

Do make linux...
next error:
I know make it past that error and run into another:
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//fil.c:2946:29: warning:
"BSD" is not defined
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//fil.c: In function
`frsynclist':
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//fil.c:104: sorry,
unimplemented: inlining failed in call to 'fr_resolvelookup': function body not
available
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//fil.c:3567: sorry,
unimplemented: called from here
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//fil.c:104: sorry,
unimplemented: inlining failed in call to 'fr_resolvelookup': function body not
available
/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//fil.c:3574: sorry,
unimplemented: called from here
make[3]: *** [/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686//fil.o]
Error 1
make[2]: *** [_module_/home/jserink/ip_fil4.1.16/Linux/Linux-2.6.16-ck3-i686]
Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16-ck3'
make[1]: *** [ipflkm] Error 2
make[1]: Leaving directory `/home/jserink/ip_fil4.1.16/Linux

Again, checking http://lxr.linux.no/ident?i=fr_resolvelookup it seems that
fr_resolvelookup is simply not used in Linux so the make file has a bug as from
http://fxr.watson.org/fxr/search?string=fr_resolvelookup this functino is from
FreeBSD.

So, this is where I am at. has anyone made it to this point and figured a way
beyoond?

Cheers,
John


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to