Hi, I have the same problem. In short, Setting CONFIGURE_ARGS+= LIBS="-lm" at the audio/fdk-aac/Makefile may resolve it.
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 => /lib/libc.so.7 (0x2806e000) 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=64 -D_LARGEFILE_SOURCE -O2 \ -pipe -fno-strict-aliasing -I/usr/local/include/vorbis -I/usr/local/include \ -std=c99 -fomit-frame-pointer -I/usr/local/include -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 2012/10/16, ajtiM <lum...@gmail.com>: > Hi! > > I tried to update VLC on FreeBSD 9.1 RC2 and it need ffmpeg1 which I have a > > problem to build: > > Cleaning for ffmpeg1-1.0 > ===> License GPLv3 LGPL3 accepted by the user > ===> Found saved configuration for ffmpeg1-1.0 > ===> ffmpeg1-1.0 depends on file: /usr/local/sbin/pkg - found > ===> Extracting for ffmpeg1-1.0 > => SHA256 Checksum OK for ffmpeg-1.0.tar.bz2. > ===> ffmpeg1-1.0 depends on file: /usr/local/bin/perl5.16.0 - found > ===> Patching for ffmpeg1-1.0 > ===> ffmpeg1-1.0 depends on file: /usr/local/bin/perl5.16.0 - found > ===> Applying FreeBSD patches for ffmpeg1-1.0 > ===> ffmpeg1-1.0 depends on executable: yasm - found > ===> ffmpeg1-1.0 depends on file: /usr/local/bin/as - found > ===> ffmpeg1-1.0 depends on executable: texi2html - found > ===> ffmpeg1-1.0 depends on file: /usr/local/include/frei0r.h - found > ===> ffmpeg1-1.0 depends on file: /usr/local/include/vdpau/vdpau.h - > found > ===> ffmpeg1-1.0 depends on executable: gmake - found > ===> ffmpeg1-1.0 depends on executable: pkgconf - found > ===> ffmpeg1-1.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - > found > ===> ffmpeg1-1.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - > found > ===> ffmpeg1-1.0 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - > found > ===> ffmpeg1-1.0 depends on file: /usr/local/bin/sdl-config - found > ===> ffmpeg1-1.0 depends on file: /usr/local/bin/perl5.16.0 - found > ===> ffmpeg1-1.0 depends on shared library: aacplus - found > ===> ffmpeg1-1.0 depends on shared library: opencore-amrnb - found > ===> ffmpeg1-1.0 depends on shared library: opencore-amrwb - found > ===> ffmpeg1-1.0 depends on shared library: faac - found > ===> ffmpeg1-1.0 depends on shared library: fdk-aac - found > ===> ffmpeg1-1.0 depends on shared library: fontconfig - found > ===> ffmpeg1-1.0 depends on shared library: freetype - found > ===> ffmpeg1-1.0 depends on shared library: gnutls - found > ===> ffmpeg1-1.0 depends on shared library: gsm - found > ===> ffmpeg1-1.0 depends on shared library: mp3lame - found > ===> ffmpeg1-1.0 depends on shared library: openal - found > ===> ffmpeg1-1.0 depends on shared library: opencv_imgproc - found > ===> ffmpeg1-1.0 depends on shared library: openjpeg - found > ===> ffmpeg1-1.0 depends on shared library: rtmp - found > ===> ffmpeg1-1.0 depends on shared library: schroedinger-1.0.11 - found > ===> ffmpeg1-1.0 depends on shared library: speex - found > ===> ffmpeg1-1.0 depends on shared library: theora - found > ===> ffmpeg1-1.0 depends on shared library: va - found > ===> ffmpeg1-1.0 depends on shared library: vo-aacenc - found > ===> ffmpeg1-1.0 depends on shared library: vo-amrwbenc - found > ===> ffmpeg1-1.0 depends on shared library: vorbisenc - found > ===> ffmpeg1-1.0 depends on shared library: vpx - found > ===> ffmpeg1-1.0 depends on shared library: x264 - found > ===> ffmpeg1-1.0 depends on shared library: xvidcore - found > ===> ffmpeg1-1.0 depends on shared library: SDL-1.2.11 - found > ===> Configuring for ffmpeg1-1.0 > ERROR: libfdk_aac not found > > If you think configure made a mistake, make sure you are using the latest > version from Git. If the latest version fails, report the problem to the > ffmpeg-u...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. > Include the log file "config.log" produced by configure as this will help > solving the problem. > ===> Script "configure" failed unexpectedly. > Please report the problem to m...@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 idea > 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 > > Stop in /usr/ports/multimedia/ffmpeg1. > *** [build] Error code 1 > > Stop in /usr/ports/multimedia/ffmpeg1. > > ===>>> make failed for multimedia/ffmpeg1 > ===>>> Aborting update > > I reinstall fdk-aac and I have libfdk_aac on the system. > > Thank you. > > 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-unsubscr...@freebsd.org" > -- -=-=-=-=-= SimaMoto,RyōTa <liangtai...@gmail.com> http://code.google.com/p/gimp-doc-ja/ _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"