From owner-freebsd-questions Mon Apr 1 22:14:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA10928 for questions-outgoing; Mon, 1 Apr 1996 22:14:37 -0800 (PST) Received: from phs.k12.ar.us (garman@[165.29.117.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA10919 for ; Mon, 1 Apr 1996 22:14:33 -0800 (PST) Received: from localhost (garman@localhost) by phs.k12.ar.us (8.6.12/8.6.12) with SMTP id AAA07317 for ; Tue, 2 Apr 1996 00:15:08 -0600 Date: Tue, 2 Apr 1996 00:15:08 -0600 (CST) From: Jason Garman To: freebsd-questions@freebsd.org Subject: cyb driver won't compile in 2.1.0-release? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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