Date: Mon, 17 Jun 2002 16:06:58 -0400 (EDT) From: Adam Mazza <adam@68e.com> To: Richard Cotrina <rcc@speedy.net.pe> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: building the GENERIC kernel after doing a cvsup of stable Message-ID: <Pine.GSO.4.33.0206171605180.2277-100000@chud.68e.com> In-Reply-To: <00d601c2163a$2c33c620$66fce20a@int.tp.com.pe>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <adam@68e.com>
> To: <freebsd-questions@FreeBSD.ORG>
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.33.0206171605180.2277-100000>
