Date: Tue, 2 Apr 1996 00:15:08 -0600 (CST) From: Jason Garman <garman@phs.k12.ar.us> To: freebsd-questions@freebsd.org Subject: cyb driver won't compile in 2.1.0-release? Message-ID: <Pine.LNX.3.92.960402000815.7253B-100000@phs.k12.ar.us>
next in thread | raw e-mail | index | archive | help
I've downloaded the cyb driver from www.mpress.com and proceeded to install it in my kernel source tree for 2.1-RELEASE. However, after several hours of hacking, I still can't get it to compile correctly. I've followed all the directions in readme.src, but to no avail. Here's the relevant lines from i386/config/PHS in case it's useful: device cy0 at isa? tty irq 10 iomem 0xd6000 iosiz 8192 vector cyintr device cyb0 at isa? tty irq 10 iomem 0xd6000 iosiz 8192 vector cybintr The exact error messages I'm getting when I compile are: % make badboy:/home/jason/sys/compile/PHS cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I/usr/include -DPHS -DI586_CPU -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../i386/isa/cyb.c ../../i386/isa/cyb.c: In function `cybopen': ../../i386/isa/cyb.c:274: `TS_WOPEN' undeclared (first use this function) ../../i386/isa/cyb.c:274: (Each undeclared identifier is reported only once ../../i386/isa/cyb.c:274: for each function it appears in.) ../../i386/isa/cyb.c:300: `ttopen' undeclared (first use this function) ../../i386/isa/cyb.c: In function `cybclose': ../../i386/isa/cyb.c:355: `TS_WOPEN' undeclared (first use this function) ../../i386/isa/cyb.c: In function `cybstart': ../../i386/isa/cyb.c:676: `TS_ASLEEP' undeclared (first use this function) *** Error code 1 Stop. I was able to eliminate the TS_ASLEEP error by looking through the kernel source; it seems to be obselete in post-2.0.5 releases? TS_WOPEN seems to be defined in sys/tty.h; for some reason it's not finding it, and I can't find any references to ttopen anywhere. The cy driver included with the kernel source works fine. Any ideas? If there's anything I can do to help figure this out I'll be happy to provide more info... Jason Garman / garman@phs.k12.ar.us
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.92.960402000815.7253B-100000>