07-13-2023, 09:32 AM
(This post was last modified: 07-13-2023, 09:38 AM by programmer_ceds.)
(07-12-2023, 09:39 PM)jiapei100 Wrote: Hi, all:Looks like iff are Amiga format files for which, if I remember correctly, support has been recently added. If you don't need these files try deleting the line from meson.build that includes this file format (line 1976 in the version of the file that I have - it reads ''' Amiga IFF/ILBM: @0@'''.format(have_ilbm),)
I'm trying to build gimp-2.99.16 under Ubuntu 22.04, but obtained the following ERROR messages:
Code:
[2192/2522] cc -o plug-ins/common/file-iff plug-ins/common/file-iff.p/file-iff.c.o -Wl,--as-needed -Wl,--no-undefined '-Wl,-rpath,$ORIGIN/../../libgimp:$ORIGIN/../../libgimpbase:$ORIGIN/../../libgimpcolor:$ORIGIN/../../libgimpconfig:$ORIGIN/../../libgimpmath:$ORIGIN/../../libgimpmodule:$ORIGIN/../../libgimpwidgets' -Wl,-rpath-link,....../gimp/builddir/libgimp -Wl,-rpath-link,....../gimp/builddir/libgimpbase -Wl,-rpath-link,....../gimp/builddir/libgimpcolor -Wl,-rpath-link,....../gimp/builddir/libgimpconfig -Wl,-rpath-link,....../gimp/builddir/libgimpmath -Wl,-rpath-link,....../gimp/builddir/libgimpmodule -Wl,-rpath-link,....../gimp/builddir/libgimpwidgets -Wl,--start-group libgimp/libgimp-3.0.so.0.9900.17 libgimpbase/libgimpbase-3.0.so.0.9900.17 libgimpcolor/libgimpcolor-3.0.so.0.9900.17 libgimpconfig/libgimpconfig-3.0.so.0.9900.17 libgimpmath/libgimpmath-3.0.so.0.9900.17 libgimp/libgimpui-3.0.so.0.9900.17 libgimpwidgets/libgimpwidgets-3.0.so.0.9900.17 /usr/lib/x86_64-linux-gnu/libgtk-3.so /usr/lib/x86_64-linux-gnu/libgdk-3.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgegl-0.4.so /usr/lib/x86_64-linux-gnu/libgegl-npd-0.4.so -Wl,--export-dynamic /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so -pthread /usr/lib/x86_64-linux-gnu/libjson-glib-1.0.so /usr/lib/x86_64-linux-gnu/libbabl-0.1.so -lm -Wl,--end-group
FAILED: plug-ins/common/file-iff
cc -o plug-ins/common/file-iff plug-ins/common/file-iff.p/file-iff.c.o -Wl,--as-needed -Wl,--no-undefined '-Wl,-rpath,$ORIGIN/../../libgimp:$ORIGIN/../../libgimpbase:$ORIGIN/../../libgimpcolor:$ORIGIN/../../libgimpconfig:$ORIGIN/../../libgimpmath:$ORIGIN/../../libgimpmodule:$ORIGIN/../../libgimpwidgets' -Wl,-rpath-link,....../gimp/builddir/libgimp -Wl,-rpath-link,....../gimp/builddir/libgimpbase -Wl,-rpath-link,....../gimp/builddir/libgimpcolor -Wl,-rpath-link,....../gimp/builddir/libgimpconfig -Wl,-rpath-link,....../gimp/builddir/libgimpmath -Wl,-rpath-link,....../gimp/builddir/libgimpmodule -Wl,-rpath-link,....../gimp/builddir/libgimpwidgets -Wl,--start-group libgimp/libgimp-3.0.so.0.9900.17 libgimpbase/libgimpbase-3.0.so.0.9900.17 libgimpcolor/libgimpcolor-3.0.so.0.9900.17 libgimpconfig/libgimpconfig-3.0.so.0.9900.17 libgimpmath/libgimpmath-3.0.so.0.9900.17 libgimp/libgimpui-3.0.so.0.9900.17 libgimpwidgets/libgimpwidgets-3.0.so.0.9900.17 /usr/lib/x86_64-linux-gnu/libgtk-3.so /usr/lib/x86_64-linux-gnu/libgdk-3.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgegl-0.4.so /usr/lib/x86_64-linux-gnu/libgegl-npd-0.4.so -Wl,--export-dynamic /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so -pthread /usr/lib/x86_64-linux-gnu/libjson-glib-1.0.so /usr/lib/x86_64-linux-gnu/libbabl-0.1.so -lm -Wl,--end-group
/usr/bin/ld: plug-ins/common/file-iff.p/file-iff.c.o: in function `load_image':
file-iff.c:(.text+0x669): undefined reference to `ILBM_read'
/usr/bin/ld: file-iff.c:(.text+0x689): undefined reference to `ILBM_extractImages'
/usr/bin/ld: file-iff.c:(.text+0x7c3): undefined reference to `ILBM_imageIsACBM'
/usr/bin/ld: file-iff.c:(.text+0x7d6): undefined reference to `ILBM_convertACBMToILBM'
/usr/bin/ld: file-iff.c:(.text+0xafb): undefined reference to `ILBM_unpackByteRun'
/usr/bin/ld: file-iff.c:(.text+0xc1d): undefined reference to `ILBM_imageIsPBM'
/usr/bin/ld: file-iff.c:(.text+0xde0): undefined reference to `ILBM_freeImages'
collect2: error: ld returned 1 exit status
Can anybody give me a hand please?
Thanks...
Edit - having made the above reply I have gone to the GIMP gitlab site. There was a commit yesterday for the iff file type - you may also need to remove the changes that were introduced in that commit - https://gitlab.gnome.org/GNOME/gimp/-/co...3a1e91c968.
Also consider opening a new issue for this at https://gitlab.gnome.org/GNOME/gimp/-/issues