: --enable-shared=no --enable-static=yes fails
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2168>
======================================================================
Reported By: pierrelux Assigned To: tiwai ====================================================================== Project: ALSA - lib Issue ID: 2168 Category: 0_general Reproducibility: always Severity: minor Priority: normal Status: resolved Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 05-28-2006 19:30 CEST Last Modified: 07-20-2006 06:57 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.
----------------------------------------------------------------------
tiwai - 07-20-06 06:57
----------------------------------------------------------------------
This was already fixed in 1.0.12rc1. (Missing entries in pcm_symbols.c)
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 07-20-06 06:57 tiwai Status new => resolved 07-20-06 06:57 tiwai Resolution open => fixed 07-20-06 06:57 tiwai Assigned To => tiwai 07-20-06 06:57 tiwai Note Added: 0011111
======================================================================
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV