From nobody@www.freebsd.org  Mon Jun 17 13:28:58 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id A217437B40A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Jun 2002 13:28:57 -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 g5HK2EhG059096
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Jun 2002 13:02:14 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5HK2ESf059095;
	Mon, 17 Jun 2002 13:02:14 -0700 (PDT)
Message-Id: <200206172002.g5HK2ESf059095@www.freebsd.org>
Date: Mon, 17 Jun 2002 13:02:14 -0700 (PDT)
From: Max Clark <maxc@clarksys.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel build errors with 4.6-release netgraph/pppoe
X-Send-Pr-Version: www-1.0

>Number:         39438
>Category:       kern
>Synopsis:       kernel build errors with 4.6-release netgraph/pppoe
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 17 13:30:03 PDT 2002
>Closed-Date:    Mon Jun 17 21:32:36 PDT 2002
>Last-Modified:  Mon Jun 17 21:32:36 PDT 2002
>Originator:     Max Clark
>Release:        4.6-Release
>Organization:
>Environment:
FreeBSD supermax.mdr.ussearch.com 4.6-RC FreeBSD 4.6-RC #1: Tue May 21 10:39:22 PDT 2002     root@supermax.mdr.ussearch.com:/usr/obj/usr/src/sys/supermax  i386
>Description:
I just cvsup'd from cvsup13.freebsd.org, make world was successfull, make kernel fails. Removing duplicate entry in netgraph/ng_pppoe.c seems to have solved the problem

===> netgraph/pppoe
cc -O -pipe -march=pentiumpro -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnes
ted-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winli
ne -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I
@ -I@/../include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnes
ted-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winli
ne -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}:1545: Error: Symbol send_sessionid already defined.
*** Error code 1
>How-To-Repeat:
cvsup stable-supfile cvsup13.freebsd.org.
make world
make kernel
>Fix:
Remove duplicate entry in netgraph/ng_pppoe.c?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cjc 
State-Changed-When: Mon Jun 17 21:32:05 PDT 2002 
State-Changed-Why:  
This has been fixed. Update your sources and try again. Thanks for the 
report, but in the future, please check freebsd-stable@freebsd.org and 
report transient build problems in -STABLE there. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39438 
>Unformatted:
