[devel] Ошибка при сборке wxPerl

Slava Dubrovskiy =?iso-8859-1?q?dubrsl_=CE=C1_altlinux=2Eru?=
Ср Июн 21 18:59:22 MSD 2006


Здравствуйте.

Собираю wxperl (http://wxperl.sourceforge.net/download.html)
Не собирается. :-(  Может чего-то в зависимостях не хватает?

Подскажите, в чем может быть причина ошибки.

/usr/bin/perl /usr/lib/perl5/ExtUtils/xsubpp  -noprototypes
-nolinenumbers  -typemap /usr/lib/perl5/ExtUtils/typemap -typemap
../../typemap -typemap typemap  Grid.xs > Grid.xsc && mv Grid.xsc Grid.c
i586-alt-linux-g++ -c  -I. -I../..
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6  
-pipe -Wall -Os -march=i586 -mtune=pentium4 -D_GNU_SOURCE
-momit-leaf-frame-pointer   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"
-fPIC -DPIC "-I/usr/lib/perl5/i386-linux/CORE"  -DWXPL_EXT
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA  Grid.c
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of
'register' in linkage specification

===skip

/usr/lib/perl5/i386-linux/CORE/perlvars.h:69: error: invalid use of
'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/perlvars.h:73: error: invalid use of
'register' in linkage specification
/usr/include/wx-2.6/wx/hashmap.h: In member function
'wxLongToLongHashMap_wxImplementation_HashTable::Node**
wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long
int&) const':
/usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/gdicmn.h: In member function
'wxStringToColourHashMap_wxImplementation_HashTable::Node**
wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function
'wxShadowObjectMethods_wxImplementation_HashTable::Node**
wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function
'wxShadowObjectFields_wxImplementation_HashTable::Node**
wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/image.h: In member function
'wxImageHistogramBase_wxImplementation_HashTable::Node**
wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long
unsigned int&) const':
/usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned
pointer will break strict-aliasing rules
Grid.c: In function 'void
XS_Wx__GridCellTextEditor_new(PerlInterpreter*, CV*)':
Grid.c:286: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellNumberEditor_new(PerlInterpreter*, CV*)':
Grid.c:306: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellFloatEditor_new(PerlInterpreter*, CV*)':
Grid.c:338: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellBoolEditor_new(PerlInterpreter*, CV*)':
Grid.c:368: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellChoiceEditor_new(PerlInterpreter*, CV*)':
Grid.c:390: warning: unused variable 'CLASS'
../../cpp/v_cback.h: At global scope:
../../cpp/v_cback.h:40: warning: 'unused' attribute ignored
Grid.c: In function 'void
XS_Wx__GridCellStringRenderer_new(PerlInterpreter*, CV*)':
Grid.c:511: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellNumberRenderer_new(PerlInterpreter*, CV*)':
Grid.c:529: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellFloatRenderer_new(PerlInterpreter*, CV*)':
Grid.c:549: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridCellBoolRenderer_new(PerlInterpreter*, CV*)':
Grid.c:643: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridEvent_new(PerlInterpreter*, CV*)':
Grid.c:717: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridSizeEvent_new(PerlInterpreter*, CV*)':
Grid.c:935: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridRangeSelectEvent_new(PerlInterpreter*, CV*)':
Grid.c:1107: warning: unused variable 'CLASS'
Grid.c: In function 'void
XS_Wx__GridEditorCreatedEvent_new(PerlInterpreter*, CV*)':
Grid.c:1348: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridCellAttr_new(PerlInterpreter*, CV*)':
Grid.c:1466: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridCellCoords_new(PerlInterpreter*, CV*)':
Grid.c:1887: warning: unused variable 'CLASS'
Grid.c: In function 'void XS_Wx__GridTableMessage_new(PerlInterpreter*,
CV*)':
Grid.c:5816: warning: unused variable 'CLASS'
Grid.c: At global scope:
Grid.c:5993: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/patchlevel.h:122: warning:
'local_patches' defined but not used
make[2]: *** [Grid.o] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26/ext/grid'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26/ext'
make: *** [subdirs] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26'
error: Bad exit status from /usr/src/tmp/rpm-tmp.268 (%build)

-- 
С уважением,
Дубровский Вячеслав.

----------- следующая часть -----------
An embedded and charset-unspecified text was scrubbed...
Name: perl-Wx.spec
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20060621/10da7299/attachment-0001.ksh>
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : signature.asc
Тип     : application/pgp-signature
Размер  : 254 байтов
Описание: OpenPGP digital signature
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20060621/10da7299/attachment-0001.bin>


Подробная информация о списке рассылки Devel