On Sunday 29 August 2004 07:35 pm, Fernando Gleiser wrote:
I'm trying to build a GIMP pluging for RAW files. There isn't a port for
it and the plugin suffers from the All the world's Linux disease.
The plugin doesn't use autoconf or anything similar, just the makefile
and a .c file. So far I could make it compile by adding the
corresponding -I flags to gcc (this isn't redhat where everything
goes under /usr/include/ :) ), but when I try to link it it fails miserably
with a lot of messages about undefined references:
tmp/ccTxq6vi.o(.text+0x351b): undefined reference to `gdk_pixbuf_new'
/tmp/ccTxq6vi.o(.text+0x353f): undefined reference to `g_log'
/tmp/ccTxq6vi.o(.text+0x355d): undefined reference to `gtk_image_get_type'
/tmp/ccTxq6vi.o(.text+0x356d): undefined reference to
`g_type_check_instance_cast' /tmp/ccTxq6vi.o(.text+0x3578): undefined
reference to `gtk_image_set_from_pixbuf' /tmp/ccTxq6vi.o(.text+0x35ab):
undefined reference to `gtk_widget_set_size_request'
/tmp/ccTxq6vi.o(.text+0x35be): undefined reference to
`gimp_dialog_get_type' /tmp/ccTxq6vi.o(.text+0x35cc): undefined reference
to `g_type_check_instance_cast' /tmp/ccTxq6vi.o(.text+0x35d7): undefined
reference to `gimp_dialog_run' /tmp/ccTxq6vi.o(.text+0x35eb): undefined
reference to `gtk_widget_destroy'
does anyone know what could be wrong here? I checked ldconfig -r output
and the libs seem to be there:
You really need to provide what OS you are using. For example, there is an
item in /usr/src/UPDATING about rebuilding ports that contain c++ on 5.3.
Your failure looks like one of those.
Kent
bash-2.05b$ ldconfig -r | grep gtk
79:-lgtk12.2 = /usr/X11R6/lib/libgtk12.so.2
88:-lwx_gtk2-2.4.0 = /usr/X11R6/lib/libwx_gtk2-2.4.so.0
99:-lgtkspell.0 = /usr/X11R6/lib/libgtkspell.so.0
130:-lwx_gtk2_gl-2.4.0 = /usr/X11R6/lib/libwx_gtk2_gl-2.4.so.0
132:-lgtk-x11-2.0.400 = /usr/X11R6/lib/libgtk-x11-2.0.so.400
316:-lexif-gtk.4 = /usr/local/lib/libexif-gtk.so.4
467:-lgtk-x11-2.0.200 =
/usr/local/lib/compat/pkg/libgtk-x11-2.0.so.200 bash-2.05b$ ldconfig -r |
grep gimp
101:-lgimpthumb-2.0.0 = /usr/X11R6/lib/libgimpthumb-2.0.so.0
102:-lgimpwidgets-2.0.0 = /usr/X11R6/lib/libgimpwidgets-2.0.so.0
105:-lgimpmath-2.0.0 = /usr/X11R6/lib/libgimpmath-2.0.so.0
106:-lgimpmodule-2.0.0 = /usr/X11R6/lib/libgimpmodule-2.0.so.0
119:-lgimpbase-2.0.0 = /usr/X11R6/lib/libgimpbase-2.0.so.0
120:-lgimpcolor-2.0.0 = /usr/X11R6/lib/libgimpcolor-2.0.so.0
122:-lgimp-2.0.0 = /usr/X11R6/lib/libgimp-2.0.so.0
123:-lgimpui-2.0.0 = /usr/X11R6/lib/libgimpui-2.0.so.0
350:-lgimpprint.2 = /usr/local/lib/libgimpprint.so.2
Any pointers/suggestions/ideas would be greatly apreciated.
Fer
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
Support the Bison at http://www.buffalofieldcampaign.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]