Hi,
is CVS alsa of today able to compile, or is it just me? When I try to
configure alsa-utils, I get "no linkable libasound found".
I found a few references to the same error in the archives, but none
of the proposed solutions help. I did a complete cvs checkout,
compiled and installed alsa-driver and alsa-lib, ran the snddevices
script, all is find. But I can't configure alsa-utils. I'm attaching
config.log for more details.
This is on a fresh debian install, no previous versions of alsa
anywhere. I did not install the old debian alsa-header packages, and I
double checked to make sure there are no unexpected alsa files. It's
finding the right libasound, but it doesn't work.
--
paul winkler
home: http://www.slinkp.com
music: http://www.reacharms.com
calendars: http://www.calendargalaxy.com
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.52. Invocation command line was
$ ./configure
## ---------- ##
## Platform. ##
## ---------- ##
hostname = slink.armsnet
uname -m = i686
uname -r = 2.4.1
uname -s = Linux
uname -v = #6 Mon Dec 17 23:13:24 EST 2001
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH =
/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/netscape:/home/pw/bin:/home/pw/sh:/home/pw/bin/perl:/home/pw/bin/python:/usr/local/bin/csound:/usr/games:/home/pw/bin/Office51/bin:/home/pw/bin/WordPerfect/wpbin:/home/pw/bin/python/pysco:/home/pw/bin/WordPerfect/wpbin:/usr/local/bcast2000:/home/pw/Calendar-Project
## ------------ ##
## Core tests. ##
## ------------ ##
configure:926: PATH=".;."; conftest.sh
./configure: conftest.sh: command not found
configure:929: $? = 127
configure:975: checking for a BSD compatible install
configure:1024: result: /usr/bin/install -c
configure:1035: checking whether build environment is sane
configure:1078: result: yes
configure:1093: checking whether make sets ${MAKE}
configure:1113: result: yes
configure:1141: checking for working aclocal
configure:1148: result: found
configure:1156: checking for working autoconf
configure:1163: result: found
configure:1171: checking for working automake
configure:1178: result: found
configure:1186: checking for working autoheader
configure:1193: result: found
configure:1201: checking for working makeinfo
configure:1212: result: missing
configure:1259: checking for gcc
configure:1274: found /usr/bin/gcc
configure:1282: result: gcc
configure:1510: checking for C compiler version
configure:1513: gcc --version </dev/null >&5
2.95.4
configure:1516: $? = 0
configure:1518: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011006 (Debian prerelease)
configure:1521: $? = 0
configure:1523: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1526: $? = 1
configure:1546: checking for C compiler default output
configure:1549: gcc conftest.c >&5
configure:1552: $? = 0
configure:1581: result: a.out
configure:1586: checking whether the C compiler works
configure:1592: ./a.out
configure:1595: $? = 0
configure:1610: result: yes
configure:1617: checking whether we are cross compiling
configure:1619: result: no
configure:1622: checking for executable suffix
configure:1624: gcc -o conftest conftest.c >&5
configure:1627: $? = 0
configure:1649: result:
configure:1655: checking for object suffix
configure:1673: gcc -c conftest.c >&5
configure:1676: $? = 0
configure:1695: result: o
configure:1699: checking whether we are using the GNU C compiler
configure:1720: gcc -c conftest.c >&5
configure:1723: $? = 0
configure:1726: test -s conftest.o
configure:1729: $? = 0
configure:1741: result: yes
configure:1747: checking whether gcc accepts -g
configure:1765: gcc -c -g conftest.c >&5
configure:1768: $? = 0
configure:1771: test -s conftest.o
configure:1774: $? = 0
configure:1784: result: yes
configure:1811: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before `me'
configure:1814: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:1924: checking for a BSD compatible install
configure:1973: result: /usr/bin/install -c
configure:1984: checking whether ln -s works
configure:1988: result: yes
configure:2024: checking for ALSA CFLAGS
configure:2030: result:
configure:2033: checking for ALSA LDFLAGS
configure:2045: result: -lasound -lm -ldl
configure:2049: checking for libasound headers version >= 0.9.0
configure:2115: gcc -c -g -O2 conftest.c >&5
configure: In function `main':
configure:2075: warning: return type of `main' is not `int'
configure:2118: $? = 0
configure:2121: test -s conftest.o
configure:2124: $? = 0
configure:2126: result: found.
configure:2146: checking for snd_seq_create_event in -lasound
configure:2173: gcc -o conftest -g -O2 conftest.c -lasound -lasound -lm -ldl >&5
/usr/lib/libasound.so: undefined reference to `pthread_create'
/usr/lib/libasound.so: undefined reference to `pthread_mutex_trylock'
/usr/lib/libasound.so: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
configure:2176: $? = 1
configure: failed program was:
#line 2154 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char snd_seq_create_event ();
int
main ()
{
snd_seq_create_event ();
;
return 0;
}
configure:2193: result: no
configure:2203: error: No linkable libasound was found.
## ----------------- ##
## 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_lib_asound_snd_seq_create_event=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
## ------------ ##
## confdefs.h. ##
## ------------ ##
#define PACKAGE "alsa-utils"
#define VERSION "0.9.0beta10a"
configure: exit 1