2009-03-17 09:09:54 Problem with alsa-lib when building the trunk
Dong Ye (UNITED STATES)
Message: 71105
Hi,
I download the head of uclinux-dist trunk. Choose target as BF548-EZKIT and default on everything else. Got the following build errors:
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c:37:19: error: dlfcn.h: No such file or directory
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c: In function 'try_open':
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c:82: error: 'RTLD_NOW' undeclared (first use in this function)
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c:82: error: (Each undeclared identifier is reported only once
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c:82: error: for each function it appears in.)
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c: In function 'try_open_full':
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c:129: error: 'RTLD_NOW' undeclared (first use in this function)
../../../alsa-lib-1.0.18/src/mixer/simple_abst.c:129: error: 'RTLD_GLOBAL' undeclared (first use in this function)
make[7]: *** [simple_abst.lo] Error 1
Some relevant information:
uclinux-dist revision: 7890
linux-kernel revision: 6180
$ grep CONFIG_BINFMT_ELF_FDPIC linux-2.6.x/.config
CONFIG_BINFMT_ELF_FDPIC=y
$ grep ALSA config/.config
CONFIG_LIB_ALSA_LIB=y
# ALSA lib requires FDPIC ELF
CONFIG_USER_ALSA_UTILS=y
Regards,
Dong
QuoteReplyEditDelete
2009-03-17 09:23:53 Re: Problem with alsa-lib when building the trunk
Mike Frysinger (UNITED STATES)
Message: 71109
enabling FDPIC in the kernel doesnt matter. you need to select it as the userspace binary format.
QuoteReplyEditDelete
2009-03-17 23:01:04 Re: Problem with alsa-lib when building the trunk
Sonic Zhang (CHINA)
Message: 71146
Please update your uClinux-dist/vendor/ to SVN trunk.