Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 10:49:15 -0700 
From:      "Long, Scott" <scott_long@btc.adaptec.com>
To:        "'vladimir@math.uic.edu'" <vladimir@math.uic.edu>, freebsd-stable@freebsd.org
Subject:   RE: maestro3 driver broken?
Message-ID:  <E0BFB46945D5D411BB590000D11ABE92033420@btcexc01.btc.adaptec.com>

next in thread | raw e-mail | index | archive | help
Ummm.... the maestro3 driver isn't in -stable yet.  Do you mean that you
cvsup'ed -stable on Feb 7, built world, then grabbed the maestro3 driver
sources from Darrell's webpage?  In that case, yes things are broken.  The
kobj bits for newpcm were MFC'd recently, causing the -stable version of the
driver to no longer compile.  We had hoped that the -current version of the
driver would 'just work' for the new -stable, but that is apparently not the
case.  Top men are working on it =->  Until then, you can back down to an
older -stable, or upgrade to -current.

Scott


> -----Original Message-----
> From: vladimir@math.uic.edu [mailto:vladimir@math.uic.edu]
> Sent: Thursday, February 08, 2001 10:29 AM
> To: freebsd-stable@freebsd.org
> Subject: maestro3 driver broken?
> 
> 
> 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 <anderson@cs.duke.edu>,
> 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/sou
> nd/pci/maestro3.c
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/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/sou
> nd/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/sou
> nd/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/sou
> nd/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/sou
> nd/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/sou
> nd/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/sou
> nd/pci/maestro3.c:243: warning: initialization from 
> incompatible pointer type
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: missing braces around initializer
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:243: warning: (near initialization for 
> `M3_pch_class.buffer')
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization from 
> incompatible pointer type
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: initialization makes integer 
> from pointer without a cast
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: missing braces around initializer
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:265: warning: (near initialization for 
> `M3_rch_class.buffer')
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c: In function `M3_pchan_init':
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:410: warning: implicit declaration of 
> function `chn_allocbuf'
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c: In function `M3_pci_attach':
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:1269: warning: passing arg 3 of 
> `ac97_create' from incompatible pointer type
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:1269: too many arguments to function `ac97_create'
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:1274: `ac97_mixer' undeclared (first use in 
> this function)
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:1274: (Each undeclared identifier is 
> reported only once
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:1274: for each function it appears in.)
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:1284: warning: passing arg 3 of 
> `pcm_addchan' from incompatible pointer type
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:1290: warning: passing arg 3 of 
> `pcm_addchan' from incompatible pointer type
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c: At top level:
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:212: warning: `M3_codec_methods' defined 
> but not used
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/pci/maestro3.c:232: warning: `M3_pch_methods' defined but not used
> /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sou
> nd/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
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0BFB46945D5D411BB590000D11ABE92033420>