Date: Thu, 11 Apr 1996 01:07:56 +1000 (EST) From: Pat Caldon <patc@hyacinth.ucc.su.oz.au> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/1129: sys/i386/isa/matcd/matcd.c will not compile Message-ID: <199604101507.BAA00672@hyacinth.ucc.su.oz.au> Resent-Message-ID: <199604101510.IAA13604@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1129 >Category: kern >Synopsis: matcd.c (Panasonic cdrom driver) will not compile >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 10 08:10:02 PDT 1996 >Last-Modified: >Originator: Pat Caldon >Organization: little or none >Release: FreeBSD 2.2-CURRENT i386 >Environment: Panasonic CD-ROM on a Soundblaser card; -current as of April 7. >Description: The driver will not compile and spews out hudreds of error messages: ../../i386/isa/matcd/matcd.c:504: `isa_generic_externalize' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:504: initializer element for `kdc_matcd.kdc_externalize' is not constant ../../i386/isa/matcd/matcd.c:504: `ISA_EXTERNALLEN' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:504: initializer element for `kdc_matcd.kdc_datalen' is not constant ../../i386/isa/matcd/matcd.c:505: `kdc_isa0' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:505: initializer element for `kdc_matcd.kdc_parent' is not constant ../../i386/isa/matcd/matcd.c:549: warning: `struct isa_device' declared inside parameter list ../../i386/isa/matcd/matcd.c:549: warning: its scope is only this definition or declaration, [ and pages more ] >How-To-Repeat: # config GENERIC # cd ../../compile/GENERIC # make matcd.o >Fix: The following patch seems to work: *** matcd.c.orig Thu Apr 11 00:38:29 1996 --- matcd.c Thu Apr 11 00:40:33 1996 *************** *** 364,376 **** #include <sys/devconf.h> /*<16>*/ #include <sys/conf.h> #include <sys/kernel.h> #ifdef DEVFS #include <sys/devfsext.h> #endif /*DEVFS*/ - #else /*FREE2*/ - #include <i386/isa/isa.h> /*<16>*/ - #include <i386/isa/isa_device.h> /*<16>*/ - #endif /*FREE2*/ /*--------------------------------------------------------------------------- Defines and structures --- 364,374 ---- #include <sys/devconf.h> /*<16>*/ #include <sys/conf.h> #include <sys/kernel.h> + #include <i386/isa/isa.h> /*<16>*/ + #include <i386/isa/isa_device.h> /*<16>*/ #ifdef DEVFS #include <sys/devfsext.h> #endif /*DEVFS*/ /*--------------------------------------------------------------------------- Defines and structures >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604101507.BAA00672>