[SM-Grimoire-Bugs] [Bug 15263] faac 1.28 fails to compile with GCC 4.4

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sun Oct 18 08:09:11 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15263


Thomas Orgis <sobukus at sourcemage.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
                 CC|                            |sobukus at sourcemage.org
         Resolution|FIXED                       |




--- Comment #2 from Thomas Orgis <sobukus at sourcemage.org>  2009-10-18 07:09:08 ---
I see a fix in stable and git grimoire that cares about gcc-4.4 only. But that
misses the point.

I get a very similar failure when trying to cast faac in current stable, this
time it's a plain conflict of declarations of strcasestr(), with the const-ness
reversed from the initial fix. Glibc 2.10 contains some machinery to overload
that function when building with a C++ compiler... anyhow: The plain issue
seems to me that there is a definition of strcasestr() in mpeg4ip.h at all!

This is the sed line I need in PRE_BUILD to make it work:

sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /"
common/mp4v2/mpeg4ip.h &&


I dunno why we need that bootstrap script in case of changing this one line,
btw.

Anyhow, this is an issue, fatal for anyone wanting to use faac (p.ex. for
mencoder), in current stable.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list