From owner-freebsd-multimedia Fri Feb 21 14:54:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA00518 for multimedia-outgoing; Fri, 21 Feb 1997 14:54:19 -0800 (PST) Received: from tyger.inna.net (root@tyger.inna.net [206.151.66.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA00504 for ; Fri, 21 Feb 1997 14:54:11 -0800 (PST) Received: from dolphin.inna.net (jamie@dolphin.inna.net [206.151.66.2]) by tyger.inna.net (8.8.3/8.7.3) with SMTP id RAA07422 for ; Fri, 21 Feb 1997 17:56:35 -0500 (EST) Date: Fri, 21 Feb 1997 17:54:18 -0500 (EST) From: Jamie Bowden To: multimedia@FreeBSD.org Subject: bt848 driver Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I am getting the following compile error: cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I../../../include -DBUTTERFLY -DI586_CPU -DI486_CPU -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_LINUX -DQUOTA -DOPEN_MAX=128 -DCHILD_MAX=128 -DUCONSOLE -DBOUNCE_BUFFERS -DCOMPAT_43 -DPROCFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../pci/brooktree848.c In file included from ../../pci/brooktree848.c:127: ../../pci/brktree_reg.h:171: field `video' has incomplete type ../../pci/brooktree848.c:195: `nostop' undeclared here (not in a function) ../../pci/brooktree848.c:195: initializer element for `bktr_cdevsw.d_stop' is not constant ../../pci/brooktree848.c:195: `nullreset' undeclared here (not in a function) ../../pci/brooktree848.c:195: initializer element for `bktr_cdevsw.d_reset' is not constant ../../pci/brooktree848.c:195: `nodevtotty' undeclared here (not in a function) ../../pci/brooktree848.c:195: initializer element for `bktr_cdevsw.d_devtotty' is not constant ../../pci/brooktree848.c:196: warning: excess elements in struct initializer after `bktr_cdevsw' ../../pci/brooktree848.c:196: warning: excess elements in struct initializer after `bktr_cdevsw' ../../pci/brooktree848.c:196: warning: excess elements in struct initializer after `bktr_cdevsw' ../../pci/brooktree848.c: In function `bktr_attach': ../../pci/brooktree848.c:1092: warning: passing arg 2 of `pci_map_int' from incompatible pointer type ../../pci/brooktree848.c:1105: `bootverbose' undeclared (first use this function) ../../pci/brooktree848.c:1105: (Each undeclared identifier is reported only once ../../pci/brooktree848.c:1105: for each function it appears in.) ../../pci/brooktree848.c: In function `bktr_ioctl': ../../pci/brooktree848.c:1412: `METEOR_GEO_DEV3' undeclared (first use this function) ../../pci/brooktree848.c:1469: `METEORGVIDEO' undeclared (first use this function) ../../pci/brooktree848.c:1471: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1472: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1473: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1474: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1476: `METEORSVIDEO' undeclared (first use this function) ../../pci/brooktree848.c:1478: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1479: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1480: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1481: dereferencing pointer to incomplete type ../../pci/brooktree848.c:1501: `METEORSBRIG' undeclared (first use this function) ../../pci/brooktree848.c:1504: `METEORGBRIG' undeclared (first use this function) ../../pci/brooktree848.c:1507: `METEORSCSAT' undeclared (first use this function) ../../pci/brooktree848.c:1520: `METEORGCSAT' undeclared (first use this function) ../../pci/brooktree848.c:1525: `METEORSCONT' undeclared (first use this function) ../../pci/brooktree848.c:1535: `METEORGCONT' undeclared (first use this function) ../../pci/brooktree848.c:1707: `bootverbose' undeclared (first use this function) ../../pci/brooktree848.c: In function `bktr_drvinit': ../../pci/brooktree848.c:1880: warning: implicit declaration of function `cdevsw_add' ../../pci/brooktree848.c: At top level: ../../pci/brooktree848.c:1885: parse error before `+' *** Error code 1 I added meteor0 to the kernel config file, and still got the same error. This is FreeBSD 2.1.0-R. Any ideas? Jamie Bowden Network Administrator, TBI Ltd.