From nobody@FreeBSD.org  Fri Nov 25 20:55:21 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C5E2A16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Nov 2005 20:55:21 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9A1F443D86
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Nov 2005 20:55:16 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jAPKtGna010044
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Nov 2005 20:55:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jAPKtGtn010043;
	Fri, 25 Nov 2005 20:55:16 GMT
	(envelope-from nobody)
Message-Id: <200511252055.jAPKtGtn010043@www.freebsd.org>
Date: Fri, 25 Nov 2005 20:55:16 GMT
From: Daniel Rudy <dcrudy@pacbell.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: viapm will not compile into kernel
X-Send-Pr-Version: www-2.3

>Number:         89551
>Category:       kern
>Synopsis:       [viapm] viapm will not compile into kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 25 21:00:18 GMT 2005
>Closed-Date:    Sat Nov 26 15:51:43 GMT 2005
>Last-Modified:  Sat Nov 26 15:51:43 GMT 2005
>Originator:     Daniel Rudy
>Release:        6.0-RELEASE
>Organization:
>Environment:
FreeBSD torrent.asdfasdfasdf.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
              When compiling a kernel with the following options, an error in compiling occurrs.

device smbus
device smb
device viapm



make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe
 -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpo
inter-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/s
ys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I
/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sy
s/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param
 inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary
=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding
/usr/src/sys/pci/viapm.c:51:22: iicbb_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/WILDFIRE.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:

From: Craig Rodrigues <rodrigc@crodrigues.org>
To: bug-followup@freebsd.org
Cc: Daniel Rudy <dcrudy@pacbell.net>
Subject: Re: kern/89551: viapm will not compile into kernel
Date: Fri, 25 Nov 2005 16:02:53 -0500

 On Fri, Nov 25, 2005 at 08:55:16PM +0000, Daniel Rudy wrote:
 >               When compiling a kernel with the following options, an error in compiling occurrs.
 > 
 > device smbus
 > device smb
 > device viapm
 
 
 Did you look at the man page for viapm?
 It lists the follownig kernel options:
 
      device iicbb
      device iicbus
      device iicsmb
      device smbus
      device smb
      device viapm
 
 -- 
 Craig Rodrigues        
 rodrigc@crodrigues.org
State-Changed-From-To: open->closed 
State-Changed-By: rodrigc 
State-Changed-When: Sat Nov 26 15:51:08 GMT 2005 
State-Changed-Why:  
The viapm manpage documents all the kernel options needed. 

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