[Alsaplayer-devel]compiling ac3play-0.3.0 and alsa-0.9.0beta3 with no success

Dieter Bloms dbloms@suse.de
Tue, 3 Apr 2001 10:58:16 +0200


Hi,

I want to compile ac3play-0.3.0, but if I use alsa-5.9.0 configure want
to see > alsa-0.6.

I only can find alsa-0.9.0beta3 and if I run configure, I get the
following errormessage:

--snip--
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking host system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld...
(cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports
shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-suse-linux/bin/ld option to reload object
files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm
checking for libasound headers version >= 0.6.0... found.
checking for snd_cards in -lasound... no
configure: error: No linkable libasound was found.
--snip--

here the config.log

--snip--
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:578: checking for a BSD compatible install
configure:631: checking whether build environment is sane
configure:688: checking whether make sets ${MAKE}
configure:734: checking for working aclocal
configure:747: checking for working autoconf
configure:760: checking for working automake
configure:773: checking for working autoheader
configure:786: checking for working makeinfo
configure:803: checking whether to enable maintainer-specific portions
of Makefiles
configure:829: checking for gcc
configure:942: checking whether the C compiler (gcc  ) works
configure:958: gcc -o conftest    conftest.c  1>&5
configure:984: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:989: checking whether we are using GNU C
configure:1017: checking whether gcc accepts -g
configure:1049: checking how to run the C preprocessor
configure:1140: checking for a BSD compatible install
configure:1193: checking whether ln -s works
configure:1289: checking host system type
configure:1310: checking build system type
configure:1330: checking for ranlib
configure:1369: checking for ld used by GCC
configure:1431: checking if the linker (/usr/i486-suse-linux/bin/ld) is
GNU ld
configure:1447: checking for BSD-compatible nm
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.10.91 (with BFD 2.10.0.33)
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[
]\([ABCDGISTW]\)[       ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1
 \2\3 \3/p' > conftest.nm"
ltconfig:1691: gcc -o conftest -g -O2 -fno-builtin -fno-rtti
-fno-exceptions   conftest.c conftstm.o 1>&5
configure:1672: checking for ALSA CFLAGS
configure:1680: checking for ALSA LDFLAGS
configure:1693: checking for libasound headers version >= 0.6.0
configure:1755: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1718: warning: return type of `main' is not `int'
configure:1776: checking for snd_cards in -lasound
configure:1795: gcc -o conftest -g -O2   -lasound -lm conftest.c
-lasound   1>&5
/tmp/ccZ23imx.o: In function `main':
/usr/src/packages/SOURCES/ac3play-0.3.0/configure:1791: undefined
reference to `snd_cards'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1784 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char snd_cards();

int main() {
snd_cards()
; return 0; }
--snip--

/etc/ld.so.conf

--snip--
/lib-aout
/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/i486-linux/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i486-linux-libc6/lib=libc6
/usr/i486-linuxaout/lib
/usr/i386-suse-linux/lib
/usr/lib
/usr/local/lib
/usr/openwin/lib
/opt/kde/lib
/opt/kde2/lib
/opt/gnome/lib
--snip--

ls -l /usr/lib/asound*

--snip--
-rw-r--r--    1 root     root      4116144 Apr  1 20:54 /usr/lib/libasound.a
-rwxr-xr-x    1 root     root          667 Apr  1 20:54 /usr/lib/libasound.la
lrwxrwxrwx    1 root     root           18 Apr  1 20:54 /usr/lib/libasound.so -> libasound.so.2.0.0
lrwxrwxrwx    1 root     root           18 Apr  1 20:54 /usr/lib/libasound.so.2 -> libasound.so.2.0.0
-rwxr-xr-x    1 root     root      1638734 Apr  1 20:54 /usr/lib/libasound.so.2.0.0
--snip--

Is there a new version of ac3play out, or where can I find alsadriver-0.6.0 ?


-- 
Mit freundlichen Gruessen,

	Dieter Bloms (Dieter.Bloms@suse.de)

--------------------------------------------------------------------
SuSE Linux Solutions AG,    Tel:   +49-911-74053653 
Schanzaeckerstr. 10,        Fax:   +49-911-74053674
90443 Nuernberg,            Email: Dieter.Bloms@suse.de 
Germany                     WWW:   http://www.suse.de
--------------------------------------------------------------------

Key fingerprint = C54E EAD2 784A 5402 C4E4  A58A 414A AEA1 9038 7583