From alsa-devel-owner@alsa.jcu.cz  Thu Jan  7 20:15:32 1999
Received: from pluto.andeby (IDENT:ahermans@t2o212p25.telia.com [195.204.226.85])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id UAA13633
	for <alsa-devel@alsa.jcu.cz>; Thu, 7 Jan 1999 20:15:02 +0100
Received: from localhost (ahermans@localhost)
	by pluto.andeby (8.8.7/8.8.7) with ESMTP id UAA08671;
	Thu, 7 Jan 1999 20:15:22 +0100
Date: Thu, 7 Jan 1999 20:15:22 +0100 (CET)
From: Anders Semb Hermansen <ahermans@vf.telia.no>
To: Tkil <tkil@scrye.com>
cc: alsa-devel@alsa.jcu.cz
Subject: Re: sequencer requires pnp? (alsa-driver-0.3.0-pre2)
In-Reply-To: <13972.29525.222392.93532@slinky.scrye.com>
Message-ID: <Pine.LNX.4.04.9901072014510.8630-100000@pluto.andeby>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

This bug has been fixed on CVS

Check out: http://alsa.jcu.cz/download.html


Regards,
Anders

--
Anders Semb Hermansen
E-Mail: <ahermans@vf.telia.no>
Cellmail: <93802837@sms.netcom.no>

On Thu, 7 Jan 1999, Tkil wrote:

> 
> I tried building the drivers with "--with-sequencer=yes" and it seemed 
> to ignore it.  Consider the underlined lines in this ./configure
> session:
> 
> | [tkil@slinky alsa-driver-0.3.0-pre2]$ ./configure --with-sequencer=yes
>                                                     ^^^^^^^^^^^^^^^^^^^^
> | creating cache ./config.cache
> | checking for gcc... gcc
> | checking whether the C compiler (gcc  ) works... yes
> | checking whether the C compiler (gcc  ) is a cross-compiler... no
> | checking whether we are using GNU C... yes
> | checking whether gcc accepts -g... yes
> | checking for ranlib... ranlib
> | checking for a BSD compatible install... /usr/bin/install -c
> | checking how to run the C preprocessor... gcc -E
> | checking for ANSI C header files... yes
> | checking for linux/fs.h... yes
> | checking for working const... yes
> | checking for inline... inline
> | checking whether time.h and sys/time.h may both be included... yes
> | checking whether gcc needs -traditional... no
> | checking for default major number for the alsa driver... 14
> | checking for directory with kernel source... /usr/src/linux
> | checking for kernel version... 2.2.0-pre5-ac1
> | checking for kernel module symbol versions... no
> | checking for PCI support in kernel... yes
> | checking for directory to store kernel modules... /lib/modules/2.2.0-pre5-ac1/misc
> | checking for debug level... none
> | checking for processor type... unknown
> | checking for SMP... no
> | checking for ISA PnP driver... no
> | checking for driver version... 0.3.0-pre2
> | checking for sequencer support... no
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | updating cache ./config.cache
> | creating ./config.status
> | creating Makefile.conf
> | creating snddevices
> | creating utils/alsa-driver.spec
> | creating include/config.h
> | include/config.h is unchanged
> | [tkil@slinky alsa-driver-0.3.0-pre2]$ make
> 
> Looking through the configure script, I see:
> 
> | echo $ac_n "checking for sequencer support""... $ac_c" 1>&6
> | echo "configure:1585: checking for sequencer support" >&5
> | # Check whether --with-sequencer or --without-sequencer was given.
> | if test "${with_sequencer+set}" = set; then
> |   withval="$with_sequencer"
> |   sequencer="$withval"
> | else
> |   sequencer="no"
> | fi
> | 
> | SNDCFG_SEQUENCER="0"
> | if test "$pnp" = "yes"; then
> |   SNDCFG_SEQUENCER="1"
> | fi
> | 
> | if test "$SNDCFG_SEQUENCER" = "1"; then
> |   cat >> confdefs.h <<\EOF
> | #define SNDCFG_SEQUENCER 1
> | EOF
> | 
> |   echo "$ac_t""yes" 1>&6
> | else
> |   echo "$ac_t""no" 1>&6
> | fi
> 
> ... which seems to tell me that SNDCFG_SEQUENCER will default to "off" 
> unless we are also including PNP.  I use isapnp-tools very happily, so 
> I would prefer to not deal with the alsa ISA PnP support quite yet.
> (If I'm simply misreading this, please set me straight!)
> 
> Thanks,
> Tony
> 
> p.s. Minor catches by EGCS:
> 
>      Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.57/specs
>      gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
> 
> | gcc -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I../../include -c -o es1688.o es1688.c
> | es1688.c: In function `snd_es1688_probe':
> | es1688.c:142: warning: suggest explicit braces to avoid ambiguous `else'
> ...
> | gcc -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I../../include -c -o ess_solo1.o ess_solo1.c
> | ess_solo1.c:131: warning: `snd_solo_read_cmd' defined but not used
> ...
> | gcc -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I../include -c -o sonicvibes.o sonicvibes.c
> | sonicvibes.c: In function `snd_sonic_probe':
> | sonicvibes.c:245: warning: unsigned int format, long unsigned int arg (arg 5)
> ...
> | gcc -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I../include -c -o audiopci.o audiopci.c
> | audiopci.c: In function `snd_audiopci_probe':
> | audiopci.c:200: warning: unsigned int format, long unsigned int arg (arg 5)
> ...
> | gcc -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I../include -c -o sb.o sb.c
> | sb.c: In function `snd_detect_sb':
> | sb.c:104: warning: suggest explicit braces to avoid ambiguous `else'
> ------
> To unsubscribe from <alsa-devel@alsa.jcu.cz> mailing list send message
> 'unsubscribe' in the body of message to <alsa-devel-request@alsa.jcu.cz>.
> 


