new kernel build error after re cvsup

Gleb Smirnoff glebius at cell.sick.ru
Fri Jun 25 17:14:17 PDT 2004


  Grover,

and again pointy hat is mine. :( 
Patch had already been sent to Julian, here it is:

--- ng_base.c   25 Jun 2004 21:11:14 -0000      1.77
+++ ng_base.c   25 Jun 2004 23:34:44 -0000
@@ -2143,7 +2143,7 @@
                /* Protect nodes from sending NULL pointers
                 * to each other
                 */
-               if (m == NULL)
+               if (NGI_M(item) == NULL)
                        return (EINVAL);
 
                CHECK_DATA_MBUF(NGI_M(item));

P.S. I must sleep before sending patches.

On Fri, Jun 25, 2004 at 05:08:39PM -0700, Grover Lines wrote:
G> With the new commit I'm getting this error now.
G> 
G> From about 5:00pm PST.
G> 
G> Thanks.. just lettin you guys 
G> <I>
G> 
G> ===> netgraph/netgraph
G> cc -O2 -pipe -march=pentium4 -Wall  -D_KERNEL -DKLD_MODULE -nostdinc -I- 
G>   -incl
G> ude /usr/obj/usr/src/sys/PSYCHO/opt_global.h -I. -I@ -I@/contrib/altq 
G> -I@/../inc
G> lude -finline-limit=8000 -fno-common  -I/usr/obj/usr/src/sys/PSYCHO 
G> -mno-align-l
G> ong-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall 
G> -Wredundant-decls
G> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
G> -Wpointer-arith -Winl
G> ine -Wcast-qual  -fformat-extensions -std=c99 -c 
G> /usr/src/sys/netgraph/ng_base.c
G> 
G> /usr/src/sys/netgraph/ng_base.c: In function `ng_snd_item':
G> /usr/src/sys/netgraph/ng_base.c:2146: error: `m' undeclared (first use 
G> in this f
G> unction)
G> /usr/src/sys/netgraph/ng_base.c:2146: error: (Each undeclared identifier 
G> is repo
G> rted only once
G> /usr/src/sys/netgraph/ng_base.c:2146: error: for each function it 
G> appears in.)
G> *** Error code 1
G> 
G> Stop in /usr/src/sys/modules/netgraph/netgraph.
G> *** Error code 1
G> 
G> Stop in /usr/src/sys/modules/netgraph.
G> *** Error code 1
G> 
G> Stop in /usr/src/sys/modules.
G> *** Error code 1
G> 
G> 
G> --
G> 
G> Grover Lines
G> _______________________________________________
G> freebsd-current at freebsd.org mailing list
G> http://lists.freebsd.org/mailman/listinfo/freebsd-current
G> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-current mailing list