GNOME Bugzilla – Bug 534497
error: redefinition of typedef 'GtkTargetList_ornull
Last modified: 2008-06-01 14:58:42 UTC
after the following commands: perl Makefile.PL # no errors make # error occurs after this The following messages appear: cp pm/Helper.pm blib/lib/Gtk2/Helper.pm cp pm/SimpleList.pm blib/lib/Gtk2/SimpleList.pm cp build/gtk2perl-autogen.h blib/arch/Gtk2/Install/gtk2perl-autogen.h [ XS xs/Gdk.xs ] [ CC xs/Gdk.c ] In file included from Gdk.xs:21: ./gtk2perl.h:183: error: redefinition of typedef 'GtkTargetList_ornull' ./build/gtk2perl-autogen.h:2575: error: previous declaration of 'GtkTargetList_ornull' was here ./gtk2perl.h:185: error: expected declaration specifiers or '...' before '(' token ./gtk2perl.h:185: error: expected declaration specifiers or '...' before '(' token ./gtk2perl.h:185: error: expected declaration specifiers or '...' before '(' token In file included from Gdk.xs:21: ./gtk2perl.h:186:1: warning: "newSVGtkTargetList_ornull" redefined compiler: gcc 4.2.1 glibc : 2.6.1 kernel: 2.6.22.6 distro: none (from source)
this occurs with Gtk2 1.182 as retrieved from CPAN
GTK+ : 2.9.4
As muppet said on the mailing list, our stable releases support all stable releases of gtk+, but not unstable ones. 2.9.4 is unstable. Please re-open this bug report if the problem persists with, say, gtk+ 2.10.x.