trouble building FreeBSD 8.1 amd64 kernel with pfsync support

Cameron Simpson cs at
Wed Aug 11 09:59:35 UTC 2010

On 11Aug2010 19:30, I wrote:
| On 11Aug2010 01:36, Rob Farmer <rfarmer at> wrote:
| | On Wed, Aug 11, 2010 at 12:20 AM, Cameron Simpson <cs at> 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.

Cameron Simpson <cs at> DoD#743

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

More information about the freebsd-questions mailing list