wordexp trouble

Carmelo Amoroso carmelo73 at gmail.com
Mon Oct 1 20:20:03 UTC 2007


rafael2k wrote:
> hi all,
> when compiling a system for my x86 pc using buildroot, I got the following 
> error at alsa-lib:
> 
> ../src/.libs/libasound.so: undefined reference to `wordfree'
> ../src/.libs/libasound.so: undefined reference to `wordexp'
> 
> 
> but, my uClibc-0.9.29.config has:
> 
> #
> # Big and Tall
> #
> UCLIBC_HAS_REGEX=y
> UCLIBC_HAS_REGEX_OLD=y
> UCLIBC_HAS_FNMATCH=y
> UCLIBC_HAS_FNMATCH_OLD=y
> UCLIBC_HAS_WORDEXP=y
> UCLIBC_HAS_FTW=y
> UCLIBC_HAS_GLOB=y
> UCLIBC_HAS_GNU_GLOB=y
> 
> 
> Am I doing something wrong, or wordexp is not correctly defined?

Make sure your uClibc contains the word* function by running
readelf -s libuClibc-0.9.29.so.0 | grep work
and see if word* are there.

I've just done a svn update, built uClibc with UCLIBC_HAS_WORDEXP=y,
run readelf and verified hat word/wordfree are there.

Cheers,
Carmelo




More information about the uClibc mailing list