Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171961 - media-video/gpac-0.4.2-r1 compile error
Summary: media-video/gpac-0.4.2-r1 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 21:01 UTC by arot.ts
Modified: 2007-03-24 10:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arot.ts 2007-03-23 21:01:33 UTC
gpac-0.4.2-r1 does not compile with gcc-4.1.1

Reproducible: Always

Steps to Reproduce:
1.emerge gpac 
-> emerges gpac-0.4.2-r1



Actual Results:  
ffmpeg_decode.c: In function 'FFDEC_AttachStream':
ffmpeg_decode.c:212: error: 'CODEC_ID_DVD_SUBTITLE' undeclared (first use in this function)
ffmpeg_decode.c:212: error: (Each undeclared identifier is reported only once
ffmpeg_decode.c:212: error: for each function it appears in.)
ffmpeg_decode.c:227: warning: pointer targets in passing argument 1 of 'gf_m4v_get_config' differ in signedness
make[2]: *** [ffmpeg_decode.opic] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/gpac-0.4.2-r1/work/gpac/modules/ffmpeg_in'
make[1]: *** [plugs] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-video/gpac-0.4.2-r1/work/gpac/modules'
make: *** [mods] Error 2

!!! ERROR: media-video/gpac-0.4.2-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3342:   Called src_compile
  gpac-0.4.2-r1.ebuild, line 136:   Called die
Comment 1 Alexis Ballier gentoo-dev 2007-03-24 10:17:02 UTC
what version of ffmpeg are you using ? 

could you please try to see which avcodec.h file is included ? 
CODEC_ID_DVD_SUBTITLE is undconditionaly defined in that file
Comment 2 arot.ts 2007-03-24 10:55:49 UTC
(In reply to comment #0)
> gpac-0.4.2-r1 does not compile with gcc-4.1.1
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.emerge gpac 
> -> emerges gpac-0.4.2-r1
> 
> 
> 
> Actual Results:  
> ffmpeg_decode.c: In function 'FFDEC_AttachStream':
> ffmpeg_decode.c:212: error: 'CODEC_ID_DVD_SUBTITLE' undeclared (first use in
> this function)
> ffmpeg_decode.c:212: error: (Each undeclared identifier is reported only once
> ffmpeg_decode.c:212: error: for each function it appears in.)
> ffmpeg_decode.c:227: warning: pointer targets in passing argument 1 of
> 'gf_m4v_get_config' differ in signedness
> make[2]: *** [ffmpeg_decode.opic] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/media-video/gpac-0.4.2-r1/work/gpac/modules/ffmpeg_in'
> make[1]: *** [plugs] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/media-video/gpac-0.4.2-r1/work/gpac/modules'
> make: *** [mods] Error 2
> 
> !!! ERROR: media-video/gpac-0.4.2-r1 failed.
> Call stack:
>   ebuild.sh, line 1614:   Called dyn_compile
>   ebuild.sh, line 971:   Called qa_call 'src_compile'
>   environment, line 3342:   Called src_compile
>   gpac-0.4.2-r1.ebuild, line 136:   Called die
> 

update of the entire system solved the problem.