Trying to build alsa lib

Adrian McMenamin adrian at mcmen.demon.co.uk
Sun Nov 27 21:03:11 UTC 2005


I am trying to build alsa lib (i686 crossed to SH4) against uclibc. The
build fails as below - seemingly because wordexp_t is undefined. Is this
a uclibc related problem/issue?

if /bin/sh ../../libtool
--mode=compile /home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include    -g -O2 -MT pcm_ladspa.lo -MD -MP -MF ".deps/pcm_ladspa.Tpo" \
  -c -o pcm_ladspa.lo `test -f 'pcm_ladspa.c' || echo './'`pcm_ladspa.c;
\
then mv -f ".deps/pcm_ladspa.Tpo" ".deps/pcm_ladspa.Plo"; \
else rm -f ".deps/pcm_ladspa.Tpo"; exit 1; \
fi
 /home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT
pcm_ladspa.lo -MD -MP -MF .deps/pcm_ladspa.Tpo -c pcm_ladspa.c  -fPIC
-DPIC -o .libs/pcm_ladspa.o
pcm_ladspa.c:31:21: wordexp.h: No such file or directory
In file included from pcm_plugin.h:22,
                 from pcm_ladspa.c:34:
../../include/iatomic.h:1017:2: warning: #warning "Atomic operations are
not supported on this architecture."
pcm_ladspa.c: In function `snd_pcm_ladspa_look_for_plugin':
pcm_ladspa.c:818: error: `wordexp_t' undeclared (first use in this
function)
pcm_ladspa.c:818: error: (Each undeclared identifier is reported only
once
pcm_ladspa.c:818: error: for each function it appears in.)
pcm_ladspa.c:818: error: parse error before "we"
pcm_ladspa.c:825: error: `we' undeclared (first use in this function)
pcm_ladspa.c:825: error: `WRDE_NOCMD' undeclared (first use in this
function)
pcm_ladspa.c:827: error: `WRDE_NOSPACE' undeclared (first use in this
function)
make[2]: *** [pcm_ladspa.lo] Error 1
make[2]: Leaving directory `/home/adrian/alsa-lib-1.0.10/src/pcm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adrian/alsa-lib-1.0.10/src'
make: *** [all-recursive] Error 1





More information about the uClibc mailing list