ports/112366: ffmpeg-devel port not compiling img_resample* functions
Josh Carroll
floyd at pflog.net
Wed May 2 19:10:05 UTC 2007
>Number: 112366
>Category: ports
>Synopsis: ffmpeg-devel port not compiling img_resample* functions
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 02 19:10:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Josh Carroll
>Release: FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD pflog.net 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #1: Mon Apr 30 17:57:32 PDT 2007 root at pflog.net:/usr/obj/usr/src/sys/PFLOG i386
>Description:
The ffmpeg-devel port, which is required to build the handbrake port, is defining
function prototypes for img_resample* functions, but not compiling in the function
body. The result is missing symbols when trying to compile the handbrake port. Here
is the relevant output from the Handbrake compilation:
libhb/libhb.a(hb.o)(.text+0x505): In function `hb_get_preview':
: undefined reference to `img_resample_full_init'
libhb/libhb.a(hb.o)(.text+0x532): In function `hb_get_preview':
: undefined reference to `img_resample'
libhb/libhb.a(hb.o)(.text+0x565): In function `hb_get_preview':
: undefined reference to `img_convert'
libhb/libhb.a(render.o)(.text+0x35a): In function `Work':
: undefined reference to `img_resample'
libhb/libhb.a(render.o)(.text+0x558): In function `hb_work_render_init':
: undefined reference to `img_resample_full_init'
*** Error code 1
The img_resample_full_init function's prototype is defined in:
work/ffmpeg-2007-04-29/libavcodec/avcodec.h
But the function definition/body is defined in (and apparently not compiled from):
work/ffmpeg-2007-04-29/libavcodec/imgresample.c
>How-To-Repeat:
cd /usr/ports/multimedia/ffmpeg-devel
make all install
cd ../handbrake
make all install
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list