Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 16:56:09 -0500
From:      ajtiM <lumiwa@gmail.com>
To:        =?utf-8?q?Ry=C5=8DTa_SimaMoto?= <liangtai.s4@gmail.com>
Cc:        mm@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: ffmpeg1
Message-ID:  <201210201656.10082.lumiwa@gmail.com>
In-Reply-To: <CABDoUfBtxrN%2BY4VcV6MF3a4xprk-RFHrO9T9wCB=Cv397fDQqw@mail.gmail.com>
References:  <201210160528.15207.lumiwa@gmail.com> <CABDoUfBtxrN%2BY4VcV6MF3a4xprk-RFHrO9T9wCB=Cv397fDQqw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <lumiwa@gmail.com>:
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210201656.10082.lumiwa>