Re: r278857: buildkernel failure: pf_norm.c:1098:1: error: no previous prototype for function 'pf_refragment6'

From: Ccs189 <ccs189_at_gmail.com>
Date: Thu, 19 Feb 2015 15:09:26 +0800
Hi, 
I encountered this issue before. What I did is resync with the source tree again. N recompile world. It solved the issue. Maybe you can try that also ? 

Sent from my iPhone

> On 17 Feb 2015, at 1:54 am, O. Hartmann <ohartman_at_zedat.fu-berlin.de> wrote:
> 
> 
> 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
> ===> netgraph/l2tp (all)
> --- ng_l2tp.o ---
> cc  -O2 -pipe -O3 -O3 -pipe -march=native  -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=kernel -mno-red-zone
> -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
> -fstack-protector -Wno-error-tautological-compare -Wno-error-empty-body
> -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas
> -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality
> -Wno-error-unused-function  -Wno-error-pointer-sign  -mno-aes -mno-avx  -std=iso9899: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 previous
> 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
> 
> make[4]: stopped in /usr/src/sys/modules/pf
> 1 error
> 
> make[4]: stopped in /usr/src/sys/modules/pf
> *** [all_subdir_pf] Error code 2
Received on Thu Feb 19 2015 - 06:15:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC