From owner-freebsd-bugs Mon Jun 17 1:50: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D4A1237B410 for ; Mon, 17 Jun 2002 01:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5H8o1j66573; Mon, 17 Jun 2002 01:50:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id F34DC37B416 for ; Mon, 17 Jun 2002 01:41:54 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5H8frhG074704 for ; Mon, 17 Jun 2002 01:41:53 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5H8frn9074703; Mon, 17 Jun 2002 01:41:53 -0700 (PDT) Message-Id: <200206170841.g5H8frn9074703@www.freebsd.org> Date: Mon, 17 Jun 2002 01:41:53 -0700 (PDT) From: Sergey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/39402: error while compiling kernel from CVS Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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