Hi,

I'm having some trouble with an EMU10K1X card and with upgrading the ALSA 
drivers.

First, the problems.  We are experiencing two problems with the card:

1.  It seems that we can play multiple audio sources if the sources use 
ALSA output directly.  If OSS output is used, only one source can play at a 
time.

2.  From time to time, the audio breaks up and the audio source has to be 
restarted.

These problems are experienced with driver version 1.0.11rc1

So I thought I'd upgrade the driver to see if it helps.

My attempt to compile alsa-driver-1.0.12rc2 were rather less than 
successful.  The output is included below and all suggestions welcome.

When I compile alsa-driver-1.0.11 I get the following warnings:

sound.c: In function `snd_open':
sound.c:175: warning: assignment discards qualifiers from pointer target 
type
sound.c:180: warning: assignment discards qualifiers from pointer target 
type
sound.c: At top level:
sound.c:43: warning: `device_mode' defined but not used
In file included from sound_oss.c:6:
../alsa-kernel/core/sound_oss.c: In function `snd_register_oss_device':
../alsa-kernel/core/sound_oss.c:137: warning: passing arg 1 of 
`register_sound_special_R9ac554ab' discards qualifiers from pointer target 
type
../alsa-kernel/core/sound_oss.c:141: warning: passing arg 1 of 
`register_sound_special_R9ac554ab' discards qualifiers from pointer target 
type

but the compile does finish.  When I try to load the modules however, I get 
the following:

Starting sound driver: snd-emu10k1x 
/lib/modules/2.4.32/kernel/sound/acore/snd.o: 
/lib/modules/2.4.32/kernel/sound/acore/snd.o: unresolved symbol 
snd_compat_strlcpy
/lib/modules/2.4.32/kernel/sound/acore/snd.o: insmod 
/lib/modules/2.4.32/kernel/sound/acore/snd.o failed
/lib/modules/2.4.32/kernel/sound/acore/snd.o: insmod snd-emu10k1x failed

Starting sound driver: snd-ens1371 
/lib/modules/2.4.32/kernel/sound/acore/snd.o: 
/lib/modules/2.4.32/kernel/sound/acore/snd.o: unresolved symbol 
snd_compat_strlcpy
/lib/modules/2.4.32/kernel/sound/acore/snd.o: insmod 
/lib/modules/2.4.32/kernel/sound/acore/snd.o failed
/lib/modules/2.4.32/kernel/sound/acore/snd.o: insmod snd-ens1371 failed

These compiles were configured as follows:

./configure --with-sequencer=yes --with-oss=yes 
--with-cards=ens1371,emu10k1x

I'm running these on a machine running Debian Sarge (aka 3.1) using GCC 
3.3.5.

Any suggestions on any of this would be helpful.

NOw here's that make output for the alsa-driver-1.0.12rc2 compile:

Geoff.



make[1]: Entering directory `/usr/src/alsa-driver-1.0.12rc2/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
memalloc.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c pcm.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
pcm_native.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
pcm_lib.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
pcm_misc.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
pcm_memory.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
rawmidi.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
timer.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
sound.c
sound.c: In function `snd_open':
sound.c:178: warning: assignment discards qualifiers from pointer target type
sound.c:183: warning: assignment discards qualifiers from pointer target type
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
init.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
memory.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
info.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
control.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
misc.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
device.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
isadma.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
sound_oss.c
In file included from sound_oss.c:6:
../alsa-kernel/core/sound_oss.c: In function `snd_register_oss_device':
../alsa-kernel/core/sound_oss.c:139: warning: passing arg 1 of 
`register_sound_special_R9ac554ab' discards qualifiers from pointer target type
../alsa-kernel/core/sound_oss.c:143: warning: passing arg 1 of 
`register_sound_special_R9ac554ab' discards qualifiers from pointer target type
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c 
info_oss.c
rm -f snd.o
ld  -r -o snd.o sound.o init.o memory.o info.o control.o misc.o device.o 
isadma.o sound_oss.o info_oss.o wrappers.o misc_driver.o
rm -f snd-timer.o
ld  -r -o snd-timer.o timer.o
rm -f snd-pcm.o
ld  -r -o snd-pcm.o pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o 
pcm_memory.o
rm -f snd-page-alloc.o
ld  -r -o snd-page-alloc.o memalloc.o sgbuf.o memory_wrapper.o
rm -f snd-rawmidi.o
ld  -r -o snd-rawmidi.o rawmidi.o
make  -C oss modules
make[2]: Entering directory `/usr/src/alsa-driver-1.0.12rc2/acore/oss'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h 
-I/usr/src/alsa-driver-1.0.12rc2/alsa-kernel/core/oss -fno-omit-frame-pointer  
-DEXPORT_SYMTAB -c mixer_oss.c
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-1.0.12rc2/include  
-I/lib/modules/2.4.32/build/include -O2 -mpreferred-stack-boundary=2 
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD 
-nostdinc -iwithprefix include -DMODVERSIONS -include 
/lib/modules/2.4.32/build/include/linux/modversions.h 
-I/usr/src/alsa-driver-1.0.12rc2/alsa-kernel/core/oss -fno-omit-frame-pointer 
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(pcm_oss)"   -c -o pcm_oss.o 
pcm_oss.c
{standard input}: Assembler messages:
{standard input}:5498: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:5499: Error: unknown pseudo-op: `.text.lock.'
{standard input}:5580: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:5581: Error: unknown pseudo-op: `.text.lock.'
{standard input}:5955: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:5956: Error: unknown pseudo-op: `.text.lock.'
{standard input}:5996: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:5997: Error: unknown pseudo-op: `.text.lock.'
{standard input}:6013: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:6014: Error: unknown pseudo-op: `.text.lock.'
{standard input}:6037: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:6038: Error: unknown pseudo-op: `.text.lock.'
{standard input}:6124: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:6125: Error: unknown pseudo-op: `.text.lock.'
{standard input}:6141: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:6142: Error: unknown pseudo-op: `.text.lock.'
{standard input}:7357: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:7358: Error: unknown pseudo-op: `.text.lock.'
{standard input}:7416: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:7417: Error: unknown pseudo-op: `.text.lock.'
{standard input}:7520: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:7521: Error: unknown pseudo-op: `.text.lock.'
{standard input}:7586: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:7587: Error: unknown pseudo-op: `.text.lock.'
{standard input}:7766: Error: junk at end of line, first unrecognized character 
is `"'
{standard input}:7767: Error: unknown pseudo-op: `.text.lock.'
make[2]: *** [pcm_oss.o] Error 1
make[2]: Leaving directory `/usr/src/alsa-driver-1.0.12rc2/acore/oss'
make[1]: *** [_modsubdir_oss] Error 2
make[1]: Leaving directory `/usr/src/alsa-driver-1.0.12rc2/acore'
make: *** [compile] Error 1


-- 
Geoff Shang <[EMAIL PROTECTED]>
Phone: +61-418-96-5590
MSN: [EMAIL PROTECTED]

Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to