From owner-freebsd-ports@FreeBSD.ORG Sat Oct 20 21:56:26 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 576EE9AA; Sat, 20 Oct 2012 21:56:26 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 048858FC08; Sat, 20 Oct 2012 21:56:25 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so2932691iea.13 for ; Sat, 20 Oct 2012 14:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=gV2twhRUO5aM6bqiMHKYLtmVd6q9KsDwz2u+2CCuIN0=; b=w/9zrq9OpWb3a5wblVY+N9XklEDNS1D4HyrJDyLAoEFxLHV1nHrG0LlI5QPc14ehpb Eqnye+cpvSVEfDoxkRrQPQ88DO5KvNDACUJBTNqNsWXS/Qoa3RwzKlhtmCx4EXIJD6r8 J6nOq9syc8KLXOCJkboBMdSQbL/W+B39oH5RQNGDjB/HiSm3chSclb3hgjzgCSvYER20 wrWPklIPzWYQPnd2Ve0sq/9426P38cZWKKR3TUjIqvYTyTZHB5503JbJOws17BwxJ/Xq I7Ya7UyR5MSznxeFe2yrUI/Yk2nUIGx32FWGUUw0qpn6GosOKlDs4Md9mP40VbvfcWTB DWbA== Received: by 10.42.32.74 with SMTP id c10mr4381747icd.36.1350770178696; Sat, 20 Oct 2012 14:56:18 -0700 (PDT) Received: from luna.wi.rr.com (cpe-184-58-138-79.wi.res.rr.com. [184.58.138.79]) by mx.google.com with ESMTPS id vq4sm18993945igb.10.2012.10.20.14.56.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 20 Oct 2012 14:56:18 -0700 (PDT) From: ajtiM To: =?utf-8?q?Ry=C5=8DTa_SimaMoto?= Subject: Re: ffmpeg1 Date: Sat, 20 Oct 2012 16:56:09 -0500 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RC2; KDE/4.8.4; i386; ; ) References: <201210160528.15207.lumiwa@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201210201656.10082.lumiwa@gmail.com> Cc: mm@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 21:56:26 -0000 On Saturday 20 October 2012 15:24:42 Ry=C5=8DTa SimaMoto wrote: > Hi, >=20 > I have the same problem. In short, Setting > CONFIGURE_ARGS+=3D LIBS=3D"-lm" at the audio/fdk-aac/Makefile > may resolve it. >=20 > It is strange that libfdk-aac did not link against libm.so > though it uses some arithmetic functions from math.h. The > config.log of multimedia/ffmpeg1 shows that: > /usr/local/lib/libfdk-aac.so: undefined reference to `floor' > /usr/local/lib/libfdk-aac.so: undefined reference to `ceil' > /usr/local/lib/libfdk-aac.so: undefined reference to `tan' > /usr/local/lib/libfdk-aac.so: undefined reference to `log' > /usr/local/lib/libfdk-aac.so: undefined reference to `atan' > /usr/local/lib/libfdk-aac.so: undefined reference to `acos' > /usr/local/lib/libfdk-aac.so: undefined reference to `exp' > /usr/local/lib/libfdk-aac.so: undefined reference to `sin' > /usr/local/lib/libfdk-aac.so: undefined reference to `pow' > /usr/local/lib/libfdk-aac.so: undefined reference to `atan2' > /usr/local/lib/libfdk-aac.so: undefined reference to `cos' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) Then the linkage list of this library was: > $ ldd /usr/local/lib/libfdk-aac.so.0 > /usr/local/lib/libfdk-aac.so.0: > libc.so.7 =3D> /lib/libc.so.7 (0x2806e000) >=20 > It succeeds to test of compilation a new libfdk-aac.so that links > against both of libc and libm, with a short program from the > configure script of ffmpeg1 and its way: > ffconf.c: > extern int aacEncOpen(); > int main(void){ aacEncOpen(); } > clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -O2 \ > -pipe -fno-strict-aliasing -I/usr/local/include/vorbis > -I/usr/local/include \ -std=3Dc99 -fomit-frame-pointer -I/usr/local/inclu= de > -I/usr/local/include \ -I/usr/local/include/p11-kit-1 > -I/usr/local/include/fribidi \ > -I/usr/local/include/freetype2 -I/usr/local/include -c -o ffconf.o > ffconf.c clang -L/usr/local/lib -Wl,--as-needed -o ffconf ffconf.o > -lfdk-aac -lfaac \ -lcelt0 -lcelt0 -lbluray -L/usr/local/lib -lass > -laacplus -L/usr/local/lib \ -lgnutls -L/usr/local/lib -L/usr/lib > -lfontconfig -lva -lm -lbz2 -lz -pthread >=20 > 2012/10/16, ajtiM : > > Hi! > >=20 > > I tried to update VLC on FreeBSD 9.1 RC2 and it need ffmpeg1 which I ha= ve > > a > >=20 > > problem to build: > >=20 > > Cleaning for ffmpeg1-1.0 > > =3D=3D=3D> License GPLv3 LGPL3 accepted by the user > > =3D=3D=3D> Found saved configuration for ffmpeg1-1.0 > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/sbin/pkg - found > > =3D=3D=3D> Extracting for ffmpeg1-1.0 > > =3D> SHA256 Checksum OK for ffmpeg-1.0.tar.bz2. > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/bin/perl5.16.0 - f= ound > > =3D=3D=3D> Patching for ffmpeg1-1.0 > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/bin/perl5.16.0 - f= ound > > =3D=3D=3D> Applying FreeBSD patches for ffmpeg1-1.0 > > =3D=3D=3D> ffmpeg1-1.0 depends on executable: yasm - found > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/bin/as - found > > =3D=3D=3D> ffmpeg1-1.0 depends on executable: texi2html - found > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/include/frei0r.h -= found > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/include/vdpau/vdpa= u.h - > > found > > =3D=3D=3D> ffmpeg1-1.0 depends on executable: gmake - found > > =3D=3D=3D> ffmpeg1-1.0 depends on executable: pkgconf - found > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/libdata/pkgconfig/= x11.pc - > > found > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/libdata/pkgconfig/= xext.pc > > - found > > =3D=3D=3D> ffmpeg1-1.0 depends on file: > > /usr/local/libdata/pkgconfig/xfixes.pc - found > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/bin/sdl-config - f= ound > > =3D=3D=3D> ffmpeg1-1.0 depends on file: /usr/local/bin/perl5.16.0 - f= ound > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: aacplus - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: opencore-amrnb - fo= und > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: opencore-amrwb - fo= und > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: faac - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: fdk-aac - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: fontconfig - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: freetype - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: gnutls - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: gsm - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: mp3lame - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: openal - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: opencv_imgproc - fo= und > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: openjpeg - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: rtmp - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: schroedinger-1.0.11= - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: speex - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: theora - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: va - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: vo-aacenc - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: vo-amrwbenc - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: vorbisenc - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: vpx - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: x264 - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: xvidcore - found > > =3D=3D=3D> ffmpeg1-1.0 depends on shared library: SDL-1.2.11 - found > > =3D=3D=3D> Configuring for ffmpeg1-1.0 > > ERROR: libfdk_aac not found > >=20 > > If you think configure made a mistake, make sure you are using the late= st > > version from Git. If the latest version fails, report the problem to t= he > > ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. > > Include the log file "config.log" produced by configure as this will he= lp > > solving the problem. > > =3D=3D=3D> Script "configure" failed unexpectedly. > > Please report the problem to mm@FreeBSD.org [maintainer] and attach the > > "/usr/ports/multimedia/ffmpeg1/work/ffmpeg-1.0/config.err" including the > > output of the failure of your make command. Also, it might be a good id= ea > > to > > provide an overview of all packages installed on your system (e.g. a > > /usr/local/sbin/pkg info -g -Ea). > > *** [do-configure] Error code 1 > >=20 > > Stop in /usr/ports/multimedia/ffmpeg1. > > *** [build] Error code 1 > >=20 > > Stop in /usr/ports/multimedia/ffmpeg1. > >=20 > > =3D=3D=3D>>> make failed for multimedia/ffmpeg1 > > =3D=3D=3D>>> Aborting update > >=20 > > I reinstall fdk-aac and I have libfdk_aac on the system. > >=20 > > Thank you. > >=20 > > Mitja > > -------- > > http://jpgmag.com/people/lumiwa > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" =46or me was a problem "ON" in =46DK_AAC=3Doff: AAC audio encoding via Fraunhofer FDK When I unchecked it was okay. Mitja =2D------- http://www.redbubble.com/people/lumiwa