[Kde-imaging] kipi-plugins-0.1.3: --with-libgpod works? (not for me)

Rex Dieter rdieter at math.unl.edu
Tue May 1 14:14:02 CEST 2007


Rex Dieter wrote:
> Seb Ruiz wrote:
>> On 30/04/07, Rex Dieter <rdieter at math.unl.edu> wrote:
>>> kipi-plugins-0.1.3/kipi-plugins/ipodexport/plugin_ipodexport.cpp:44:
>>> undefined reference to `g_type_init'
>>> kipi-plugins-0.1.3/kipi-plugins/ipodexport/plugin_ipodexport.cpp:44:
>>> undefined reference to `g_type_init'
>>> collect2: ld returned 1 exit status
>>
>> It's not libgpod which is the problem here, but rather you are missing
>> the headers which define g_type_int. I've totally forgotten what you
>> need for this, perhaps glib ?
> 
> I have glib2-devel installed, and -lglib-2.0 was specified on the link 
> line (as found by ./configure)
> 
> Ah, found it... looks like this symbol is in libgobject-2.0.
> I'll whip up a patch.

Here's the promised patch, WORKSFORME.

(Surprised no one else ran into this problem, seems unbuildable as-is, 
oh well...).

-- Rex

p.s. One could consider this (partly) a bug in libgpod, whose pkgconfig 
file contains (on my box):
Requires: glib-2.0
instead of arguably:
Requires: glib-2.0 gobject-2.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kipi-plugins-0.1.3-gobject.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20070501/813f0e08/attachment.bin 


More information about the Kde-imaging mailing list