I am using these instructions at
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=ESS+Technology&card=.&chip=ES1938+%28Solo-1%29%2C+ES1946+%28Solo-1E%29&module=es1938
everything works up until this instruction
./configure --with-cards=es1938 --with-sequencer=yes;make;make install
here is my output.
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9# ./configure
--with-cards=es1938 --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9'
Please, run the configure script as first...
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9/acore'
Makefile:6: /usr/src/alsa/alsa-driver-1.0.9/Makefile.conf: No such
file or directory
make[1]: *** No rule to make target
`/usr/src/alsa/alsa-driver-1.0.9/Makefile.conf'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9/acore'
make: *** [install-modules] Error 1
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9# apt-get install cpp
Reading Package Lists... Done
Building Dependency Tree... Done
cpp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 293 not upgraded.
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9#
after this I can't switch to any of the diretories I am supposed to
go to. Any idea what might be wrong? I have been using feather
linux for a while but I don't know how to compile things.
I am using feather linux 0.7.5 based on knoppix and debian. It is using the sarge stable kernel. I have tried for help at the alsa user list alread and at feather linux.
Bookmark/Search this post with:
Don't compile, use existing packages
Hi there
Sarge has two kernels: 2.4 and 2.6. Which on are you using (run "uname -r")?
You don't need to compile anything.
If you're running 2.4 and you're ok with running the 2.6 kernel, install it with
aptitude install kernel-image-2.6-386
Linux 2.6 has alsa built-in.
If you want to keep the current 2.4 kernel, install the alsa modules for the 2.4 kernel
aptitude install alsa-modules-2.4-386
In any case though (whether you use the 2.6 kernel or installed the 2.4 modules), install the following alsa packages:
aptitude install alsa-base alsa-utils alsa-oss
Cheers, Georg
Don't compile, use existing packages
I am using 2.4.27-3-k6.
feather is a distro for older computers and I am told the 2.6 kernel is bigger and will run much slower on my computer.
The latest alsa modules are already installed, but they are not working because they don't have the driver for my soundcard.
check dependencies...
Make sure you have a version of Alsa released which is compatible with your build tools - your log shows
'cpp failed sanity check' - find out why. Everything else fails after that of course. Are you sure you have all the tools needed to build Alsa?
check dependencies...
No I am not sure whether I have to tools I need to build Alsa. How do I check to see whether my version of Alsa is compatable with my build tools?
apt-get build-dep
Hi there
If you have a deb-src line in /etc/apt/sources.list I suggest you use "apt-get build-dep".
apt-get build-dep alsa-driver alsa-utils
This will install all the packages that are needed to build (i.e. compile and link) the (Debian) alsa drivers and utilities. This should satisfy all build dependencies even if you try to compile the newest alsa drivers.
(Note: if you don't have a deb-src line, just copy the main deb line and append the -src, save and do a apt-get update).
And in addition, just to be on the safe side, install the following too (these are the basic packages needed to start compiling and developing stuff):
apt-get install binutils gcc libc6-dev make
Now run ./configure && etc. again.
Good luck!
Georg
apt-get build-dep
Ok I downloaded and installed all those things and ran that command again, but I appear to be getting the exact same error with cpp failing the sanity check.
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9# ./configure --with-cards=es1938 --w ith-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9'
Please, run the configure script as first...
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9/acore'
Makefile:6: /usr/src/alsa/alsa-driver-1.0.9/Makefile.conf: No such file or direc tory
make[1]: *** No rule to make target `/usr/src/alsa/alsa-driver-1.0.9/Makefile.co nf'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9/acore'
make: *** [install-modules] Error 1
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9#
by the way I really do appreciate your help.
Install g++
Hi there
Rather cryptic error message, but AFAIK,
C preprocessor "/lib/cpp" fails sanity check means you don't have a C++ compiler installed.
I don't know why alsa needs a C++ compiler though. I always thought it only uses C. But that may just be an error in the configure script (i.e. although it's not needed, it looks for it).
Anyway, install the package 'g++' and try again.
Cheers, Georg
Install g++
Ok I tried again, but apt-get said I already have the latest version.
bash: jack: command not found
[1]+ Exit 127 jack -d alsa
root@tluxus:~# apt-get install g++
Reading Package Lists... Done
Building Dependency Tree... Done
g++ is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 291 not upgraded.
root@tluxus:~# apt-get install c++
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package c
root@tluxus:~#
Thanks again for the quick responce.
Messed up system?
Hi, it's me again.
I tried to compile it myself now (alsa-driver-1.0.9) and I don't get the same output for configure.
Instead of your /lib/cpp, I get this:
...
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
...
Note that the preprocessor command configure finds on my system is "gcc -E" whereas on yours it is /lib/cpp.
Tell me what the following three commands return:
/usr/bin/file /lib/cpp
/usr/sbin/update-alternatives --display cc
/usr/sbin/update-alternatives --display c++
BTW, don't give up! Usually it is really not that hard to compile stuff yourself. But something's messed up here... we'll find it ;-).
Messed up system?
Sorry it took so long to get back to you. I have been busy of late. Anyway, here is what the three commands returned.
bash: jack: command not found
[1]+ Exit 127 jack -d alsa
root@tluxus:~# /usr/bin/file /lib/cpp
/lib/cpp: symbolic link to `/usr/bin/cpp-3.3'
root@tluxus:~# /usr/sbin/update-alternatives --display cc
cc - status is auto.
link currently points to /usr/bin/gcc
/usr/bin/tcc - priority 10
slave cc.1.gz: /usr/share/man/man1/tcc.1.gz
/usr/bin/gcc - priority 20
slave cc.1.gz: /usr/share/man/man1/gcc.1.gz
Current `best' version is /usr/bin/gcc.
root@tluxus:~# /usr/sbin/update-alternatives --display c++
c++ - status is auto.
link currently points to /usr/bin/g++
/usr/bin/g++ - priority 20
slave c++.1.gz: /usr/share/man/man1/g++.1.gz
Current `best' version is /usr/bin/g++.
root@tluxus:~#
config.log
Are there any clues in config.log?
Where do I find config.log
Where do I find config.log?
In the same directory where you ran ./configure
The file config.log is created in the source root where you executed "configure" (e.g. with ./configure).
Post this file here in the forum.
In the same directory where you ran ./configure
I have no experience successfully compiling anything, so I am not sure what you are trying to say. I typed ./configure and got this.
root@tluxus:~# ./configure
bash: ./configure: No such file or directory
root@tluxus:~#
I also tried
root@tluxus:~# ./configure --help
bash: ./configure: No such file or directory
root@tluxus:~# ./configure --config.log
bash: ./configure: No such file or directory
root@tluxus:~#
NoAlternative
Brian (not wanting to be a messiah): "You are all individuals..."
Crowd (in unison): "We are all individuals..."
Monty Python's "Life Of Brian
In the same directory where you ran ./configure
cd to /usr/src/alsa/alsa-driver-1.0.9 first.
Then run ./configure.
The "./" in "./configure" specifies that configure is located in the current directory, so you have to be in /usr/src/alsa/alsa-driver-1.0.9, which is where configure and config.log are located.
Thanks
Understood. Here is the config.log from that directory.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ ./configure --with-cards=es1938 --with-sequencer=yes
## --------- ##
## Platform. ##
## --------- ##
hostname = tluxus
uname -m = i586
uname -r = 2.4.27
uname -s = Linux
uname -v = #2 SMP Mo Aug 9 19:34:51 CEST 2004
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i586
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1323: checking for gcc
configure:1339: found /usr/bin/gcc
configure:1349: result: gcc
configure:1593: checking for C compiler version
configure:1596: gcc --version &5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1599: $? = 0
configure:1601: gcc -v &5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:1604: $? = 0
configure:1606: gcc -V &5
gcc: `-V' option must have argument
configure:1609: $? = 1
configure:1633: checking for C compiler default output
configure:1636: gcc conftest.c >&5
configure:1639: $? = 0
configure:1685: result: a.out
configure:1690: checking whether the C compiler works
configure:1696: ./a.out
configure:1699: $? = 0
configure:1716: result: yes
configure:1723: checking whether we are cross compiling
configure:1725: result: no
configure:1728: checking for suffix of executables
configure:1730: gcc -o conftest conftest.c >&5
configure:1733: $? = 0
configure:1758: result:
configure:1764: checking for suffix of object files
configure:1786: gcc -c conftest.c >&5
configure:1789: $? = 0
configure:1811: result: o
configure:1815: checking whether we are using the GNU C compiler
configure:1840: gcc -c conftest.c >&5
configure:1843: $? = 0
configure:1846: test -s conftest.o
configure:1849: $? = 0
configure:1862: result: yes
configure:1868: checking whether gcc accepts -g
configure:1890: gcc -c -g conftest.c >&5
configure:1893: $? = 0
configure:1896: test -s conftest.o
configure:1899: $? = 0
configure:1910: result: yes
configure:1927: checking for gcc option to accept ANSI C
configure:1988: gcc -c -g -O2 conftest.c >&5
configure:1991: $? = 0
configure:1994: test -s conftest.o
configure:1997: $? = 0
configure:2015: result: none needed
configure:2033: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2036: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2186: checking for ranlib
configure:2202: found /usr/bin/ranlib
configure:2213: result: ranlib
configure:2262: checking for a BSD-compatible install
configure:2316: result: /usr/bin/install -c
configure:2339: checking how to run the C preprocessor
configure:2375: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:295,
from /usr/include/assert.h:36,
from configure:2372:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:295,
from /usr/include/assert.h:36,
from configure:2372:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2457: result: /lib/cpp
configure:2482: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2477:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2488: $? = 1
configure: failed program was:
| #line 2468 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2482: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2477:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2488: $? = 1
configure: failed program was:
| #line 2468 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2556: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='ar'
ARCH=''
AS='as'
CC='gcc'
CFLAGS='-g -O2'
CONFIG_ALPHA=''
CONFIG_ARCH_PXA=''
CONFIG_ARCH_S3C2410=''
CONFIG_ARCH_SA1100=''
CONFIG_ARM=''
CONFIG_ARM_AMBA=''
CONFIG_ASIHPK=''
CONFIG_BROKEN=''
CONFIG_EXPERIMENTAL=''
CONFIG_FW_LOADER=''
CONFIG_GSC=''
CONFIG_HAVE_PCSP_HOOK=''
CONFIG_HPET=''
CONFIG_I2C=''
CONFIG_I2C_SENSOR=''
CONFIG_INPUT=''
CONFIG_ISA=''
CONFIG_ISAPNP=''
CONFIG_ISAPNP_KERNEL=''
CONFIG_L3=''
CONFIG_MIPS=''
CONFIG_PARISC=''
CONFIG_PARPORT=''
CONFIG_PCI=''
CONFIG_PCMCIA=''
CONFIG_PNP=''
CONFIG_PNP_KERNEL=''
CONFIG_PPC=''
CONFIG_PPC_PMAC=''
CONFIG_PROC_FS=''
CONFIG_RTC=''
CONFIG_SBUS=''
CONFIG_SGI=''
CONFIG_SND=''
CONFIG_SND_AC97_CODEC=''
CONFIG_SND_AD1816A=''
CONFIG_SND_AD1848=''
CONFIG_SND_AD1848_LIB=''
CONFIG_SND_ALI5451=''
CONFIG_SND_ALS100=''
CONFIG_SND_ALS4000=''
CONFIG_SND_ARMAACI=''
CONFIG_SND_ASIHPI=''
CONFIG_SND_ATIIXP=''
CONFIG_SND_ATIIXP_MODEM=''
CONFIG_SND_AU1X00=''
CONFIG_SND_AU8810=''
CONFIG_SND_AU8820=''
CONFIG_SND_AU8830=''
CONFIG_SND_AZT2320=''
CONFIG_SND_AZT3328=''
CONFIG_SND_BIT32_EMUL=''
CONFIG_SND_BT87X=''
CONFIG_SND_BT87X_OVERCLOCK=''
CONFIG_SND_CA0106=''
CONFIG_SND_CMI8330=''
CONFIG_SND_CMIPCI=''
CONFIG_SND_CS4231=''
CONFIG_SND_CS4231_LIB=''
CONFIG_SND_CS4232=''
CONFIG_SND_CS4236=''
CONFIG_SND_CS4281=''
CONFIG_SND_CS46XX=''
CONFIG_SND_CS46XX_NEW_DSP=''
CONFIG_SND_DARLA20=''
CONFIG_SND_DARLA24=''
CONFIG_SND_DATE=''
CONFIG_SND_DEBUG=''
CONFIG_SND_DEBUG_DETECT=''
CONFIG_SND_DEBUG_MEMORY=''
CONFIG_SND_DT019X=''
CONFIG_SND_DUMMY=''
CONFIG_SND_ECHO3G=''
CONFIG_SND_EMU10K1=''
CONFIG_SND_EMU10K1X=''
CONFIG_SND_ENS1370=''
CONFIG_SND_ENS1371=''
CONFIG_SND_ES1688=''
CONFIG_SND_ES18XX=''
CONFIG_SND_ES1938=''
CONFIG_SND_ES1968=''
CONFIG_SND_ES968=''
CONFIG_SND_FM801=''
CONFIG_SND_FM801_TEA575X=''
CONFIG_SND_GENERIC_PM=''
CONFIG_SND_GINA20=''
CONFIG_SND_GINA24=''
CONFIG_SND_GUSCLASSIC=''
CONFIG_SND_GUSEXTREME=''
CONFIG_SND_GUSMAX=''
CONFIG_SND_GUS_SYNTH=''
CONFIG_SND_HARMONY=''
CONFIG_SND_HDA_INTEL=''
CONFIG_SND_HDSP=''
CONFIG_SND_HDSPM=''
CONFIG_SND_HPET=''
CONFIG_SND_HWDEP=''
CONFIG_SND_ICE1712=''
CONFIG_SND_ICE1724=''
CONFIG_SND_INDIGO=''
CONFIG_SND_INDIGODJ=''
CONFIG_SND_INDIGOIO=''
CONFIG_SND_INTEL8X0=''
CONFIG_SND_INTEL8X0M=''
CONFIG_SND_INTERWAVE=''
CONFIG_SND_INTERWAVE_STB=''
CONFIG_SND_KERNELDIR=''
CONFIG_SND_KORG1212=''
CONFIG_SND_LAYLA20=''
CONFIG_SND_LAYLA24=''
CONFIG_SND_LOOPBACK=''
CONFIG_SND_MAESTRO3=''
CONFIG_SND_MIA=''
CONFIG_SND_MIRO=''
CONFIG_SND_MIXART=''
CONFIG_SND_MIXER_OSS=''
CONFIG_SND_MONA=''
CONFIG_SND_MPU401=''
CONFIG_SND_MPU401_UART=''
CONFIG_SND_MSND_PINNACLE=''
CONFIG_SND_MTPAV=''
CONFIG_SND_MVERSION=''
CONFIG_SND_NM256=''
CONFIG_SND_OPL3SA2=''
CONFIG_SND_OPL3_LIB=''
CONFIG_SND_OPL4_LIB=''
CONFIG_SND_OPTI92X_AD1848=''
CONFIG_SND_OPTI92X_CS4231=''
CONFIG_SND_OPTI93X=''
CONFIG_SND_OSSEMUL=''
CONFIG_SND_PC98_CS4232=''
CONFIG_SND_PCM=''
CONFIG_SND_PCM_OSS=''
CONFIG_SND_PCSP=''
CONFIG_SND_PCXHR=''
CONFIG_SND_PDAUDIOCF=''
CONFIG_SND_PDPLUS=''
CONFIG_SND_PORTMAN2X4=''
CONFIG_SND_POWERMAC=''
CONFIG_SND_PXA2XX_AC97=''
CONFIG_SND_PXA2XX_PCM=''
CONFIG_SND_RAWMIDI=''
CONFIG_SND_RME32=''
CONFIG_SND_RME9652=''
CONFIG_SND_RME96=''
CONFIG_SND_RTCTIMER=''
CONFIG_SND_S3C2410=''
CONFIG_SND_SA11XX_UDA1341=''
CONFIG_SND_SB16=''
CONFIG_SND_SB16_CSP=''
CONFIG_SND_SB8=''
CONFIG_SND_SBAWE=''
CONFIG_SND_SEQUENCER=''
CONFIG_SND_SEQUENCER_OSS=''
CONFIG_SND_SEQ_DUMMY=''
CONFIG_SND_SERIALMIDI=''
CONFIG_SND_SERIAL_U16550=''
CONFIG_SND_SGALAXY=''
CONFIG_SND_SONICVIBES=''
CONFIG_SND_SSCAPE=''
CONFIG_SND_SUN_AMD7930=''
CONFIG_SND_SUN_CS4231=''
CONFIG_SND_SUN_DBRI=''
CONFIG_SND_TIMER=''
CONFIG_SND_TRIDENT=''
CONFIG_SND_USB_AUDIO=''
CONFIG_SND_USB_USX2Y=''
CONFIG_SND_VERBOSE_PRINTK=''
CONFIG_SND_VERSION='1.0.9'
CONFIG_SND_VIA82XX=''
CONFIG_SND_VIA82XX_MODEM=''
CONFIG_SND_VIRMIDI=''
CONFIG_SND_VX222=''
CONFIG_SND_VXP440=''
CONFIG_SND_VXPOCKET=''
CONFIG_SND_VX_LIB=''
CONFIG_SND_WAVEFRONT=''
CONFIG_SND_YMFPCI=''
CONFIG_SOC_AU1000=''
CONFIG_SOC_AU1100=''
CONFIG_SOC_AU1500=''
CONFIG_SOUND=''
CONFIG_SOUND_PRIME=''
CONFIG_SPARC32=''
CONFIG_SPARC64=''
CONFIG_USB=''
CONFIG_VIDEO_DEV=''
CONFIG_X86=''
CONFIG_X86_PC9800=''
CPP='/lib/cpp'
CPPFLAGS=''
CROSS_COMPILE=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_INCLUDES=''
GENKSYMS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KERNEL_INC=''
KLD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKE_ADDS=''
NEW_KBUILD=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SHELL='/bin/sh'
SRCDIR=''
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
bindir='${exec_prefix}/bin'
build_alias=''
c_opts=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
kaversion=''
kextraversion=''
kpatchlevel=''
ksublevel=''
kversion=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
m_opts=''
mandir='${prefix}/man'
moddir=''
moddir_tree=''
modsubdir=''
msmp=''
oldincludedir='/usr/include'
prefix='NONE'
processor=''
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 1
-------
NoAlternative
Brian (not wanting to be a messiah): "You are all individuals..."
Crowd (in unison): "We are all individuals..."
Monty Python's "Life Of Brian
Kernel headers missing
Hi
I don't know what the ALSA documentation says, but if you need to build a driver module for the kernel there are some things that are required to build it.
Generally the compiler and libc and such are needed. This is what you installed with apt-get in one of the first few posts.
To compile something for the Kernel, one also needs the kernel headers (i.e. the programming interface to the kernel). For that, we need to know of what version/flavour your current kernel is (execute the following line):
aptitude search "~ikernel-image"
This should print something like this:
i kernel-image-2.4.27-2-i686 - Linux kernel image for version 2.4.27 on ...
In the case above, the architecture is i686 and the version is 2.4.27-2. The same information may be obtained by using "uname" (e.g. uname -r for version, uname -m for machine architecture).
Now install the appropriate headers:
aptitude install kernel-headers-`uname -r`
If that worked, go into the alsa sources directory again and run the ./configure --with-cards ... stuff again.
Good luck, Georg
Kernel headers missing
Ok here is what happened when I tried your instructions.
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9# aptitude search "~ikernel-image"
i kernel-image-2.4.27 - Linux kernel binary image for version 2.4.27.
i kernel-image-2.4.27-3-k6 - Linux kernel image for version 2.4.27 on AMD K6/K6-II/K6-III
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9# aptitude install kernel-headers-`uname -r`-`uname -m`
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Couldn't find any package whose name or description matched "kernel-headers-2.4.27-i586"
Killed
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9#
However I was able to apt-cache the headers for 2.4.27-3-k6 then I tried to configure again.
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9# ./configure --with-cards=es1938 --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9'
Please, run the configure script as first...
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9/acore'
Makefile:6: /usr/src/alsa/alsa-driver-1.0.9/Makefile.conf: No such file or directory
make[1]: *** No rule to make target `/usr/src/alsa/alsa-driver-1.0.9/Makefile.conf'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9/acore'
make: *** [install-modules] Error 1
root@tluxus:/usr/src/alsa/alsa-driver-1.0.9#
here is config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ ./configure --with-cards=es1938 --with-sequencer=yes
## --------- ##
## Platform. ##
## --------- ##
hostname = tluxus
uname -m = i586
uname -r = 2.4.27
uname -s = Linux
uname -v = #2 SMP Mo Aug 9 19:34:51 CEST 2004
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i586
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1323: checking for gcc
configure:1339: found /usr/bin/gcc
configure:1349: result: gcc
configure:1593: checking for C compiler version
configure:1596: gcc --version &5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1599: $? = 0
configure:1601: gcc -v &5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:1604: $? = 0
configure:1606: gcc -V &5
gcc: `-V' option must have argument
configure:1609: $? = 1
configure:1633: checking for C compiler default output
configure:1636: gcc conftest.c >&5
configure:1639: $? = 0
configure:1685: result: a.out
configure:1690: checking whether the C compiler works
configure:1696: ./a.out
configure:1699: $? = 0
configure:1716: result: yes
configure:1723: checking whether we are cross compiling
configure:1725: result: no
configure:1728: checking for suffix of executables
configure:1730: gcc -o conftest conftest.c >&5
configure:1733: $? = 0
configure:1758: result:
configure:1764: checking for suffix of object files
configure:1786: gcc -c conftest.c >&5
configure:1789: $? = 0
configure:1811: result: o
configure:1815: checking whether we are using the GNU C compiler
configure:1840: gcc -c conftest.c >&5
configure:1843: $? = 0
configure:1846: test -s conftest.o
configure:1849: $? = 0
configure:1862: result: yes
configure:1868: checking whether gcc accepts -g
configure:1890: gcc -c -g conftest.c >&5
configure:1893: $? = 0
configure:1896: test -s conftest.o
configure:1899: $? = 0
configure:1910: result: yes
configure:1927: checking for gcc option to accept ANSI C
configure:1988: gcc -c -g -O2 conftest.c >&5
configure:1991: $? = 0
configure:1994: test -s conftest.o
configure:1997: $? = 0
configure:2015: result: none needed
configure:2033: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2036: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2186: checking for ranlib
configure:2202: found /usr/bin/ranlib
configure:2213: result: ranlib
configure:2262: checking for a BSD-compatible install
configure:2316: result: /usr/bin/install -c
configure:2339: checking how to run the C preprocessor
configure:2375: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:295,
from /usr/include/assert.h:36,
from configure:2372:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:295,
from /usr/include/assert.h:36,
from configure:2372:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2375: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2370:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2381: $? = 1
configure: failed program was:
| #line 2361 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2457: result: /lib/cpp
configure:2482: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2477:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2488: $? = 1
configure: failed program was:
| #line 2468 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2482: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from configure:2477:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2488: $? = 1
configure: failed program was:
| #line 2468 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| Syntax error
configure:2556: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='ar'
ARCH=''
AS='as'
CC='gcc'
CFLAGS='-g -O2'
CONFIG_ALPHA=''
CONFIG_ARCH_PXA=''
CONFIG_ARCH_S3C2410=''
CONFIG_ARCH_SA1100=''
CONFIG_ARM=''
CONFIG_ARM_AMBA=''
CONFIG_ASIHPK=''
CONFIG_BROKEN=''
CONFIG_EXPERIMENTAL=''
CONFIG_FW_LOADER=''
CONFIG_GSC=''
CONFIG_HAVE_PCSP_HOOK=''
CONFIG_HPET=''
CONFIG_I2C=''
CONFIG_I2C_SENSOR=''
CONFIG_INPUT=''
CONFIG_ISA=''
CONFIG_ISAPNP=''
CONFIG_ISAPNP_KERNEL=''
CONFIG_L3=''
CONFIG_MIPS=''
CONFIG_PARISC=''
CONFIG_PARPORT=''
CONFIG_PCI=''
CONFIG_PCMCIA=''
CONFIG_PNP=''
CONFIG_PNP_KERNEL=''
CONFIG_PPC=''
CONFIG_PPC_PMAC=''
CONFIG_PROC_FS=''
CONFIG_RTC=''
CONFIG_SBUS=''
CONFIG_SGI=''
CONFIG_SND=''
CONFIG_SND_AC97_CODEC=''
CONFIG_SND_AD1816A=''
CONFIG_SND_AD1848=''
CONFIG_SND_AD1848_LIB=''
CONFIG_SND_ALI5451=''
CONFIG_SND_ALS100=''
CONFIG_SND_ALS4000=''
CONFIG_SND_ARMAACI=''
CONFIG_SND_ASIHPI=''
CONFIG_SND_ATIIXP=''
CONFIG_SND_ATIIXP_MODEM=''
CONFIG_SND_AU1X00=''
CONFIG_SND_AU8810=''
CONFIG_SND_AU8820=''
CONFIG_SND_AU8830=''
CONFIG_SND_AZT2320=''
CONFIG_SND_AZT3328=''
CONFIG_SND_BIT32_EMUL=''
CONFIG_SND_BT87X=''
CONFIG_SND_BT87X_OVERCLOCK=''
CONFIG_SND_CA0106=''
CONFIG_SND_CMI8330=''
CONFIG_SND_CMIPCI=''
CONFIG_SND_CS4231=''
CONFIG_SND_CS4231_LIB=''
CONFIG_SND_CS4232=''
CONFIG_SND_CS4236=''
CONFIG_SND_CS4281=''
CONFIG_SND_CS46XX=''
CONFIG_SND_CS46XX_NEW_DSP=''
CONFIG_SND_DARLA20=''
CONFIG_SND_DARLA24=''
CONFIG_SND_DATE=''
CONFIG_SND_DEBUG=''
CONFIG_SND_DEBUG_DETECT=''
CONFIG_SND_DEBUG_MEMORY=''
CONFIG_SND_DT019X=''
CONFIG_SND_DUMMY=''
CONFIG_SND_ECHO3G=''
CONFIG_SND_EMU10K1=''
CONFIG_SND_EMU10K1X=''
CONFIG_SND_ENS1370=''
CONFIG_SND_ENS1371=''
CONFIG_SND_ES1688=''
CONFIG_SND_ES18XX=''
CONFIG_SND_ES1938=''
CONFIG_SND_ES1968=''
CONFIG_SND_ES968=''
CONFIG_SND_FM801=''
CONFIG_SND_FM801_TEA575X=''
CONFIG_SND_GENERIC_PM=''
CONFIG_SND_GINA20=''
CONFIG_SND_GINA24=''
CONFIG_SND_GUSCLASSIC=''
CONFIG_SND_GUSEXTREME=''
CONFIG_SND_GUSMAX=''
CONFIG_SND_GUS_SYNTH=''
CONFIG_SND_HARMONY=''
CONFIG_SND_HDA_INTEL=''
CONFIG_SND_HDSP=''
CONFIG_SND_HDSPM=''
CONFIG_SND_HPET=''
CONFIG_SND_HWDEP=''
CONFIG_SND_ICE1712=''
CONFIG_SND_ICE1724=''
CONFIG_SND_INDIGO=''
CONFIG_SND_INDIGODJ=''
CONFIG_SND_INDIGOIO=''
CONFIG_SND_INTEL8X0=''
CONFIG_SND_INTEL8X0M=''
CONFIG_SND_INTERWAVE=''
CONFIG_SND_INTERWAVE_STB=''
CONFIG_SND_KERNELDIR=''
CONFIG_SND_KORG1212=''
CONFIG_SND_LAYLA20=''
CONFIG_SND_LAYLA24=''
CONFIG_SND_LOOPBACK=''
CONFIG_SND_MAESTRO3=''
CONFIG_SND_MIA=''
CONFIG_SND_MIRO=''
CONFIG_SND_MIXART=''
CONFIG_SND_MIXER_OSS=''
CONFIG_SND_MONA=''
CONFIG_SND_MPU401=''
CONFIG_SND_MPU401_UART=''
CONFIG_SND_MSND_PINNACLE=''
CONFIG_SND_MTPAV=''
CONFIG_SND_MVERSION=''
CONFIG_SND_NM256=''
CONFIG_SND_OPL3SA2=''
CONFIG_SND_OPL3_LIB=''
CONFIG_SND_OPL4_LIB=''
CONFIG_SND_OPTI92X_AD1848=''
CONFIG_SND_OPTI92X_CS4231=''
CONFIG_SND_OPTI93X=''
CONFIG_SND_OSSEMUL=''
CONFIG_SND_PC98_CS4232=''
CONFIG_SND_PCM=''
CONFIG_SND_PCM_OSS=''
CONFIG_SND_PCSP=''
CONFIG_SND_PCXHR=''
CONFIG_SND_PDAUDIOCF=''
CONFIG_SND_PDPLUS=''
CONFIG_SND_PORTMAN2X4=''
CONFIG_SND_POWERMAC=''
CONFIG_SND_PXA2XX_AC97=''
CONFIG_SND_PXA2XX_PCM=''
CONFIG_SND_RAWMIDI=''
CONFIG_SND_RME32=''
CONFIG_SND_RME9652=''
CONFIG_SND_RME96=''
CONFIG_SND_RTCTIMER=''
CONFIG_SND_S3C2410=''
CONFIG_SND_SA11XX_UDA1341=''
CONFIG_SND_SB16=''
CONFIG_SND_SB16_CSP=''
CONFIG_SND_SB8=''
CONFIG_SND_SBAWE=''
CONFIG_SND_SEQUENCER=''
CONFIG_SND_SEQUENCER_OSS=''
CONFIG_SND_SEQ_DUMMY=''
CONFIG_SND_SERIALMIDI=''
CONFIG_SND_SERIAL_U16550=''
CONFIG_SND_SGALAXY=''
CONFIG_SND_SONICVIBES=''
CONFIG_SND_SSCAPE=''
CONFIG_SND_SUN_AMD7930=''
CONFIG_SND_SUN_CS4231=''
CONFIG_SND_SUN_DBRI=''
CONFIG_SND_TIMER=''
CONFIG_SND_TRIDENT=''
CONFIG_SND_USB_AUDIO=''
CONFIG_SND_USB_USX2Y=''
CONFIG_SND_VERBOSE_PRINTK=''
CONFIG_SND_VERSION='1.0.9'
CONFIG_SND_VIA82XX=''
CONFIG_SND_VIA82XX_MODEM=''
CONFIG_SND_VIRMIDI=''
CONFIG_SND_VX222=''
CONFIG_SND_VXP440=''
CONFIG_SND_VXPOCKET=''
CONFIG_SND_VX_LIB=''
CONFIG_SND_WAVEFRONT=''
CONFIG_SND_YMFPCI=''
CONFIG_SOC_AU1000=''
CONFIG_SOC_AU1100=''
CONFIG_SOC_AU1500=''
CONFIG_SOUND=''
CONFIG_SOUND_PRIME=''
CONFIG_SPARC32=''
CONFIG_SPARC64=''
CONFIG_USB=''
CONFIG_VIDEO_DEV=''
CONFIG_X86=''
CONFIG_X86_PC9800=''
CPP='/lib/cpp'
CPPFLAGS=''
CROSS_COMPILE=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_INCLUDES=''
GENKSYMS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KERNEL_INC=''
KLD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKE_ADDS=''
NEW_KBUILD=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SHELL='/bin/sh'
SRCDIR=''
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
bindir='${exec_prefix}/bin'
build_alias=''
c_opts=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
kaversion=''
kextraversion=''
kpatchlevel=''
ksublevel=''
kversion=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
m_opts=''
mandir='${prefix}/man'
moddir=''
moddir_tree=''
modsubdir=''
msmp=''
oldincludedir='/usr/include'
prefix='NONE'
processor=''
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 1
oh boy!
-------
NoAlternative
Brian (not wanting to be a messiah): "You are all individuals..."
Crowd (in unison): "We are all individuals..."
Monty Python's "Life Of Brian
You're not using Debian
Hi
I can't give you more hints. I already told you that you need to install the kernel headers that match the kernel you're runnging. Unfortunately, the Debian based distribution you're using doesn't seem to ship the headers with the kernel, so this is somewhat more difficult. I don't know why this distro ships its own kernel.
You told me before that you're using the kernel 2.4.27-3-k6. But your kernel reports 2.4.27-i586. And (the official) Debian does not have any kernel packages built for i586.
Are there multiple kernels to be selected during bootup? If yes, make sure you select the k6 version and repeat the steps.
If not (i.e. you think you're really using 2.4.27-3-k6 but the kernel reports something else), install a different kernel: an official 2.4 Debian kernel:
aptitude install kernel-image-2.4.27-3-386 kernel-headers-2.4.27-3
Reboot and try again.
module-assistant
Hi again
I know you already spent some time with trying to compile the alsa drivers yourself. The hints given above may help you to continue with compiling the drivers manually, but Debian provides a tool for building and installing kernel modules from source: module-assistant.
Basically, that's what you would want to do (see http://doc.gwos.org/index.php/Comprehensive_Sound_Problems_Solutions_Guide):
aptitude install build-essential linux-headers-`uname -r` module-assistant alsa-source
dpkg-reconfigure alsa-source
# Some questions appear. When asked for the driver, select yours.
module-assistant update
module-assistant auto-install alsa-source
That's it. I should have posted that right at the first time, but I didn't know what the problems were.
Anyway, either continue with trying to compile it manually or try using module-assistant for some minutes and hope that it works ;-).
Cheers, Georg
Just use a 2.6 kernel? (Oops, duplicate comment)
(already mentioned by Georgos above-- but can't seem to delete a forum comment).
Also, if you don't need a 2.4 kernel, the snd-es1938 module is included in the 2.6 binary kernel-image packages. If it works for you, that may be the easiest route to getting sound working.