FAQ: [#6556] madplay fails to build in FLAT format(2011)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6556] madplay fails to build in FLAT format

Submitted By: Vlad Orlov

Open Date

2011-04-20 08:34:11     Close Date

2011-05-05 06:44:14

Priority:

Low     Assignee:

Aaron Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

snaps     Release:

Category:

uClinux-dist applications     Board:

Custom

Processor:

BF533     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

gcc 4.1, 09r1-10

App binary format:

FLAT     

Summary: madplay fails to build in FLAT format

Details:

 

/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)

 

Follow-ups

 

--- Aaron Wu                                                 2011-04-21 07:15:08

Thanks Vlad, I think it's all right to make this change, will merge it into

trunk

 

--- 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.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

Makefile.diff    text/x-patch    268    Vlad Orlov

Attachments

Outcomes