After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 314513 - undefined reference to `gimp_matrix2_get_type'
undefined reference to `gimp_matrix2_get_type'
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: General
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-08-25 23:08 UTC by Eduard Carreras i Nadal
Modified: 2008-01-15 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eduard Carreras i Nadal 2005-08-25 23:08:55 UTC
Distribution/Version: Debian testing

compiling gimp with garnome-2.11-20050819.1645 (includes gimp-2.3.3)

cc -g -g -I/developer/garnome/include -O2 -pipe -Wall -Wl,--export-dynamic -o
.libs/faxg3 faxg3.o g3.o run_tbl.o  -L/developer/garnome/lib
../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so
../../libgimpbase/.libs/libgimpbase-2.0.so
/developer/garnome/lib/libgobject-2.0.so /developer/garnome/lib/libglib-2.0.so
-Wl,--rpath -Wl,/developer/garnome/lib
/developer/garnome-2.11-20050819.1645/fifth-toe/gimp/work/main.d/gimp-2.3.3/libgimpconfig/.libs/libgimpconfig-2.0.so.0:
undefined reference to `gimp_matrix2_get_type'
collect2: ld returned 1 exit status
make[4]: *** [faxg3] Error 1
Comment 1 Sven Neumann 2005-08-26 09:20:59 UTC
There's probably just a newly added dependency missing in the Makefiles. If you
want to come up with a patch, that would increase the likelihood that this gets
fixed soon.
Comment 2 Michael Natterer 2005-08-26 11:38:31 UTC
Actually, this is libtool brokenness on linux.

rm /developer/garnome/lib/*.la

will fix the problem. libtool is stupid enough to pull in
the installed libs, even tho it has been told to use the
ones from the source tree.
Comment 3 Sven Neumann 2005-08-26 17:28:54 UTC
Well, we should find out if we need the explicit dependencies for any supported
platform. Otherwise, we better get rid of them all over the place.
Comment 4 guenter 2005-11-30 21:14:36 UTC
I tried to make gimp 2.3.5 from gimp-2.3.5.tar.bz2 on SuSE Linux 10.0 and ran
into the same error:
gcc -g -O2 -Wall -o .libs/faxg3 faxg3.o g3.o run_tbl.o 
../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so
../../libgim       pbase/.libs/libgimpbase-2.0.so -L/opt/gnome/lib
/opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libglib-2.0.so
/home/XXX/gimp-2.3.5/libgimpconfig/.libs/libgimpconfig-2.0.so.0: undefined
reference to `gimp_matrix2_get_type'

Any other information needed? Let me know!

This advice 'rm /developer/garnome/lib/*.la' doesn't help because I do not have
such a directory.
Help please!
Comment 5 weskaggs 2005-11-30 22:20:56 UTC
In your case it would be 'rm /opt/gnome/lib/*.la'.
Comment 6 guenter 2005-12-01 15:11:32 UTC
Thanks!

Three of them I had to copy back again:
libglib-2.0.la
libgobject-2.0.la
libgtk-x11-2.0.la

Otherwise make failed.
Comment 7 weskaggs 2005-12-01 15:45:09 UTC
In any case, this isn't really a GIMP problem -- resolving accordingly.