GNOME Bugzilla – Bug 672348
Builld fails after the latest external libs update
Last modified: 2018-05-24 10:23:16 UTC
make[2]: Entering directory `/home/avp/soft/src/gimp-gap/gap' gcc -g -O2 -Wall -fPIC -o gap_filter gap_dbbrowser_utils.o gap_filter_codegen.o gap_filter_foreach.o gap_filter_iterators.o gap_filter_main.o gap_filter_pdb.o gap_drawable_vref_parasite.o gap_fmac_context.o gap_frame_fetcher.o gap_lastvaldesc.o ../libgapvidapi/libgapvidapi.a /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavdevice/libavdevice.a /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavformat/libavformat.a /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libavcodec.a /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavutil/libavutil.a /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libswscale/libswscale.a -lxvidcore -lbz2 -lmp3lame -lfaac /home/avp/soft/src/gimp-gap/extern_libs/libmpeg3/i686/libmpeg3.a -lz -pthread -L/usr/local/lib -lgthread-2.0 -lrt -lglib-2.0 -lpthread -lm libgimpgap.a ../libgapbase/libgapbase.a -pthread -L/usr/local/lib -lgthread-2.0 -lrt -lglib-2.0 -pthread -L/usr/local/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -lgimpthumb-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libavcodec.a(libfaad.o): In function `faac_decode_init': /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:252: undefined reference to `NeAACDecOpen' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:253: undefined reference to `NeAACDecClose' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:254: undefined reference to `NeAACDecGetCurrentConfiguration' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:255: undefined reference to `NeAACDecSetConfiguration' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:256: undefined reference to `NeAACDecInit' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:257: undefined reference to `NeAACDecInit2' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:258: undefined reference to `NeAACDecDecode' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:260: undefined reference to `NeAACDecGetErrorMessage' /home/avp/soft/src/gimp-gap/extern_libs/ffmpeg/libavcodec/libfaad.c:274: undefined reference to `NeAACDecOpen' collect2: ld returned 1 exit status make[2]: *** [gap_filter] Error 1 make[2]: Leaving directory `/home/avp/soft/src/gimp-gap/gap' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/avp/soft/src/gimp-gap' make: *** [all] Error 2
It looks like you still have an old version of the ffmpeg directory (left from a previous build before the update) The new ffmpeg-0.7.11 that comes with the latest external libs update does not support libfaad. Delete the directory extern_libs/ffmpeg after update from git repository rm -rf extern_libs/ffmpeg ./autogen.sh The GIMP-GAP configure script automatically extracts the ffmpeg subdirectory from the ffmpeg.tar.gz tarball that came with the update.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp-gap/issues/17.