From owner-freebsd-multimedia Fri Feb 21 15:45:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA04138 for multimedia-outgoing; Fri, 21 Feb 1997 15:45:42 -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 PAA04124 for ; Fri, 21 Feb 1997 15:45:30 -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 SAA11789; Fri, 21 Feb 1997 18:47:45 -0500 (EST) Date: Fri, 21 Feb 1997 18:45:28 -0500 (EST) From: Jamie Bowden To: Amancio Hasty cc: multimedia@FreeBSD.org Subject: Re: bt848 driver In-Reply-To: <199702212342.PAA01217@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk The upgrade is coming as soon as 2.2 is release. I attempt to avoid non releases on production boxes. As for how to fix the compile time errors, I would love to know how. I am enough of a c coder to do some porting, and can usually make things go, but the kernel is way out of my skill range. I think we will just wait till 2.2 is out, and see what we can see then. On Fri, 21 Feb 1997, Amancio Hasty wrote: > > 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. > > > > > Jamie Bowden Network Administrator, TBI Ltd.