Date: Mon, 11 Mar 1996 12:05:11 -0500 (EST) From: Lisa Cozzens <lcozzens@gateway.us.sidwell.edu> To: questions@freebsd.org Subject: Compile errors on matcd driver Message-ID: <Pine.BSD/.3.91.960311115925.2249A-100000@gateway.us.sidwell.edu>
next in thread | raw e-mail | index | archive | help
Hi, I just upgraded my 2.0.5 system to 2.1 yesterday. The system is a Pentium 120 with a Matsushita/Panasonic 562 drive on a genuine SoundBlaster card. The drive works fine with the driver in the GENERIC kernel, but I'm now trying to recompile the kernel and I keep getting these error messages: In file included from ../../i386/isa/matcd/matcd.c:354: ../../i386/isa/matcd/matcddrv.h:171: redefinition of `matcderrors' ../../i386/isa/matcd/matcd.h:171: `matcderrors' previously defined here ../../i386/isa/matcd/matcd.c:437: `NMATCD' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:437: size of array `matcd_data' has non-integer type ../../i386/isa/matcd/matcd.c:461: `NMATCD' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:485: `NMATCD' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:485: size of array `kdc_matcd' has non-integer type ../../i386/isa/matcd/matcd.c: In function `matcdopen': ../../i386/isa/matcd/matcd.c:639: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c:639: (Each undeclared identifier is reported only once ../../i386/isa/matcd/matcd.c:639: for each function it appears in.) ../../i386/isa/matcd/matcd.c: In function `matcdclose': ../../i386/isa/matcd/matcd.c:830: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c: In function `matcdstrategy': ../../i386/isa/matcd/matcd.c:896: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c: In function `matcd_probe': ../../i386/isa/matcd/matcd.c:1255: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c: In function `matcd_blockread': ../../i386/isa/matcd/matcd.c:1915: warning: `dp' might be used uninitialized in this function Then the kernel compilation halts. If I comment out the line for the matcd driver in my kernel config file, the kernel compiles fine, but I *really* want CD-ROM drive support. I've tried linking the matcd.c file to the matcd.c file on the second CD-ROM (the live file system) but I get the same errors. This kernel compiled fine under 2.0.5. Any hints? Please CC any responses to me (lcozzens@sidwell.edu) Thanks! Lisa ____ Lisa Cozzens (lcozzens@sidwell.edu) (o | WWW Home Page: http://www.sidwell.edu/~lcozzens/ \ "We are what we consistently do; excellence, therefore, ========= is not an act but a habit." --Aristotle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSD/.3.91.960311115925.2249A-100000>