error: redefinition of typedef 'GtkTargetList_ornull



Has anyone run across the following when building Glib-1.182 for Perl ?
(released Mar 30,retrieved from CPAN)

compiler: gcc 4.2.1
glibc   : 2.6.1
kernel  : 2.6.22.6
distro  : none (from source)
package : Glib-1.182

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






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]