From owner-freebsd-ports@FreeBSD.ORG Wed Jun 29 18:24:53 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A73181065676 for ; Wed, 29 Jun 2011 18:24:53 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 338568FC08 for ; Wed, 29 Jun 2011 18:24:52 +0000 (UTC) Received: by wwg11 with SMTP id 11so162742wwg.1 for ; Wed, 29 Jun 2011 11:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=8JHlIv83yo6Llp7ubG4wfhxQVfuseVmG4WQalONwsFQ=; b=D7nNwQag3CtMN01cD1yhvp4zQoNvHJmWG37gEljJJ1otVDwitEhGFIaPlIDHtpimWO G28ad6BvrnU2NnftdKxYAZx3nkRzGnXBN19DDljjxnXoUH0AJvE/5BgjBmx4zZ3QlbuA 7Skk/8vDP2Vo50rafI6rxJSOIltqqo7O71b6c= Received: by 10.227.62.208 with SMTP id y16mr996755wbh.80.1309371891868; Wed, 29 Jun 2011 11:24:51 -0700 (PDT) Received: from Melon.malikania.fr (65.21.102.84.rev.sfr.net [84.102.21.65]) by mx.google.com with ESMTPS id fu18sm1084644wbb.44.2011.06.29.11.24.49 (version=SSLv3 cipher=OTHER); Wed, 29 Jun 2011 11:24:50 -0700 (PDT) Message-ID: <4E0B6DD8.4090001@gmail.com> Date: Wed, 29 Jun 2011 20:24:24 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110627 Thunderbird/3.1.11 MIME-Version: 1.0 To: mm@FreeBSD.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: multimedia/ffmpeg fails to build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 18:24:53 -0000 Hello, It seems that your last commit fails to compile here on 8.2-STABLE : libavfilter/vf_libopencv.c:28:23: warning: opencv/cv.h: No such file or directory libavfilter/vf_libopencv.c:29:27: warning: opencv/cxcore.h: No such file or directory libavfilter/vf_libopencv.c:34: error: expected ')' before '*' token libavfilter/vf_libopencv.c:52: warning: type defaults to 'int' in declaration of 'IplImage' libavfilter/vf_libopencv.c:52: error: expected ';', ',' or ')' before '*' token libavfilter/vf_libopencv.c:74: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c:74: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c: In function 'smooth_init': libavfilter/vf_libopencv.c:98: error: 'CV_BLUR' undeclared (first use in this function) libavfilter/vf_libopencv.c:98: error: (Each undeclared identifier is reported only once libavfilter/vf_libopencv.c:98: error: for each function it appears in.) libavfilter/vf_libopencv.c:99: error: 'CV_BLUR_NO_SCALE' undeclared (first use in this function) libavfilter/vf_libopencv.c:100: error: 'CV_MEDIAN' undeclared (first use in this function) libavfilter/vf_libopencv.c:101: error: 'CV_GAUSSIAN' undeclared (first use in this function) libavfilter/vf_libopencv.c:102: error: 'CV_BILATERAL' undeclared (first use in this function) libavfilter/vf_libopencv.c: At top level: libavfilter/vf_libopencv.c:127: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c:127: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c: In function 'smooth_end_frame_filter': libavfilter/vf_libopencv.c:131: warning: implicit declaration of function 'cvSmooth' libavfilter/vf_libopencv.c:131: error: 'inimg' undeclared (first use in this function) libavfilter/vf_libopencv.c:131: error: 'outimg' undeclared (first use in this function) libavfilter/vf_libopencv.c: At top level: libavfilter/vf_libopencv.c:201: error: expected ')' before '*' token libavfilter/vf_libopencv.c:247: error: expected specifier-qualifier-list before 'IplConvKernel' libavfilter/vf_libopencv.c: In function 'dilate_init': libavfilter/vf_libopencv.c:263: warning: implicit declaration of function 'parse_iplconvkernel' libavfilter/vf_libopencv.c:263: error: 'DilateContext' has no member named 'kernel' libavfilter/vf_libopencv.c: In function 'dilate_uninit': libavfilter/vf_libopencv.c:284: warning: implicit declaration of function 'cvReleaseStructuringElement' libavfilter/vf_libopencv.c:284: error: 'DilateContext' has no member named 'kernel' libavfilter/vf_libopencv.c: At top level: libavfilter/vf_libopencv.c:287: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c:287: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c: In function 'dilate_end_frame_filter': libavfilter/vf_libopencv.c:291: warning: implicit declaration of function 'cvDilate' libavfilter/vf_libopencv.c:291: error: 'inimg' undeclared (first use in this function) libavfilter/vf_libopencv.c:291: error: 'outimg' undeclared (first use in this function) libavfilter/vf_libopencv.c:291: error: 'DilateContext' has no member named 'kernel' libavfilter/vf_libopencv.c: At top level: libavfilter/vf_libopencv.c:294: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c:294: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c: In function 'erode_end_frame_filter': libavfilter/vf_libopencv.c:298: warning: implicit declaration of function 'cvErode' libavfilter/vf_libopencv.c:298: error: 'inimg' undeclared (first use in this function) libavfilter/vf_libopencv.c:298: error: 'outimg' undeclared (first use in this function) libavfilter/vf_libopencv.c:298: error: 'DilateContext' has no member named 'kernel' libavfilter/vf_libopencv.c: At top level: libavfilter/vf_libopencv.c:306: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c:306: error: expected declaration specifiers or '...' before 'IplImage' libavfilter/vf_libopencv.c: In function 'end_frame': libavfilter/vf_libopencv.c:359: error: 'IplImage' undeclared (first use in this function) libavfilter/vf_libopencv.c:359: error: expected ';' before 'inimg' libavfilter/vf_libopencv.c:361: warning: implicit declaration of function 'fill_iplimage_from_picref' libavfilter/vf_libopencv.c:361: error: 'inimg' undeclared (first use in this function) libavfilter/vf_libopencv.c:362: error: 'outimg' undeclared (first use in this function) libavfilter/vf_libopencv.c:363: error: too many arguments to function 'ocv->end_frame_filter' libavfilter/vf_libopencv.c:364: warning: implicit declaration of function 'fill_picref_from_iplimage' gmake: *** [libavfilter/vf_libopencv.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 This is my options : ===> The following configuration options are available for ffmpeg-0.7.1_3,1: ALSA=off "Enable alsa input/output device" AMR_NB=off "AMR Narrow Band audio encoder (opencore)" AMR_WB=off "AMR Wide Band audio decoder (opencore)" CELT=off "Enable CELT/Opus decoding via libcelt" DIRAC=off "Dirac codec via libdirac" FAAC=off "FAAC mp4/aac audio encoder" FFSERVER=on "Build and install ffserver" FREETYPE=on "Text on top of video frames (freetype2)" FREI0R=off "Frei0r wrapper filter" GSM=off "GSM audio codec" LAME=off "LAME MP3 encoder" OPENCV=on "OpenCV video filtering support" OPENJPEG=off "JPEG 2000 decoder" OPTIMIZED_CFLAGS=off "Additional optimizations" RTMP=off "RTMP[E] support via librtmp" SCHROEDINGER=off "Dirac codec via libschroedinger" SDL=off "SDL support (build ffplay)" SPEEX=off "Speex audio decoder" THEORA=on "Theora encoder (implies OGG)" VAAPI=off "GPU acceleration support (libva)" VDPAU=off "Nvidia vdpau support" VO_AACENC=off "AAC audio encoder (vo-aacenc)" VO_AMRWBENC=off "AMR Wide Band audio encoder (vo-amrwbenc)" VORBIS=on "Vorbis encoder via libvorbis (implies OGG)" VP8=on "VP8 codec via libvpx" X264=on "H.264 encoder" XVID=on "Xvid encoder via xvidcore" Cheers, -- David Demelier