Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2010 19:59:33 +1000
From:      Cameron Simpson <cs@zip.com.au>
To:        Rob Farmer <rfarmer@predatorlabs.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: trouble building FreeBSD 8.1 amd64 kernel with pfsync support
Message-ID:  <20100811095933.GA23627@cskk.homeip.net>
In-Reply-To: <20100811093019.GA18702@cskk.homeip.net>
References:  <20100811093019.GA18702@cskk.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11Aug2010 19:30, I wrote:
| On 11Aug2010 01:36, Rob Farmer <rfarmer@predatorlabs.net> wrote:
| | On Wed, Aug 11, 2010 at 12:20 AM, Cameron Simpson <cs@zip.com.au> wrote:
| | > I'm trying to build a kernel for a pair of firewalls which will be using
| | > CARP and pfsync for redundancy. Since I'm new to FreeBSD the config is
| | > based on the GENERIC config, thus:
| | >  include GENERIC
| | >  ident NEW_FIREWALL
| | >  device carp
| | >  ##device pfsync
[...]
| | > If I uncomment the "devic pfsync" the build aborts at link time ending thus:
| | 
| | Do you also have a "device pf" line? I think that is a prereq for
| | pfsync. You may also need "device pflog" - I'm not sure because I've
| | always just added them all.
| 
| Hmm. [greps GENERIC...] No, I don't. I figured that since pfctl was
| working I was ok there, but I think it loads the module dynamicly. I can see
| that if pfsync needs a static build it may rely on pf and pflog being static
| also. I'll try that now and report.

Victory! Thanks!

I'm a little surprised that the error I got:

  in_proto.o(.data+0x698): undefined reference to `pfsync_input'               

seemed to be a complaint about pfsync rather than missing pf stuff.

Cheers,
-- 
Cameron Simpson <cs@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Tis better to have test ridden and lost, than to never have test ridden at all.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100811095933.GA23627>