Date: Thu, 19 Feb 2015 15:09:26 +0800 From: Ccs189 <ccs189@gmail.com> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: r278857: buildkernel failure: pf_norm.c:1098:1: error: no previous prototype for function 'pf_refragment6' Message-ID: <EB23B155-970B-449C-AEE4-61F9A51F1E08@gmail.com> In-Reply-To: <20150216185422.5bb1feff.ohartman@zedat.fu-berlin.de> References: <20150216185422.5bb1feff.ohartman@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,=20 I encountered this issue before. What I did is resync with the source tree a= gain. N recompile world. It solved the issue. Maybe you can try that also ?=20= Sent from my iPhone > On 17 Feb 2015, at 1:54 am, O. Hartmann <ohartman@zedat.fu-berlin.de> wrot= e: >=20 >=20 > awk -f /usr/src/sys/conf/kmod_syms.awk ng_ksocket.ko export_syms | xargs -= J% objcopy % > ng_ksocket.ko objcopy --strip-debug ng_ksocket.ko > =3D=3D=3D> netgraph/l2tp (all) > --- ng_l2tp.o --- > cc -O2 -pipe -O3 -O3 -pipe -march=3Dnative -fno-strict-aliasing -Werror -= D_KERNEL > -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS > -include /usr/obj/usr/src/sys/THOR/opt_global.h -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/THOR -mcmodel=3Dkerne= l -mno-red-zone > -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestan= ding -fwrapv > -fstack-protector -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-poi= nter-sign -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototyp= es > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-e= xtensions > -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas > -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthe= ses-equality > -Wno-error-unused-function -Wno-error-pointer-sign -mno-aes -mno-avx -s= td=3Diso9899:1999 > -c /usr/src/sys/modules/netgraph/l2tp/../../../netgraph/ng_l2tp.c --- all_= subdir_pf > --- /usr/src/sys/modules/pf/../../netpfil/pf/pf_norm.c:1098:1: error: no p= revious > prototype for function 'pf_refragment6' [-Werror,-Wmissing-prototypes] > pf_refragment6(struct ifnet *ifp, struct mbuf **m0, struct m_tag *mtag) ^ 1= error > generated. *** [pf_norm.o] Error code 1 >=20 > make[4]: stopped in /usr/src/sys/modules/pf > 1 error >=20 > make[4]: stopped in /usr/src/sys/modules/pf > *** [all_subdir_pf] Error code 2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB23B155-970B-449C-AEE4-61F9A51F1E08>