From owner-freebsd-questions Mon Jun 17 13:10:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chud.68e.com (chud.68e.com [216.231.105.131]) by hub.freebsd.org (Postfix) with ESMTP id 6C60B37B414 for ; Mon, 17 Jun 2002 13:10:49 -0700 (PDT) Received: from localhost (adam@localhost) by chud.68e.com (8.11.2/8.11.2) with ESMTP id g5HK6xn03092; Mon, 17 Jun 2002 16:06:59 -0400 (EDT) Date: Mon, 17 Jun 2002 16:06:58 -0400 (EDT) From: Adam Mazza To: Richard Cotrina Cc: Subject: Re: building the GENERIC kernel after doing a cvsup of stable In-Reply-To: <00d601c2163a$2c33c620$66fce20a@int.tp.com.pe> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG turned out that: static int send_sessionid(sessp sp) { int error; struct ng_mesg *msg; NG_MKMESSAGE(msg, NGM_PPPOE_COOKIE, NGM_PPPOE_SESSIONID, sizeof(u_int16_t), M_NOWAIT); if (msg == NULL) return (ENOMEM); *(u_int16_t *)msg->data = sp->Session_ID; error = ng_send_msg(sp->hook->node, msg, sp->creator, NULL); return (error); } is defined twice (just as the error message said;)) Once I took out one instance, all worked. Adam Mazza On Mon, 17 Jun 2002, Richard Cotrina wrote: > Hi : > > I got the same results even using the classical kernel compilation method. > > ----- Original Message ----- > From: "Adam Mazza" > To: > Sent: Monday, June 17, 2002 2:41 PM > Subject: building the GENERIC kernel after doing a cvsup of stable > > > > > > Hello, > > > > After cvsuping my /usr/src tree to 4.6-release, I started trying to > > upgrade from 4.6-RC FreeBSD 4.6-RC #0:. to 4.6-release. I was able to do a > > make buildworld and all compiled fine. I then did a make buildkernel and > > about halfway through the compilation died with the following error: > > > > ===> netgraph/pppoe > > cc -O -pipe -Wall -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > > -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > -Winline -Wcast-qual -fformat-extensions -ansi -c > > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c > > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:860: > > redefinition of `send_sessionid' > > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:843: > > `send_sessionid' previously defined here > > {standard input}: Assembler messages: > > {standard input}:1531: Error: Symbol send_sessionid already defined. > > *** Error code 1 > > > > Stop in /usr/src/sys/modules/netgraph/pppoe. > > *** Error code 1 > > > > Stop in /usr/src/sys/modules/netgraph. > > *** Error code 1 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/GENERIC. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > > > Any idea what could be the cause of this? > > > > Regards, > > > > Adam Mazza > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message