Hi, Make sure you have latest ExtUtils::XSpp from CPAN.
Make sure you are building in a clean tree. Regards Mark On 18/04/2011 19:40, Stephen Brickles wrote:
I am trying to build the latest trunk from svn for Wx so I can test out the new image button code. However it fails with the following error: /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/typemap -typemap typemap Constant.xs> Constant.xsc&& mv Constant.xscConstant.c g++ -pthread -c -I. -I. -I/users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/site_perl/5.12.3/x86_64-linux/Alien/wxWidgets/gtk_2_9_1_uni/lib/wx/include/gtk2-unicode-2.9 -I/users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/site_perl/5.12.3/x86_64-linux/Alien/wxWidgets/gtk_2_9_1_uni/include/wx-2.9 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/x86_64-linux/CORE" -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ Constant.c Constant.c: In function `void XS_Wx_constant(CV*)': Constant.c:3411: warning: passing `double' for converting 1 of `SV* Perl_newSViv(IV)' /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ItemContainer.xsp> XS/ItemContainer.xs /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ItemContainerImmutable.xsp> XS/ItemContainerImmutable.xs /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/typemap -typemap typemap Controls.xs> Controls.xsc&& mv Controls.xscControls.c Error: 'wxPlHeaderCtrlSimple *' not in typemap in /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp interface/wx/headerctrl.h, line 534 Warning: duplicate function definition 'SetSelection' detected in XS/ComboBox.xs, line 176 make: *** [Controls.c] Error 1 Any ideas ? I already installed the latest Alien code first. Thanks, Stephen.