Date: Mon, 17 Jun 2002 15:39:46 -0500 From: "Richard Cotrina" <rcc@speedy.net.pe> To: <freebsd-questions@FreeBSD.ORG> Subject: Re: building the GENERIC kernel after doing a cvsup of stable Message-ID: <00ed01c2163f$1e4a6d20$66fce20a@int.tp.com.pe> References: <Pine.GSO.4.33.0206171605180.2277-100000@chud.68e.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi : You're right. The function send_sessionid(sessp sp) is defined twice , it doesn't make sense and it causes the failure during kernel compilation. I also took out one of them and I got a clean compilation : host $ uname -a FreeBSD host 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 16 17:20:12 PET 2002 user@host:/usr/src/sys/compile/CUSTOM i386 Thanks for your help. Richard Cotrina ----- Original Message ----- From: "Adam Mazza" <adam@68e.com> To: "Richard Cotrina" <rcc@speedy.net.pe> Cc: <freebsd-questions@FreeBSD.ORG> Sent: Monday, June 17, 2002 3:06 PM Subject: Re: building the GENERIC kernel after doing a cvsup of stable > > 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?00ed01c2163f$1e4a6d20$66fce20a>