Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 18:45:52 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        current@freebsd.org
Subject:   addition of pflog_if_print to the tcpdump code can break buildworld
Message-ID:  <20230612204552.67b1446e@ernst.home>

next in thread | raw e-mail | index | archive | help
The addition of pflog_if_print to the tcpdump code breaks buildworld if
WITHOUT_PF=3D is set in /etc/src.conf.

I do not use PF and have WITHOUT_PF=3D set in /etc/src.conf.

If I comment out WITHOUT_PF=3D buildworld succeeds.  But I have no use for
PF and don't want to build it.

Here's the error code emitted when WITHOUT_PF=3D is defined:

ld: error: undefined symbol: pflog_if_print
>>> referenced by print.c
>>>               print.o:(printers)
>>> did you mean: nflog_if_print
>>> defined in: print-nflog.o
cc: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
*** [tcpdump] Error code 1

If all else fails the WITHOUT_PF option should be removed, if a fix in
tcpdump isn't possible.

=2D-
Gary Jennejohn



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