hi Patrick Shirkey,
You last email really helped a lot. Thanks. Here is a new problem:
Compile error for RedHat 7.0 with Kernel 2.2.16-22 and a ALS4000 sound
Here is the setup in my computer:
(1) First check to see what modules have benn installed.
modprobe -l
Here's the relevant part from my setup
/lib/modules/2.2.16-22/ipv4/ip_masq_raudio.o
/lib/modules/2.2.16-22/misc/i810_audio.o
/lib/modules/2.2.16-22/usb/audio.o
/lib/modules/2.2.16-22/misc/sound.o
/lib/modules/2.2.16-22/misc/soundcore.o
/lib/modules/2.2.16-22/misc/soundlow.o
(2)try to compile lsa-driver-0.5.11.tar.bz2
tar xIf alsa-driver-0.5.11.tar.bz2
cd alsa-driver-0.5.11
./configure
make
Here is the error part:
...
In file included from card-opti92x-cs4231.c:2:
card-opti92x-ad1848.c:150:68: warning: nothing can be pasted after this token
In file included from card-opti93x.c:3:
card-opti92x-ad1848.c:150:68: warning: nothing can be pasted after this token
make[2]: Leaving directory `/home/john/alsa/alsa-driver-0.5.11/cards'
make[1]: Leaving directory `/home/john/alsa/alsa-driver-0.5.11'
make[1]: Entering directory `/home/john/alsa/alsa-driver-0.5.11/kernel'
gcc -DALSA_BUILD -D__KERNEL__ -O2 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c
sound.c
In file included from ../include/driver.h:66,
from sound.c:23:
/usr/src/linux/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/src/linux/include/linux/modversions.h:2:2: #error but headers from an
appropriate kernel-source
{standard input}: Assembler messages:
{standard input}:8: Warning: Ignoring changed section attributes for .modinfo
make[1]: *** [sound.o] Error 1
make[1]: Leaving directory `/home/john/alsa/alsa-driver-0.5.11/kernel'
make: *** [compile] Error 1
-- John
--- Patrick Shirkey <[EMAIL PROTECTED]> wrote:
> John Smith wrote:
> >
> > hi,
> >
> > I have an ALS4000 sound card. i have downloaded alsa-driver-0.5.11.tar.bz2
> > which supports my soundcard. I looked at the INSTALL file which says "You
> must
> > turn on sound support (soundcore module)". I have no idea how to do that?
> >
> > You help is very important since I am a newbie for linux.
> >
> > THANK YOU VERY MUCH IN ADVANCE.
> >
>
> First check to see what modules you have installed.
>
> modprobe -l
>
> Here's the relevant part from my setup.
>
> /lib/modules/2.4.7/kernel/drivers/sound/i810_audio.o
> /lib/modules/2.4.7/kernel/drivers/sound/soundcore.o
>
> If you can see soundcore and another for your card then you don't have
> to recompile you kernel. If not then you have to recompile your kernel.
> If you haven't done it before then now is the time to learn. There is a
> huge list of howtos that can tell you how but most newbies start out
> with Joshs Linux guide
>
> http://jgo.local.net/LinuxGuide/
>
> If you do this then the most useful way is to make modules for your
> cards oss driver. That way while you are learning the process of
> installing alsa you can still have access to your soundcard. Once you
> have alsa running you won't need to use them anymore.
>
> If you have the modules already then you just need to follow the
> instructions in the alsa-howto. There is a version in the LAU guide (see
> below) or you can get to it from the alsa homepage.
>
> --
> Patrick Shirkey - Manager Boost Hardware
> Limited.
>
> Http://www.boosthardware.com - For the discerning hardware connoisseur.
> http://www.boosthardware.com/LAU/Linux_Audio_Users_Guide/
> =======================================================================
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
http://im.yahoo.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user