Opened 14 years ago

Closed 14 years ago

#24561 closed defect (duplicate)

ffmpeg-devel won't compile because of libx264 error

Reported by: hobbsilla Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc:
Port: ffmpeg-devel

Description

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.

Change History (2)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to devans@…
Port: ffmpeg-devel added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.