I've updated my src today using RELENG_6, when i'm running a buildworld, i got this problem on libnetgraph ===> lib/libnetgraph (depend,all,install) rm -f .depend CC='/usr/local/libexec/ccache/cc' mkdep -f .depend -a /usr/src/lib/libnetgraph/sock.c /usr/src/lib/libnetgraph/msg.c /usr/src/lib/libnetgraph/debug.c /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libnetgraph/sock.c /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libnetgraph/msg.c /usr/src/lib/libnetgraph/msg.c: In function `NgDeliverMsg': /usr/src/lib/libnetgraph/msg.c:236: error: `NGM_HASREPLY' undeclared (first use in this function) /usr/src/lib/libnetgraph/msg.c:236: error: (Each undeclared identifier is reported only once /usr/src/lib/libnetgraph/msg.c:236: error: for each function it appears in.) *** Error code 1 I ran a cd /usr/src/includes && make depend all install and problem was fixed, is this the correct way? If yes, it's supposed to be documented on UPDATING, isn't it? Thanks -- Renato Botelho
Maybe this should fix?
--- libnetgraph/Makefile.orig Tue May 2 11:05:22 2006
+++ libnetgraph/Makefile Tue May 2 11:08:48 2006
@@ -7,6 +7,8 @@
SHLIB_MAJOR= 2
+CFLAGS+= -I${.CURDIR}/../../sys
+
SRCS= sock.c msg.c debug.c
INCS= netgraph.h
Regards
Renato Botelho wrote:> I've updated my src today using RELENG_6,
>
> when i'm running a buildworld, i got this problem on libnetgraph
>
> ===> lib/libnetgraph (depend,all,install)
> rm -f .depend
> CC='/usr/local/libexec/ccache/cc' mkdep -f .depend -a
> /usr/src/lib/libnetgraph/sock.c /usr/src/lib/libnetgraph/msg.c
> /usr/src/lib/libnetgraph/debug.c
> /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libnetgraph/sock.c
> /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libnetgraph/msg.c
> /usr/src/lib/libnetgraph/msg.c: In function `NgDeliverMsg':
> /usr/src/lib/libnetgraph/msg.c:236: error: `NGM_HASREPLY' undeclared
> (first use in this function)
> /usr/src/lib/libnetgraph/msg.c:236: error: (Each undeclared identifier
> is reported only once
> /usr/src/lib/libnetgraph/msg.c:236: error: for each function it appears
> in.)
> *** Error code 1
>
> I ran a
>
> cd /usr/src/includes && make depend all install
>
> and problem was fixed, is this the correct way? If yes, it's supposed
> to be documented on UPDATING, isn't it?
>
> Thanks
> --
> Renato Botelho
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
--
Marcus Alves Grando
marcus(at)corp.grupos.com.br | Grupos Internet S/A
mnag(at)FreeBSD.org | FreeBSD.org
On Tue, May 02, 2006 at 10:52:23AM -0300, Renato Botelho wrote:> I've updated my src today using RELENG_6, > > when i'm running a buildworld, i got this problem on libnetgraph > > ===> lib/libnetgraph (depend,all,install) > rm -f .depend > CC='/usr/local/libexec/ccache/cc' mkdep -f .depend -a > /usr/src/lib/libnetgraph/sock.c /usr/src/lib/libnetgraph/msg.c > /usr/src/lib/libnetgraph/debug.c > /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libnetgraph/sock.c > /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libnetgraph/msg.c > /usr/src/lib/libnetgraph/msg.c: In function `NgDeliverMsg': > /usr/src/lib/libnetgraph/msg.c:236: error: `NGM_HASREPLY' undeclared > (first use in this function) > /usr/src/lib/libnetgraph/msg.c:236: error: (Each undeclared identifier > is reported only once > /usr/src/lib/libnetgraph/msg.c:236: error: for each function it appears in.) > *** Error code 1 > > I ran a > > cd /usr/src/includes && make depend all install > > and problem was fixed, is this the correct way? If yes, it's supposed > to be documented on UPDATING, isn't it? >You used ccache, so you're supposed to fix problems like this on our own. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060503/d20ebd63/attachment.pgp