Subject: Re: crunching ipf
To: NetBSD current-users <current-users@NetBSD.org>
From: Chris Tribo <email@example.com>
Date: 03/30/2006 14:54:25
On Mar 30, 2006, at 12:47 AM, Jed Davis wrote:
> Chris Tribo <firstname.lastname@example.org> writes:
>> Has anyone managed to successfully crunch ipfilter and tools? I'm
>> getting undefined references to "use_inet6" and opts in "libipf.a".
> I have, with NetBSD 2.0. My crunchgen config file has these lines in
> it; it's, uh, clearly not the most elegant approach, but it did work:
> srcdirs /usr/src/usr.sbin/ipf
> special ipf objpaths ipf/ipf.o ipf/ipfcomp.o ipf/ipf_y.o ipf/
> ipf_l.o /usr/obj/i386/usr/src/usr.sbin/ipf/libipf/libipf.a
> The absolute paths would probably need to be changed, and the
> hard-coded list of objects should also be checked before use. And, of
> course, multiple ipf tools would need multiple copies of the library;
> I was going for minimality, and so included only ipf(8).
Thanks! That did the trick!