warning: nested extern declaration of 'lwkt_replymsg'

Stephane Russell srussell at prodigeinfo.com
Sat Nov 20 11:42:02 PST 2010


Hi,

Im upgrading DFBSD from 2.4 to 2.8. I compiled with success the GENERIC
kernel. But when I take this configuration and add the firewall and
IPDIVERT changes, I'm getting this:

/usr/src/sys/netinet/ip_divert.c: In function 'div_attach':
/usr/src/sys/netinet/ip_divert.c:437: warning: implicit declaration of
function 'lwkt_replymsg'
/usr/src/sys/netinet/ip_divert.c:437: warning: nested extern declaration
of 'lwkt_replymsg'
*** Error code 1

Here is my changes to the GENERIC kernel (<=my kernel):

< #cpu          I486_CPU
< #cpu          I586_CPU
---
> cpu           I486_CPU
> cpu           I586_CPU

< #makeoptions  DEBUG=-g                #Build kernel with gdb(1) debug
symbols
---
> makeoptions   DEBUG=-g                #Build kernel with gdb(1) debug
symbols

< options               COMPAT_LINUX

< #device               uhid            # "Human Interface Devices"
---
> device                uhid            # "Human Interface Devices"

< options       IPFIREWALL              #firewall
< options       IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
< options       IPFIREWALL_FORWARD      #enable transparent proxy support
< options       IPV6FIREWALL            #firewall for IPv6
< options       IPV6FIREWALL_VERBOSE
< options       IPDIVERT                #divert sockets
< device          pf
< device          pfsync
< device          pflog

I've searched and found no issue on this. Anybody can help?

Thanks

SR





More information about the Bugs mailing list