: --enable-shared=no --enable-static=yes fails
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2168>
======================================================================
Reported By: pierrelux
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 2168 Category: 0_general Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 05-28-2006 19:30 CEST Last Modified: 07-09-2006 13:54 CEST
======================================================================
Summary: --enable-shared=no --enable-static=yes fails
Description:
It seems to be impossible to compile alsa-lib 1.0.11 statically. Here's where it fails:
make[1]: Entering directory `/home/pierre-luc/fLux/alsa-lib-1.0.11/aserver'
if i486-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I../src/pcm -g -O2 -MT aserver.o -MD -MP -MF ".deps/aserver.Tpo" -c -o
then mv -f ".deps/aserver.Tpo" ".deps/aserver.Po"; else rm -f ".deps/aserver.Tpo"; exit 1; fi/bin/sh ../libtool --tag=CC --mode=link i486-linux-gcc -g -O2 -o
aserver aserver.o ../src/libasound.la
i486-linux-gcc -g -O2 -o aserver aserver.o ../src/.libs/libasound.a -lm -ldl -lpthread
../src/.libs/libasound.a(pcm_symbols.o):(.data+0x60): undefined reference
to `_snd_module_pcm_extplug'
../src/.libs/libasound.a(pcm_symbols.o):(.data+0x64): undefined reference
to `_snd_module_pcm_ioplug'
collect2: ld returned 1 exit status
make[1]: *** [aserver] Error 1
make[1]: Leaving directory `/home/pierre-luc/fLux/alsa-lib-1.0.11/aserver'
make: *** [all-recursive] Error 1
======================================================================
----------------------------------------------------------------------
Adrian Bunk - 07-09-06 13:54
----------------------------------------------------------------------
Works for me with 1.0.11 (normal glibc system).
Please try with a freshly unpacked 1.0.11 tarball on the glibc system.
If it still fails, please attach the complete configure and make logs to this bug.
Issue History
Date Modified Username Field Change
======================================================================
05-28-06 19:30 pierrelux New Issue
07-09-06 13:54 Adrian Bunk Note Added: 0010947
======================================================================
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642