Date: Sun, 5 Nov 2000 12:53:32 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: Michael Reifenberger <root@nihil.plaut.de> Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: i4b und Netgraph under -stable Message-ID: <200011052053.eA5KrW477986@curve.dellroad.org> In-Reply-To: <Pine.BSF.4.21.0011041805270.93752-100000@localhost> "from Michael Reifenberger at Nov 4, 2000 06:31:26 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Reifenberger writes: > I wantet to compile a kernel (-stable) with i4b (-current) and enabled "i4bing" > device and get during compilation: > > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i4b/driver/i4b_ing.c > ../../i4b/driver/i4b_ing.c:636: conflicting types for `ng_ing_rcvmsg' > ../../i4b/driver/i4b_ing.c:168: previous declaration of `ng_ing_rcvmsg' > ../../i4b/driver/i4b_ing.c:752: conflicting types for `ng_ing_rcvdata' > ../../i4b/driver/i4b_ing.c:172: previous declaration of `ng_ing_rcvdata' > *** Error code 1 > Stop in /usr/src/sys/compile/foo. > > It seems that in -stable ng_rcvmsg_t doesn't have a "hook_p lasthook" > and ng_rcvdata no "struct mbuf **ret_m, meta_p *ret_meta " members. > > I thougth netgraph on par between -stable and -current. There are a couple of methods that have different prototypes between -current and -stable. If you want to see how to convert one to the other (very easy) just do a diff between the two branches on just about any file matching /sys/netgraph/ng_*.c. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011052053.eA5KrW477986>