# make
make all-recursive
make[1]: Entering directory `/tmp/faac-1.28'
Making all in include
make[2]: Entering directory `/tmp/faac-1.28/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/faac-1.28/include'
Making all in libfaac
make[2]: Entering directory `/tmp/faac-1.28/libfaac'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/faac-1.28/libfaac'
Making all in common
make[2]: Entering directory `/tmp/faac-1.28/common'
Making all in mp4v2
make[3]: Entering directory `/tmp/faac-1.28/common/mp4v2'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -s -O3 -march=i686 -MT 3gp.o -MD -MP -MF ".deps/3gp.Tpo" -c -o 3gp.o 3gp.cpp; \
then mv -f ".deps/3gp.Tpo" ".deps/3gp.Po"; else rm -f ".deps/3gp.Tpo"; exit 1; fi
In file included from mp4common.h:29,
from 3gp.cpp:28:
mpeg4ip.h:126: error: new declaration 'char* strcasestr(const char*, const char*)'
/usr/include/string.h:367: error: ambiguates old declaration 'const char* strcasestr(const char*, const char*)'
make[3]: *** [3gp.o] Error 1
make[3]: Leaving directory `/tmp/faac-1.28/common/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/faac-1.28/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/faac-1.28'
make: *** [all] Error 2
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs/Patches/etc."
Nike Free Soldes ustbrdx réduction Nike Roshe Run Femme mhryml jordan for sale qkiyzyhznu cheap jordan 11 for sale cqftjj Nike Free Run Pas Cher cpkknl Cheap Nike King Mens lrxvkaatq nike free run homme qnhjgjya Motif Nike Roshe Run xcevakrx jordan 11 on sale
http://www.haberself.com/h/9254/
Last edit: Anonymous 2015-07-06
It's because the bundled mpeg4ip's libmp4v2 doesn't compile anymore with glibc-2.10 and above. The solution is to use mp4v2 1.9.1 from here:
http://code.google.com/p/mp4v2/
And then compile faac from trunk against it, or using patch like this against 1.28:
http://sources.gentoo.org/viewcvs.py/\*checkout*/gentoo-x86/media-libs/faac/files/faac-1.28-external-libmp4v2.patch?rev=1.1
I'm afraid the bundled libmp4v2 should be updated to 1.9.1 asap, and new release of faac be done so it builds with either internal 1.9.1 or external 1.9.1 (latter preferred)
Another solution would be to simply remove the duplicate definition of the strcasestr() function from string.h, as done in this patch from Debian:
http://git.debian.org/?p=pkg-multimedia/faac.git;a=blob;f=debian/patches/build-fix.patch;hb=HEAD
Looks like it was fixed long ago -> closed