Alsa people,

I pinged the list a while back while I was attempting to get ALSA working on
my RedHat 7.3 box and I eventually gave up.  In an effort to be somewhat
helpful I have listed the general chronology below, sorry if the detail is
missing (not to mention my dodgy memory) but the theme seems to be
consistent with other punters having difficulty getting it happening:

    - Started with kernel 2.4.18-5, all updates applied using up2date
(redhat's upgrade tool).  I have not recompiled the kernel locally, I have
just used binary RPM's (+kernel source).

    - Had various difficulties in configure/make process, had various tips
from this list but all no go.  I got as far as compiling some modules but
got missing symbols trying to modprobe snd.o.

    - I tried again, first manually selecting the config for my kernel to
ensure everything was in sync.

    - Finally decided to update to 2.4.18-10 kernel being careful to only
install kernel and matching source (athlon).  I didn't create any links
manually in the kernel source directories.

    - Blew away the alsa-* directories and started again.  This time got
alot further, to the point where I could modprobe the alsa drivers and
compile the libraries.

    - At this point I could no longer run KMix so I attempted to compile
alsa-utils to unmute the sound devices.  It bailed out at the configure
point with "no linkable libasound.so"

    - Now this is where things got scary.  I again blew away the alsa-*
source directories and started with a fresh set.  Now I can't even compile
them, there are numerous error messages including deprecated stuff to do
with malloc.  I have made no manual changes in the kernel source directories
and it is strange that the configure/compile process was not repeatable.

    - So now I figure I need to install a new kernel and source then I get
exactly one shot at compiling everything successfully.

If you think some more detail would be helpful I can go back and repeat
steps.

Cheers

----- Original Message -----
From: "Florian Bomers" <[EMAIL PROTECTED]>
To: "ALSA user" <[EMAIL PROTECTED]>
Sent: Saturday, October 05, 2002 5:13 AM
Subject: [Alsa-user] Compilation problems drivers 0.9rc3 w/ SuSE 7.2


> I use the stock kernel 2.4.4.SuSE
> installed kernel source rpm
> removed include/linux/isapnp.h
> ./configure --with-kernel=/usr/src/linux
> make install
> --> compilation error something like "linux/version.h does not exist"
(sorry no
> output available)
>
> did a "make config" and "make dep" in the kernel source.
> in alsa driver dir:
> make mrproper
> ./configure --with-kernel=/usr/src/linux
> make install
> --> compilation error:
> ...
>
gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/root/alsa-driver-0.9.0rc3/includ
e
> -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLI
NUX
> -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe   -DEXPORT_SYMTAB -c
> sound.c
> sound.c:41: `snd_hack_usb_set_interface' undeclared here (not in a
function)
> sound.c:41: initializer element is not constant
> sound.c:41: (near initialization for
> `__ksymtab_snd_hack_usb_set_interface.value')
> make[1]: *** [sound.o] Error 1
> make[1]: Leaving directory `/root/alsa-driver-0.9.0rc3/acore'
> make: *** [compile] Error 1
>
> Mailing list archive did not produce meaningful answers.
> I have had similar problems with a stock Redhat 7.3 installation, which I
could
> only work around by installing a new kernel.
>
> Thanks for any hints or pointers,
> Florian
>
> --
> Florian Bomers
> Java Sound
> Java Software/Sun Microsystems, Inc.
> http://java.sun.com/products/java-media/sound/
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Alsa-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to