[KLUG Members] ALSA with 2.4.20-27.9 and unresolved symbols
Adam Williams
members@kalamazoolinux.org
Mon, 5 Jan 2004 10:33:59 -0500 (EST)
Ok, I got ALSA to work!
RedHat tweaked their kernel in the last update, something to do with back
porting work queues.
I made the following changes to the SPEC file and the resulting RPM now
works happily.
%build
%configure \
--with-kernel=/usr/src/linux-%{kversion} \
--with-moddir=/lib/modules/%{kernel}/kernel/sound \
%{?_without_isapnp:--with-isapnp=no} \
%{?_without_sequencer:--with-sequencer=no} \
%{?_without_oss:--with-oss=no} \
--with-cards=%{cards}
+ mkdir -p include/linux
+ touch include/linux/workqueue.h
make %{?_smp_mflags} MODFLAGS="-DMODULE=1 -D__BOOT_KERNEL_H_
-D__MODULE_KERNEL_%{_target_cpu}=1 %{?ksmp:-D__BOOT_KERNEL_SMP=1}
%{!?ksmp:-D__BOOT_KERNEL_UP=1}"