[head tinderbox] build report (i386)
David P. Reese, Jr.
daver at gomerbud.com
Fri Nov 14 13:22:41 PST 2003
On Fri, Nov 14, 2003 at 03:50:35PM -0500, David Rhodus wrote:
>
> So what's going on here ?
>
> -DR
>
> On Nov 14, 2003, at 1:27 PM, DragonFly BuildBox wrote:
> >TB --- /usr/bin/make buildkernel KERNCONF=LINT
> >>>>Kernel build for LINT started on Fri Nov 14 18:09:53 GMT 2003
> >[...]
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: initializer element is not constant
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: (near initialization for
> >`_viapropm_depend_on_smbus.md_ver_minimum')
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: `SMBUS_PREFVER' undeclared here (not in a function)
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: initializer element is not constant
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: (near initialization for
> >`_viapropm_depend_on_smbus.md_ver_preferred')
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: `SMBUS_MAXVER' undeclared here (not in a function)
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: initializer element is not constant
> >/usr/home/tinderbox/HEAD/i386/i386/src/sys/dev/powermng/i386/viapm/
> >viapm.c:934: (near initialization for
> >`_viapropm_depend_on_smbus.md_ver_maximum')
> >*** Error code 1
> >
> >Stop in
> >/usr/home/tinderbox/HEAD/i386/i386/obj/usr/home/tinderbox/HEAD/i386/
> >i386/src/sys/LINT.
> >*** Error code 1
> >
> >Stop in /usr/home/tinderbox/HEAD/i386/i386/src.
> >*** Error code 1
> >
> >Stop in /usr/home/tinderbox/HEAD/i386/i386/src.
> >TB --- 2003-11-14 18:27:06 - /usr/bin/make returned exit code 1
> >TB --- 2003-11-14 18:27:06 - ERROR: failed to build lint kernel
> >TB --- 2003-11-14 18:27:06 - tinderbox aborted
> >
I'm not quite sure why it broke a couple days ago, but syncing
bus/iicbus/iiconf.h and bus/smbus/smbconf.h with the FreeBSD-5.1 versions
which defines for the module versions seems to make LINT happy.
--
David P. Reese, Jr. daver at xxxxxxxxxxxx
http://www.gomerbud.com/daver/
Index: bus/iicbus/iiconf.h
===================================================================
RCS file: /nfs/daver/cvs-repos/cvs-dragonflybsd/src/sys/bus/iicbus/iiconf.h,v
retrieving revision 1.3
diff -u -u -r1.3 iiconf.h
--- bus/iicbus/iiconf.h 19 Jul 2003 21:14:22 -0000 1.3
+++ bus/iicbus/iiconf.h 14 Nov 2003 21:07:02 -0000
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/sys/dev/iicbus/iiconf.h,v 1.6 1999/08/28 00:41:59 peter Exp $
+ * $FreeBSD: src/sys/dev/iicbus/iiconf.h,v 1.7 2002/03/23 15:47:17 nsouch Exp $
* $DragonFly: src/sys/bus/iicbus/iiconf.h,v 1.3 2003/07/19 21:14:22 dillon Exp $
*/
#ifndef __IICONF_H
@@ -125,5 +125,15 @@
extern int iicbus_block_read(device_t, u_char, char *, int, int *);
extern u_char iicbus_get_addr(device_t);
+
+#define IICBUS_MODVER 1
+#define IICBUS_MINVER 1
+#define IICBUS_MAXVER 1
+#define IICBUS_PREFVER IICBUS_MODVER
+
+#define IICBB_MODVER 1
+#define IICBB_MINVER 1
+#define IICBB_MAXVER 1
+#define IICBB_PREFVER IICBB_MODVER
#endif
Index: bus/smbus/smbconf.h
===================================================================
RCS file: /nfs/daver/cvs-repos/cvs-dragonflybsd/src/sys/bus/smbus/smbconf.h,v
retrieving revision 1.3
diff -u -u -r1.3 smbconf.h
--- bus/smbus/smbconf.h 19 Jul 2003 21:14:28 -0000 1.3
+++ bus/smbus/smbconf.h 14 Nov 2003 21:06:42 -0000
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/sys/dev/smbus/smbconf.h,v 1.6 1999/08/28 00:42:29 peter Exp $
+ * $FreeBSD: src/sys/dev/smbus/smbconf.h,v 1.7 2002/03/23 15:47:28 nsouch Exp $
* $DragonFly: src/sys/bus/smbus/smbconf.h,v 1.3 2003/07/19 21:14:28 dillon Exp $
*/
#ifndef __SMBONF_H
@@ -99,5 +99,10 @@
(SMBUS_BWRITE(device_get_parent(bus), slave, cmd, count, buf))
#define smbus_bread(bus,slave,cmd,count,buf) \
(SMBUS_BREAD(device_get_parent(bus), slave, cmd, count, buf))
+
+#define SMBUS_MODVER 1
+#define SMBUS_MINVER 1
+#define SMBUS_MAXVER 1
+#define SMBUS_PREFVER SMBUS_MODVER
#endif
More information about the Kernel
mailing list