ubuntu - Installing FAAC on linux, getting errors -


i trying install faac on linux. i'm getting errors.

i use install.

cd /usr/src wget http://sourceforge.net/projects/faac/files/faac-src/faac-1.28/faac-1.28.tar.bz2/download tar -xvjf faac-1.28.tar.bz2 cd faac-1.28 ./configure make make install 

once try make it, error

mpeg4ip.h:126: error: new declaration ‘char* strcasestr(const char*, const char*)’ /usr/include/string.h:369: error: ambiguates old declaration ‘const char* strcasestr(const char*, const char*)’ make[3]: *** [3gp.o] error 1 make[3]: leaving directory `/usr/src/faac-1.28/common/mp4v2' make[2]: *** [all-recursive] error 1 make[2]: leaving directory `/usr/src/faac-1.28/common' make[1]: *** [all-recursive] error 1 make[1]: leaving directory `/usr/src/faac-1.28' make: *** [all] error 2 

i read online , saying interfearing something, , had locate file , edit it.

how fix installation install properly.

remove line 126 containing strcasestr mpeg4ip.h found in common/mp4v2 folder, temporary workaround. seems not exclude own prototype when included means of glibc's strcasestr (#define _gnu_source 1).

btw: isn't ffmpeg on way have own aac code such faac/faad no longer needed dependency...


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -