LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trouble compiling alsa drivers on slackware 10.1, kernels 2.6.11.8 and 2.6.12.5 (https://www.linuxquestions.org/questions/linux-software-2/trouble-compiling-alsa-drivers-on-slackware-10-1-kernels-2-6-11-8-and-2-6-12-5-a-354072/)

salviadud 08-16-2005 11:51 PM

trouble compiling alsa drivers on slackware 10.1, kernels 2.6.11.8 and 2.6.12.5
 
i get this error on kernel 2.6.11.8 and kernel 2.6.12.5

Code:

Building modules, stage 2.
/usr/src/linux-2.6.11.8/scripts/Makefile.modpost:38: .config: No such
file or directory
make[3]: *** No rule to make target `.config'.  Stop.
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.8'
make: *** [compile] Error 2

now. i've done this before... i just don't get it. when i compiled the kernel i did not put alsa as a module, but i did enable sound support, its freakin weird dudes...

by the way, any version of the drivers give me the same damn prob...

this is specifically 1.0.8

Bruce Hill 08-17-2005 10:31 AM

Slackware-10.1 has ALSA, and the 2.6 kernels have ALSA support.
Here's my config for 2.6.12.4 ... follow it and do yours accordingly,
and don't build ALSA from source.
Code:

# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m <--- this is my PCI sound card
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
CONFIG_SND_VIA82XX=m <--- this is my onboard soundchip (disabled in CMOS)
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_HDA_INTEL is not set


salviadud 08-17-2005 03:31 PM

hey, i got it working
if it helps... what i was doing wrong was, i had an older version of udev, 050, and then i upgraded to 064, so if anybody else has problems compiling alsa, its probably because of that...

foo_bar_foo 08-17-2005 05:25 PM

the line causing the problem was nothing more than
include .config

while older udev won't boot with new kernel udev did not cause this problem
you just tried to make modules without first creating .config with make xconfig or whatever


All times are GMT -5. The time now is 08:34 AM.