[#6556] madplay fails to build in FLAT format
Submitted By: Vlad Orlov
2011-04-20 08:34:11 Close Date
Closed Fixed In Release:
Found In Release:
uClinux-dist applications Board:
BF533 Silicon Revision:
Is this bug repeatable?:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
gcc 4.1, 09r1-10
App binary format:
Summary: madplay fails to build in FLAT format
/home/monsta/uClinux/staging/usr/lib/libid3tag.a(util.o): In function `id3_util_decompress':
../libid3tag-0.15.1b/util.c:139: undefined reference to `_uncompress'
/home/monsta/uClinux/staging/usr/lib/libid3tag.a(util.o): In function `id3_util_compress':
../libid3tag-0.15.1b/util.c:106: undefined reference to `_compress2'
I guess the build fails since no -lz is present in the command line. libtool should've grabbed it from $(STAGEDIR)/usr/lib/libid3tag.la, but it didn't.
well, the build succeeded after I explicitly specified LDFLAGS="-L$(STAGEDIR)/usr/lib" in user/madplay/Makefile.
should it be so?
I've attached the diff file, just in case. (also removed that strange --without-x option, it doesn't seem to do anything useful)
--- Aaron Wu 2011-04-21 07:15:08
Thanks Vlad, I think it's all right to make this change, will merge it into
--- Vlad Orlov 2011-05-05 06:41:49
I've seen it's been fixed in trunk, thanks. Guess this issue can be closed now.
File Name File Type File Size Posted By
Makefile.diff text/x-patch 268 Vlad Orlov