You are not logged in.
Pages: 1
For some reason my sound stopped working today. So I decided to do a kernel update (using pacman of course) and reinstall ALSA. When originally installing my system, I had no problem compiling ALSA using http://alsa.opensrc.org/index.php/AlsaCVS guide. But now I get the following message:
[dburban@ArchT61 alsa-driver]$ sudo ./cvscompile --with-cards=hda-intel
make: Nothing to be done for `all-deps'.
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libxosd.m4:9: run info '(automake)Extending aclocal'
/usr/share/aclocal/libxosd.m4:9: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
./configure --with-cards=hda-intel
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/dburban/Desktop/alsacvs/alsa-driver
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.22-ARCH/source
checking for directory with kernel build... /lib/modules/2.6.22-ARCH/build
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... no
The file /lib/modules/2.6.22-ARCH/source/include/linux/autoconf.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.22-ARCH/source).
[dburban@ArchT61 alsa-driver]$
[dburban@ArchT61 alsa-driver]$ sudo ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/dburban/Desktop/alsacvs/alsa-driver
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.22-ARCH/source
checking for directory with kernel build... /lib/modules/2.6.22-ARCH/build
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... no
The file /lib/modules/2.6.22-ARCH/source/include/linux/autoconf.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.22-ARCH/source).
[dburban@ArchT61 alsa-driver]$
I have no clue what to do from here. Google didn't help me either
I should also mention that I reinstalled autoconf.
Last edited by 0l33l (2007-10-09 05:37:55)
Offline
The problem is described in the error message, along with a suggested solution.The build process is looking for autoconf.h in the default location, but Arch does not have that directory. I'm not inclined to spell it out fully, as it's already very clear IMO, but if you can't work it out, let me know.
Offline
Thanks. I just wasn't too sure if that would do the trick.
But it still won't compile
ALSA modules were successfully compiled.
[root@ArchT61 alsa-driver]# make install
if [ -L /usr/include/sound ]; then \
rm -f /usr/include/sound; \
ln -sf /home/dburban/Desktop/alsacvs/alsa-driver/include/sound /usr/include/sound; \
else \
rm -rf /usr/include/sound; \
install -d -m 755 -g root -o root /usr/include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /usr/include/sound; \
done \
fi
find /lib/modules/2.6.22-ARCH/kernel/sound -name 'snd*.*o' | xargs rm -f
find /lib/modules/2.6.22-ARCH/kernel/sound -name 'snd*.*o.gz' | xargs rm -f
find /lib/modules/2.6.22-ARCH/kernel/sound -name 'ac97_bus.*o' | xargs rm -f
find /lib/modules/2.6.22-ARCH/kernel/sound -name 'ac97_bus.*o.gz' | xargs rm -f
make[1]: Entering directory `/home/dburban/Desktop/alsacvs/alsa-driver/acore'
mkdir -p /lib/modules/2.6.22-ARCH/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.22-ARCH/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rtctimer.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/home/dburban/Desktop/alsacvs/alsa-driver/acore'
make: *** [install-modules] Error 1
[root@ArchT61 alsa-driver]#
Offline
Bump? I really don't want to (or have the time) do to a system reinstall
Offline
I also get this other error:
[dburban@ArchT61 ~]$ cd /usr/src/linux-2.6.22-ARCH/
[dburban@ArchT61 linux-2.6.22-ARCH]$ ls
Makefile block fs kernel net sound vmlinux
Module.symvers crypto include lib scripts source
arch drivers init mm security usr
[dburban@ArchT61 linux-2.6.22-ARCH]$ make
scripts/kconfig/conf -s arch/x86_64/Kconfig
arch/x86_64/Kconfig:697: can't open file "drivers/acpi/Kconfig"
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
The problems may be related
Offline
Pages: 1