Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127072 - faad2-2.0 fails to compile with gcc-4.1
Summary: faad2-2.0 fails to compile with gcc-4.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-21 04:20 UTC by Bastiaan Jacques
Modified: 2006-03-21 05:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
repeat static declaration (faad2-gcc41-compilefix.patch,510 bytes, patch)
2006-03-21 04:21 UTC, Bastiaan Jacques
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bastiaan Jacques 2006-03-21 04:20:01 UTC
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
Comment 1 Bastiaan Jacques 2006-03-21 04:21:40 UTC
Created attachment 82759 [details, diff]
repeat static declaration
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-21 04:39:34 UTC
[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?
Comment 3 Bastiaan Jacques 2006-03-21 04:58:35 UTC
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)
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-21 05:17:22 UTC
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.