Date: Fri, 21 Feb 1997 15:42:06 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: Jamie Bowden <jamie@inna.net> Cc: multimedia@FreeBSD.org Subject: Re: bt848 driver Message-ID: <199702212342.PAA01217@rah.star-gate.com> In-Reply-To: Your message of "Fri, 21 Feb 1997 17:54:18 EST." <Pine.BSF.3.91.970221175040.26795G-100000@dolphin.inna.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702212342.PAA01217>