Dear listmembers, 

I have Linux (distribution Turbolinux for Chinese 3.0.2) 
running on a Japan-bought Sharp Mebius A-445. 

I have two questions, one regarding sound configuration, 
the other concerning the pcmcia-cs for the 2.0.36 kernel.

1) Sound config:
With this kernel and configuration my sound driver 
seems to work and not to work. I can play audio CD's 
(using xplaycd) and everything sounds fine. However, 
I can't play .au files by catting them to /dev/audio or 
using an app that is supposed to play them. cat /dev/sndstat 
shows the follows lines. Since I don't have anything in 
the "audio devices" item, perhaps I didn't select something 
that I should have? 



Sound Driver:3.5.4-960630
Kernel: Linux he-yi-song.cn.org 2.0.36 #1 Sat Jul 24 10:55:36 JST 1999 i586
Config options: 0

Installed drivers: 
Type 2: Sound Blaster
Type 7: SB MPU-401

Card config: 
(Sound Blaster at 0x220 irq 7 drq 1,5)
(SB MPU-401 irq 1 drq 0)

Audio devices:

Synth devices:

Midi devices:

Timers:
0: System clock

Mixers:


---------------------------
2)
pcmcia-cs

In response to "make config", then "make all"
within /usr/src/linux/pcmcia-cs-3.0.6/ I get the following 
errors; think it has to do with the gcc version but 
not sure. 
also, a search dejanews showed that others had 
a similiar problem, but I didn't see a final solution 
to the situtation. Perhaps something justs needs to 
be commented out? 

"locate gcc" reveals that my system has the following 
directories and files: 

/usr/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.60
/usr/lib/gcc-lib/i486-pc-linux-gnu/2.7.2.3

You may be mumbling "why not just go with a more 
recent kernel". I may do that, but I found that 
certain things in TL 3.0.2 cannot be used with 
a newer kernel. One thing that was bothersome was 
the loss of qps, a GUI that works much like TOP. 
Turns out that a new version of qt was needed but 
I wasn't able to introduce them into the system 
easily...
Rather than fight with this (small) problem and 
others that may pop up, I would prefer just to 
solve this pcmcia-cs situation and plod on with 
the older kernel...



the errors: 


set -e ; for d in modules clients cardmgr flash debug-tools man
etc ; do
make -C $d ; done
make[1]: Entering directory
`/usr/src/linux-2.0.36/pcmcia-cs-3.0.6/modules'
gcc  -MD -O2 -Wall -Wstrict-prototypes -Winline -pipe -O2
-fno-strength-reduce -D__KERNEL__ -DMODULE -I../include
-I/usr/src/linux/include -I/usr/src/linux -c i82365.c
In file included from i82365.c:28:
/usr/src/linux/include/linux/types.h:7: warning: #warning "This code is
tested with gcc 2.7.2.x only. Using egcs/gcc 2.8.x needs"
/usr/src/linux/include/linux/types.h:8: warning: #warning "additional
patches that have not been sufficiently tested to include by"
/usr/src/linux/include/linux/types.h:9: warning: #warning "default."
/usr/src/linux/include/linux/types.h:10: warning: #warning "See
http://www.suse.de/~florian/kernel+egcs.html for more information"
/usr/src/linux/include/linux/types.h:11: #error "Remove this if you have
applied the gcc 2.8/egcs patches and wish to use them"
/usr/src/linux/include/asm/string.h: In function `__constant_memcpy':
In file included from /usr/src/linux/include/linux/string.h:39,
                 from i82365.c:30:
/usr/src/linux/include/asm/string.h:443: warning: control reaches end of
non-void function
/usr/src/linux/include/asm/string.h: In function
`__constant_c_and_count_memset':
/usr/src/linux/include/asm/string.h:594: warning: control reaches end of
non-void function
make[1]: *** [i82365.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.36/pcmcia-cs-3.0.6/modules'
make: *** [all] Error 2


Also, I should perhaps mention that during the prior 
"make config" step, I get a couple of "broken pipe" 
messages that seem to be complaining about 
the line "grep -q" that is encountered. Don't know if 
it is something related, something minor, or what...
Please advise! 
 




Reply via email to