amd64 source update via freebsd-update breaks kernel build

Michael Sierchio kudzu at tenebras.com
Wed Mar 7 16:25:18 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226423

Updated sources via freebsd-update subsequent to

FreeBSD-SA-18:01.ipsec

Cause kernel compile to fail.


/usr/src/sys/netipsec/xform_ah.c:622:43: error: use of undeclared
identifier 'buf'
                    ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)),
                                                        ^
/usr/src/sys/netipsec/ipsec.h:323:51: note: expanded from macro 'DPRINTF'
#define DPRINTF(x)      do { if (V_ipsec_debug) printf x; } while (0)
                                                       ^
/usr/src/sys/netipsec/xform_ah.c:625:3: error: use of undeclared
identifier 'error'
                error = EACCES;
                ^
/usr/src/sys/netipsec/xform_ah.c:626:8: error: use of undeclared label 'bad'
                goto bad;
                     ^




-- 
"Well," Brahma said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mahābhārata


More information about the freebsd-questions mailing list