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 534497 - error: redefinition of typedef 'GtkTargetList_ornull
error: redefinition of typedef 'GtkTargetList_ornull
Status: RESOLVED NOTABUG
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2008-05-23 14:41 UTC by J. Hart
Modified: 2008-06-01 14:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description J. Hart 2008-05-23 14:41: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)
Comment 1 J. Hart 2008-05-23 14:47:39 UTC
this occurs with Gtk2 1.182 as retrieved from CPAN
Comment 2 J. Hart 2008-05-25 11:39:43 UTC
GTK+ : 2.9.4
Comment 3 Torsten Schoenfeld 2008-06-01 14:58:42 UTC
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.