From owner-freebsd-multimedia Fri Feb 21 15:42:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA03899 for multimedia-outgoing; Fri, 21 Feb 1997 15:42:17 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA03891 for ; Fri, 21 Feb 1997 15:42:14 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id PAA01217; Fri, 21 Feb 1997 15:42:06 -0800 (PST) Message-Id: <199702212342.PAA01217@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Jamie Bowden cc: multimedia@FreeBSD.org Subject: Re: bt848 driver In-reply-to: Your message of "Fri, 21 Feb 1997 17:54:18 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Feb 1997 15:42:06 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Got a couple of things to say : a. upgrade, or b. fix the compile time errors Amancio >From The Desk Of Jamie Bowden : > 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. >