From owner-freebsd-stable Thu Feb 8 9:29:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from math.uic.edu (galois.math.uic.edu [131.193.178.114]) by hub.freebsd.org (Postfix) with SMTP id 5425637B6AC for ; Thu, 8 Feb 2001 09:29:11 -0800 (PST) Received: (qmail 12782 invoked by uid 31415); 8 Feb 2001 17:28:46 -0000 Date: 8 Feb 2001 17:28:46 -0000 Message-ID: <20010208172846.12781.qmail@math.uic.edu> From: vladimir@math.uic.edu To: freebsd-stable@freebsd.org Subject: maestro3 driver broken? Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had no luck compiling a recently-committed driver for maestro3 sounds cards. The system is 4.2-STABLE, source cvsup'ed on Feb 7, 2001. Running 'make depend; make' in /usr/src/sys/modules/sound/driver/maestro3 produces the output attached below. I have emailed to Darrell Anderson , who seems to have written this driver, but just want to confirm that I am not doing something wrong. Has anyone else run into the same problem? I could compile the driver before I did an upgrade (I believe my old sources were from Jan 15, 2001, but I am not sure). Vladimir Warning: Object directory not changed from original /usr/src/sys/modules/sound/driver/maestro3 cc -O -pipe -Wall -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -c /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:77: warning: `AC97_CREATE' redefined @/dev/sound/pcm/ac97.h:78: warning: this is the location of the previous definition /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:85: warning: `KOBJMETHOD' redefined @/sys/kobj.h:94: warning: this is the location of the previous definition /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:86: warning: `AC97_DECLARE' redefined @/dev/sound/pcm/ac97.h:77: warning: this is the location of the previous definition /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:110: warning: `CHANNEL_DECLARE' redefined @/dev/sound/pcm/channel.h:102: warning: this is the location of the previous definition /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:84: conflicting types for `kobj_method_t' @/sys/kobj.h:37: previous declaration of `kobj_method_t' /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:84: warning: redundant redeclaration of `kobj_method_t' in same scope @/sys/kobj.h:37: warning: previous declaration of `kobj_method_t' /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization from incompatible pointer type /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: missing braces around initializer /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:243: warning: (near initialization for `M3_pch_class.buffer') /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization from incompatible pointer type /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: initialization makes integer from pointer without a cast /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: missing braces around initializer /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:265: warning: (near initialization for `M3_rch_class.buffer') /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c: In function `M3_pchan_init': /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:410: warning: implicit declaration of function `chn_allocbuf' /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c: In function `M3_pci_attach': /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:1269: warning: passing arg 3 of `ac97_create' from incompatible pointer type /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:1269: too many arguments to function `ac97_create' /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:1274: `ac97_mixer' undeclared (first use in this function) /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:1274: (Each undeclared identifier is reported only once /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:1274: for each function it appears in.) /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:1284: warning: passing arg 3 of `pcm_addchan' from incompatible pointer type /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:1290: warning: passing arg 3 of `pcm_addchan' from incompatible pointer type /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c: At top level: /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:212: warning: `M3_codec_methods' defined but not used /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:232: warning: `M3_pch_methods' defined but not used /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:254: warning: `M3_rch_methods' defined but not used *** Error code 1 Stop in /usr/src/sys/modules/sound/driver/maestro3. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message