Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 09:03:46 -0500
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        "'FreeBSD Questions'" <questions@freebsd.org>
Subject:   viapm module failing during buildkernel
Message-ID:  <20051109140350.32A7443D45@mx1.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi all,

I've got a module that fails to build repeatedly when doing buildkernel.
I've tried both a modified config, and finally GENERIC with the same
results. Here's what I currently have:

5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Jun  9 11:35:53 EDT 2005

...and this is what I cvsup'ped to yesterday:

*default tag=RELENG_5

I have added IPFW support, and SMP. I must admit, I have not tried
GENERIC without taking out the SMP, but I will try to reproduce that
next.

>From what I gather, the viapm module gives one the ability to monitor
certain motherboard status' on a VIA board...which I don't have. Being
not experienced enough to track down the cause of the issue, how does
one just eliminate a single module from being included in buildkernel to
see if that is the only one that is failing?

===> i2c/controllers/viapm
cc -O -pipe  -DVIAPM_BASE_ADDR=0x6000 -D_KERNEL -DKLD_MODULE -nostdinc
-I-   -include /usr/obj/usr/src/sys/SQL/opt_global.h -I. -I@
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common
-I/usr/obj/usr/src/sys/SQL -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -c
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:968:
error: `isa_driver' undeclared here (not in a function)
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:968:
error: initializer element is not constant
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:968:
error: (near initialization for `isa_viapm_driver_mod.dmd_driver')
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:968:
error: `isa_devclass' undeclared here (not in a function)
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:968:
error: initializer element is not constant
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:968:
error: (near initialization for `isa_viapm_driver_mod.dmd_devclass')
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:969:
error: initializer element is not constant
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:969:
error: (near initialization for `isa_viapropm_driver_mod.dmd_driver')
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:969:
error: initializer element is not constant
/usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:969:
error: (near initialization for `isa_viapropm_driver_mod.dmd_devclass')
*** Error code 1

Stop in /usr/src/sys/modules/i2c/controllers/viapm.
*** Error code 1

Stop in /usr/src/sys/modules/i2c/controllers.
*** Error code 1

Stop in /usr/src/sys/modules/i2c.
*** Error code 1

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

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051109140350.32A7443D45>