Hello. I'm trying to use this patch to compile ng_pf: http://lists.freebsd.org/pipermail/freebsd-bugs/2007-December/027288.html
During compiling process, I have this error: cc1: warnings being treated as errors /usr/src/sys/modules/netgraph/pf/../../../netgraph/ng_pf.c: In function 'ng_pf_rcvdata': /usr/src/sys/modules/netgraph/pf/../../../netgraph/ng_pf.c:616: warning: implicit declaration of function 'pf_purge_expired_state' /usr/src/sys/modules/netgraph/pf/../../../netgraph/ng_pf.c:616: warning: nested extern declaration of 'pf_purge_expired_state' When I ignoring this by adding WERROR= to sys/modules/netgraph/pf/Makefile , kernel is successfully built. But when I try to load module, I have: kldload: can't load ng_pf: No such file or directory And a message to syslog: link_elf: symbol pf_purge_expired_state undefined File ng_pf.ko exists: # file /boot/kernel/ng_pf.ko /boot/kernel/ng_pf.ko: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped P.S. Sorry for my English Shaymardanov Rushan _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"