From owner-freebsd-stable@FreeBSD.ORG Tue May 2 14:13:03 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0639316A400 for ; Tue, 2 May 2006 14:13:03 +0000 (UTC) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (corp.grupos.com.br [200.193.29.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 507AE43D45 for ; Tue, 2 May 2006 14:13:02 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (localhost [127.0.0.1]) by corp.grupos.com.br (Postfix) with ESMTP id 5D4F8556B; Tue, 2 May 2006 11:12:59 -0300 (BRT) Received: from [192.168.10.10] (marcus.grupos.com.br [192.168.10.10]) by corp.grupos.com.br (Postfix) with ESMTP id 4ADC3554B; Tue, 2 May 2006 11:12:59 -0300 (BRT) Message-ID: <445768EA.5010705@FreeBSD.org> Date: Tue, 02 May 2006 11:12:58 -0300 From: Marcus Alves Grando Organization: FreeBSD.org User-Agent: Thunderbird 1.5 (X11/20060114) MIME-Version: 1.0 To: Renato Botelho References: <747dc8f30605020652y7b4c07bby32c5a8155a8479dd@mail.gmail.com> In-Reply-To: <747dc8f30605020652y7b4c07bby32c5a8155a8479dd@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Filtered: By ProxSMTP using Clamav and Bogofilter Cc: freebsd-stable@FreeBSD.org Subject: Re: libnetgraph doesn't build fine on RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 14:13:03 -0000 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