From nobody@FreeBSD.org  Wed Aug  3 19:29:35 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AA2F3106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  3 Aug 2011 19:29:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 5D6228FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  3 Aug 2011 19:29:35 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p73JTZR3083576
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 3 Aug 2011 19:29:35 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p73JTYP5083575;
	Wed, 3 Aug 2011 19:29:34 GMT
	(envelope-from nobody)
Message-Id: <201108031929.p73JTYP5083575@red.freebsd.org>
Date: Wed, 3 Aug 2011 19:29:34 GMT
From: Rich <rich@enterprisesystems.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: device digi  will not compile
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159501
>Category:       kern
>Synopsis:       [digi] device digi will not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 19:30:12 UTC 2011
>Closed-Date:    Wed Aug 17 17:18:38 UTC 2011
>Last-Modified:  Wed Aug 17 17:18:38 UTC 2011
>Originator:     Rich
>Release:        8.2 current
>Organization:
Enterprisesystems.net
>Environment:
# uname -a
FreeBSD esi8.bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #8: Wed Aug  3 12:50:46 EDT 201
1     data@esi8.bsd:/usr/src/sys/i386/compile/MYKERNEL  i386
>Description:
added device digi to kernel
during kernel build

# make
cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr
ototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wn
o-pointer-sign -fformat-extensions -nostdinc  -I. -I../../.. -I../../../contrib/
altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -f
inline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1
000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -
mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  ../../../d
ev/digi/digi.c
./../../dev/digi/digi.c:62: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before 'digiopen'
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Aug 8 00:01:12 UTC 2011 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159501 
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Wed Aug 17 17:14:27 UTC 2011 
State-Changed-Why:  
Close this PR: it is a duplicate of a couple of other PRs. 

Patches to fix this to compile this driver under 9.x are available in  
PR kern/158086, and may well be able to be applied to an 8.x kernel 
tree, if you want to try that. 

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