With the following error: mp4ff.c:91: error: static declaration of 'mp4ff_track_add' follows non-static declaration mp4ffint.h:304: error: previous declaration of 'mp4ff_track_add' was here
Created attachment 82759 [details, diff] repeat static declaration
[No need to CC me, I'm in sound alias.] It does build fine here with GCC 4.1, mind stating your emerge -pv faad2, starting from the exact revision you have problems with?
Calculating dependencies ...done! [ebuild UD] media-libs/faad2-2.0-r3 [2.0-r22] +xmms 0 kB (r22 is an ebuild with the attached patch I added to my own overlay)
Last ~arch is r11. If you plan to use GCC 4.1 you have to use ~arch as stuff in arch is rarely fixed. This is one of the cases.