Date: Mon, 17 Jun 2002 01:41:53 -0700 (PDT) From: Sergey <violet@westcall.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/39402: error while compiling kernel from CVS Message-ID: <200206170841.g5H8frn9074703@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 39402
>Category: kern
>Synopsis: error while compiling kernel from CVS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 17 01:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Sergey
>Release: 4.6-RELEASE
>Organization:
WestCall LTD
>Environment:
FreeBSD horse.west-call.com 4.6-RC FreeBSD 4.6-RC #0:
>Description:
while compiling the kernel from CVS source tree ( tag=RELENG_4 ), the following error occurs:
===> netgraph/pppoe
gcc -O2 -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}:1481: 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/src/sys/compile/HORSE.
The matter is the function static int send_sessionid(sessp sp) is defined twice in /usr/src/sys/netgraph/ng_pppoe.c
>How-To-Repeat:
pull sources via CVSup ( I used default host=cvsup8.FreeBSD.org ) and recompile the kernel
>Fix:
remove the second instance of send_sessionid
from /usr/src/sys/netgraph/ng_pppoe.c
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206170841.g5H8frn9074703>
