Re: new kernel build error after re cvsup

From: Gleb Smirnoff <glebius_at_cell.sick.ru>
Date: Sat, 26 Jun 2004 04:13:33 +0400
  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
_at__at_ -2143,7 +2143,7 _at__at_
                /* 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_at_ -I_at_/contrib/altq 
G> -I_at_/../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
Received on Fri Jun 25 2004 - 22:14:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC