Takashi Iwai wrote:
> CONFIG_SND_PCI is obsolete. it is now renamed to CONFIG_PCI as well
Nice. So I should simply alter the Makefile.conf to CONFIG_PCI=y ?
>>What should I create, alter, or such to have a working alsa-driver0.9.0rc2?
> i guess that your kernel tree is not located at /usr/src/linux,
> which is looked for by configure script as default.
> (or it might be the different directory, pointed by
> /lib/modules/XXX/build symlink.)
The kernel source is located at
/usr/src/linux-2.4.18-6mdk
There's a symbolic link named
/usr/src/linux
made by hand some months ago
> this is strange. it means that configure script couldn't figure out
> what cpu is.
> you can pass the path of the kernel tree explicitly to configure via
> --with-kernel option.
The directory
/lib/modules/2.4.18-6mdk/
(that is present in the 1st 0.9.0rc2 Makefile.conf I sent to the list)
has a symbolic link named
build
that points to
/usr/src/linux-2.4.18-6mdk
made some months ago too, so
/usr/src/linux
/usr/src/linux-2.4.18-6mdk
/lib/modules/2.4.18-6mdk/build
point to the same directory.
Let me point that alsa-driver0.9.0__rc1__ compiled and installed nicely
with no special --with-kernel parameters.
This is the 0.9.0rc2 Makefile.conf generated by
./configure --with-cards=all --with-sequencer=yes --with-oss=yes
--with-kernel=/usr/src/linux-2.4.18-6mdk
Please note --> CONFIG_PCI=n <--
# Generated automatically from Makefile.conf.in by configure.
#
# Configuration Makefile for ALSA driver
# Copyright (c) 1994-98 by Jaroslav Kysela <[EMAIL PROTECTED]>
#
CROSS_COMPILE ?=
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
CC = $(CROSS_COMPILE)gcc -DALSA_BUILD
CPP = $(CROSS_COMPILE)gcc -E -M -DALSA_BUILD
AR = $(CROSS_COMPILE)ar
MODFLAGS = -DMODULE=1
CFLAGS_KERNEL =
GENKSYMS = /sbin/genksyms -k 2.4.18
mainsrcdir = .
MAINSRCDIR = /usr/local/src/alsa-driver-0.9.0rc2
prefix = /usr
sysconfdir = ${prefix}/etc
sbindir = ${exec_prefix}/sbin
moddir = /lib/modules/2.4.18-6mdk/kernel/sound
moddir_tree = y
c_opts = -O2 -DLINUX
m_opts =
processor = unknown
msmp =
kaversion = 2.4.18-6mdk
kversion = 2
kpatchlevel = 4
ksublevel = 18
kextraversion = -6mdk
CONFIG_SND_VERSION = 0.9.0rc2
CONFIG_SND_KERNELDIR = /usr/src/linux-2.4.18-6mdk
CONFIG_MODULES = y
CONFIG_SND = m
CONFIG_SND_MVERSION = n
CONFIG_PCI = n
CONFIG_ISA = n
CONFIG_ISAPNP_KERNEL = y
CONFIG_ISAPNP = y
CONFIG_SGI = n
CONFIG_L3 = n
CONFIG_ARM = n
CONFIG_PPC = n
CONFIG_SND_SEQUENCER = m
CONFIG_SND_OSSEMUL = y
ifeq (y,$(CONFIG_SND_OSSEMUL))
CONFIG_SND_MIXER_OSS = m
CONFIG_SND_PCM_OSS = m
ifeq (m,$(CONFIG_SND_SEQUENCER))
CONFIG_SND_SEQUENCER_OSS = y
endif
else
CONFIG_SND_MIXER_OSS = n
CONFIG_SND_PCM_OSS = n
CONFIG_SND_SEQUENCER_OSS = n
endif
CONFIG_SND_RTCTIMER = n
CONFIG_RTC = n
CONFIG_USB = n
INCLUDE = -I$(TOPDIR)/include -I$(CONFIG_SND_KERNELDIR)/include
CFLAGS = $(MODFLAGS) $(INCLUDE) $(c_opts) -Wall
-Wstrict-prototypes -fomit-frame-pointe
r -pipe
MAKE += $(m_opts)
SNDVERSIONS = $(TOPDIR)/include/sndversions.h
DEXPORT = $(TOPDIR)/include/modules
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user