[MacPorts] #24561: ffmpeg-devel won't compile because of libx264 error

MacPorts noreply at macports.org
Mon Apr 19 23:51:29 PDT 2010


#24561: ffmpeg-devel won't compile because of libx264 error
---------------------------------+------------------------------------------
 Reporter:  hobbsilla@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.99                               
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 When compiling ffmpeg-devel, on a Macbook Pro 5.5 10.6.3, I get the
 following error message:


 {{{
 $$sudo port install ffmpeg-devel
 --->  Computing dependencies for ffmpeg-devel
 --->  Building ffmpeg-devel
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_multimedia_ffmpeg-devel/work/trunk" && gmake -j2 all "
 returned error 2
 Command output: /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_multimedia_ffmpeg-devel/work/trunk"
 -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -DHAVE_LRINTF
 -I/opt/local/include -arch x86_64   -std=c99 -fomit-frame-pointer -fPIC
 -I/opt/local/include/dirac -I/opt/local/include/schroedinger-1.0
 -I/opt/local/include/orc-0.4 -g -Wdeclaration-after-statement -Wall -Wno-
 switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-
 pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-
 tree-vectorize         -MMD -MF libavcodec/libx264.d -MT
 libavcodec/libx264.o -c -o libavcodec/libx264.o libavcodec/libx264.c
 /usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -I.
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_multimedia_ffmpeg-devel/work/trunk"
 -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -DHAVE_LRINTF
 -I/opt/local/include -arch x86_64   -std=c99 -fomit-frame-pointer -fPIC
 -I/opt/local/include/dirac -I/opt/local/include/schroedinger-1.0
 -I/opt/local/include/orc-0.4 -g -Wdeclaration-after-statement -Wall -Wno-
 switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-
 pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-
 tree-vectorize         -MMD -MF libavcodec/pnm_parser.d -MT
 libavcodec/pnm_parser.o -c -o libavcodec/pnm_parser.o
 libavcodec/pnm_parser.c
 libavcodec/libx264.c: In function 'encode_nals':
 libavcodec/libx264.c:75: warning: implicit declaration of function
 'x264_nal_encode'
 libavcodec/libx264.c: In function 'X264_init':
 libavcodec/libx264.c:190: error: 'x264_param_t' has no member named
 'b_bframe_pyramid'
 libavcodec/pnm_parser.c: In function 'pnm_parse':
 libavcodec/pnm_parser.c:45: warning: cast discards qualifiers from pointer
 target type
 libavcodec/pnm_parser.c:46: warning: cast discards qualifiers from pointer
 target type
 gmake: *** [libavcodec/libx264.o] Error 1
 gmake: *** Waiting for unfinished jobs....

 Error: Status 1 encountered during processing.
 }}}

 I've read on other sites that by "editing all of the occurrences of
 b_bframe_pyramid to  i_bframe_pyramid then it should work but I made the
 edit and still get the same error message.

-- 
Ticket URL: <http://trac.macports.org/ticket/24561>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list