I've just updated the sources and tried to rebuild kernel with 'device viapm' in kernel configuration file. 'make depend' fails: <..> awk -f ../../../tools/makeobjops.awk ../../../kern/device_if.m -h awk -f ../../../tools/makeobjops.awk ../../../kern/linker_if.m -h awk -f ../../../tools/makeobjops.awk ../../../dev/acpica/acpi_if.m -h rm -f .newdep 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 -march=c3 -Wall -Wredundant- decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../ .. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I. ./../../dev/ath -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KER NEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-stri ngs -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffrees tanding ../../../pci/viapm.c:55:22: iicbb_if.h: No such file or directory mkdep: compile failed *** Error code 1 My kernel configuration file: machine i386 cpu I686_CPU device isa device pci device agp device npx device io ident LOCALHOST options SCHED_4BSD options COMPAT_43 options COMPAT_FREEBSD4 options COMPAT_FREEBSD5 options SYSVSHM options SYSVMSG options SYSVSEM options INET device loop device bpf device ether device ppp options IPFIREWALL options FFS options PROCFS options PSEUDOFS options SOFTUPDATES options UFS_DIRHASH device random device mem device scbus device da device cd device pass device pty device atkbdc device atkbd device psm device vga device sc device ata device atadisk device atapicd options ATA_STATIC_ID device fdc device sio device miibus device vr device sound device snd_via8233 device smbus device smb device viapm device uhci device ehci device usb device ugen device ulpt device umass
On Thu, Jan 25, 2007 at 05:08:55AM +0500, applecom@inbox.ru wrote:> I've just updated the sources and tried to rebuild kernel with 'device viapm' > in kernel configuration file. 'make depend' fails:You're missing the iicbus, iicbb, and iicsmb drivers. Taken from my kernel config: ## Power management controllers / hardware monitoring ## device smbus ## SMBus support device viapm ## VIA PM -- for hardware monitoring device smb ## SMBus support device iicbus ## I2C bus support (needed for I2C) device iicbb ## I2C bit-banging driver device iicsmb ## SMBus over I2C bridge -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |