When I try to emerge gst-plugins v 0.6.4 (with emerge --update --deep world) It dies complaining about sytax errors and undefined variables. I believe that this is partially because I am still using gcc 2.95.3, however portage insists that anything >2.95.3 is still unstable. gcc <3 doesn't like variables to be defined other than at the start of functions, the following patch defines the variable at the start of the function --- gst-plugins-0.6.4/gst/level/filter.func 2003-10-28 15:25:31.000000000 +0000 +++ gst-plugins-0.6.4/gst/level/filter.func 2003-10-28 15:16:44.000000000 +0000 @@ -8,2 +8,3 @@ register int j; + gdouble normalizer; double squaresum = 0.0; /* square sum of the integer samples */ @@ -14,3 +15,3 @@ - gdouble normalizer = (double) (1 << resolution); + normalizer = (double) (1 << resolution); Reproducible: Always Steps to Reproduce: 1. 2. 3.
I had the same problem here (gcc 2.95.3). Your patch fixed it. Thanks.
can you attach patches please ?
Created attachment 19922 [details, diff] patch Apologies, patch should now be an attachment
no problem, was just a hint just added the patch to gst-plugins-0.6.4 thanks for the report & fix