Nice work Kevin! Good to see you are making alot of progress. I''d
really
like to help you out more but unfortunately I haven''t yet found the
time
to investigate Swig. Atm I can only dl the source tree and share my
results. So here goes:
(I did a clean/new checkout btw just to be sure)
Executing the rake command immediatly fails on my machine:
----
SWIG Version 1.3.24
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2004
University of Chicago
Compiled with i686-pc-linux-gnu-g++ [i686-pc-linux-gnu]
Please see http://www.swig.org for reporting bugs and further information
undefined method `>='' for nil:NilClass
./rake/rakewx.rb:21:in `have_good_swig''
./rake/rakewx.rb:251:in `create_internal_swig_tasks''
./rakefile:58
/usr/lib/ruby/site_ruby/1.8/rake.rb:1225:in `load''
/usr/lib/ruby/site_ruby/1.8/rake.rb:1225:in `load_rakefile''
/usr/lib/ruby/site_ruby/1.8/rake.rb:1274:in `run''
/usr/bin/rake:8
rake aborted!
Don''t know how to build task ''default''
----
Looking at the function have_good_swig I''m actually a bit puzzled.
When I run irb and execute `swig -version` it neatly prints the output
but the result is actually an empty string!
Adding a simple return false
before the original return starts the compilation without a snag though
:) (it shouldn''t actually but it does....)
((my first noob attempt was "return false unless version" which of
course translates to "return false"))
Unfortunately the compilation fails miserably. I added the errors as an
attachment because it''s a really really long list :((
I hope these errors are caused because I''m using Swig 1.3.24, if
you''d
like I could update to 1.3.25 and try again.
Lots of friendly greetings,
Jonathan
Kevin Smith wrote:
> Kevin Smith wrote:
>
>> Basically, I''m going to rework the post-processors one-by-one
until
>> they work with swig 1.3.25. It will probably take several days, so
>> don''t expect any other wxruby2 progress until this is done.
>
>
> Ok. I finally got it to swig, compile, link, and run at least a couple
> of the samples on my system (Ubuntu, swig 1.3.25, wx 2.6.1). It''s
> checked in, and I would appreciate reports of whether it builds on
> other platforms.
>
> I haven''t yet re-enabled the "fixdeleting"
post-processor, which
> attempted to improve memory management (avoid leaks and/or crashes due
> to double-freeing). I''ll try to get to that this weekend. Even
without
> that, I think it''s good enough that anyone who wants to can start
> hacking again.
>
> I''m much happier with the post-processing now, although
it''s still a
> bit messy in spots. There were several cases where the post-processing
> wasn''t finding the code fragments that it wanted to modify, so
those
> changes weren''t even being performed. Now, they complain if they
> couldn''t find their targets.
>
> Honestly, I don''t see how the previous wxruby2 code could have
worked
> with SWIG 1.3.24 or later.
>
> After I re-integrate fixdeleting, I''ll take a look at the latest
stuff
> Roy sent, including trying to come up with a better unicode typemap.
>
> Kevin
> _______________________________________________
> wxruby-users mailing list
> wxruby-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
>
-------------- next part --------------
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/ToolBar.o
src/ToolBar.cpp
src/ToolBar.cpp: In member function `virtual void
SwigDirector_wxToolBar::OnRightClick(int, float, float)'':
src/ToolBar.cpp:1136: warning: passing `float'' for converting 2 of
`virtual
void wxToolBarBase::OnRightClick(int, long int, long int)''
src/ToolBar.cpp:1136: warning: passing `float'' for converting 3 of
`virtual
void wxToolBarBase::OnRightClick(int, long int, long int)''
src/ToolBar.cpp: In function `VALUE _wrap_wxToolBar_FindToolForPosition(int,
VALUE*, long unsigned int)'':
src/ToolBar.cpp:2407: warning: passing `float'' for converting 1 of
`virtual
wxToolBarToolBase* wxToolBar::FindToolForPosition(int, int) const''
src/ToolBar.cpp:2407: warning: passing `float'' for converting 2 of
`virtual
wxToolBarToolBase* wxToolBar::FindToolForPosition(int, int) const''
src/ToolBar.cpp: In function `VALUE _wrap_wxToolBar_OnRightClick(int, VALUE*,
long unsigned int)'':
src/ToolBar.cpp:3118: warning: passing `float'' for converting 2 of
`virtual
void wxToolBarBase::OnRightClick(int, long int, long int)''
src/ToolBar.cpp:3118: warning: passing `float'' for converting 3 of
`virtual
void wxToolBarBase::OnRightClick(int, long int, long int)''
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/ToolTip.o
src/ToolTip.cpp
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/TreeEvent.o
src/TreeEvent.cpp
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/UpdateUIEvent.o
src/UpdateUIEvent.cpp
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/Window.o
src/Window.cpp
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/WindowDC.o
src/WindowDC.cpp
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/WindowDisabler.o
src/WindowDisabler.cpp
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/XmlResource.o
src/XmlResource.cpp
i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-ansi-debug-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -march=i686 -fPIC
-Wno-unused-function -I /usr/lib/ruby/site_ruby/1.8 -I
/usr/lib/ruby/site_ruby/1.8/i686-linux -I /usr/lib/ruby/site_ruby -I
/usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i686-linux -I . -o obj/wx.o src/wx.cpp
src/wx.cpp:30: error: parse error before `<<'' token
src/wx.cpp:31: error: missing '';'' before right brace
src/wx.cpp:41: error: parse error before `=='' token
In file included from src/wx.cpp:117:
/usr/lib/ruby/1.8/i686-linux/ruby.h:699: error: parse error before `}''
token
src/wx.cpp:237: error: parse error before `<<'' token
src/wx.cpp:253:1: warning: "SWIG_RUNTIME_VERSION" redefined
src/wx.cpp:240:1: warning: this is the location of the previous definition
src/wx.cpp:326: error: parse error before `<<'' token
src/wx.cpp:334: error: ''swig_converter_func'' is used as a
type, but is not
defined as a type.
src/wx.cpp:337: error: parse error before `}'' token
src/wx.cpp:337: error: declaration does not declare anything
src/wx.cpp:350: error: parse error before `>>'' token
src/wx.cpp:359: error: parse error before `!='' token
src/wx.cpp:376: error: `tb'' was not declared in this scope
src/wx.cpp:376: error: `tb'' was not declared in this scope
src/wx.cpp:377: error: `nb'' was not declared in this scope
src/wx.cpp:378: error: parse error before `while''
src/wx.cpp:379: error: ISO C++ forbids declaration of `ne'' with no type
src/wx.cpp:379: error: conflicting types for `int*ne''
src/wx.cpp:377: error: previous declaration as `const char*ne''
src/wx.cpp:379: error: parse error before `++'' token
src/wx.cpp:382: error: ISO C++ forbids declaration of `equiv'' with no
type
src/wx.cpp:382: error: `nb'' was not declared in this scope
src/wx.cpp:382: error: `tb'' was not declared in this scope
src/wx.cpp:382: error: `SWIG_TypeNameComp'' was not declared in this
scope
src/wx.cpp:383: error: parse error before `if''
src/wx.cpp:401: error: ISO C++ forbids declaration of `tc'' with no type
src/wx.cpp:401: error: `tl'' was not declared in this scope
src/wx.cpp:402: error: parse error before `while''
src/wx.cpp:415: error: ISO C++ forbids declaration of `head'' with no
type
src/wx.cpp:416: error: ISO C++ forbids declaration of `next'' with no
type
src/wx.cpp:416: error: conflicting types for `int next''
src/wx.cpp:335: error: previous declaration as `swig_cast_info*next''
src/wx.cpp:416: error: base operand of `->'' is not a pointer
src/wx.cpp:417: error: parse error before `goto''
src/wx.cpp:425: error: parse error before `!='' token
src/wx.cpp: In function `int SWIG_TypeEquiv(const char*, const char*)'':
src/wx.cpp:445: error: parse error before `>>'' token
src/wx.cpp:447: error: `SWIG_TypeNameComp'' undeclared (first use this
function)
src/wx.cpp:447: error: (Each undeclared identifier is reported only once for
each function it appears in.)
src/wx.cpp: At global scope:
src/wx.cpp:453: error: parse error before `<<'' token
src/wx.cpp:456: error: ISO C++ forbids declaration of `tl'' with no type
src/wx.cpp:456: error: `ti'' was not declared in this scope
src/wx.cpp:459: error: syntax error before `:'' token
src/wx.cpp:461: error: ISO C++ forbids declaration of `tc'' with no type
src/wx.cpp:461: error: redefinition of `int tc''
src/wx.cpp:401: error: `int tc'' previously defined here
src/wx.cpp:461: error: `ti'' was not declared in this scope
src/wx.cpp:463: error: parse error before `while''
src/wx.cpp:465: error: syntax error before `->'' token
src/wx.cpp:466: error: ISO C++ forbids declaration of `head'' with no
type
src/wx.cpp:466: error: redefinition of `int head''
src/wx.cpp:415: error: `int head'' previously declared here
src/wx.cpp:467: error: syntax error before `++'' token
src/wx.cpp:476: error: redefinition of `const char*te''
src/wx.cpp:376: error: `const char*te'' previously defined here
src/wx.cpp:476: error: `tb'' was not declared in this scope
src/wx.cpp:476: error: `tb'' was not declared in this scope
src/wx.cpp:477: error: conflicting types for `const char*ne''
src/wx.cpp:379: error: previous declaration as `int*ne''
src/wx.cpp:477: error: `nb'' was not declared in this scope
src/wx.cpp:478: error: parse error before `while''
src/wx.cpp:479: error: ISO C++ forbids declaration of `ne'' with no type
src/wx.cpp:479: error: conflicting types for `int*ne''
src/wx.cpp:477: error: previous declaration as `const char*ne''
src/wx.cpp:479: error: parse error before `++'' token
src/wx.cpp:482: error: ISO C++ forbids declaration of `equiv'' with no
type
src/wx.cpp:482: error: redefinition of `int equiv''
src/wx.cpp:382: error: `int equiv'' previously defined here
src/wx.cpp:482: error: `nb'' was not declared in this scope
src/wx.cpp:482: error: `tb'' was not declared in this scope
src/wx.cpp:482: error: `SWIG_TypeNameComp'' was not declared in this
scope
src/wx.cpp:483: error: parse error before `if''
src/wx.cpp:488: error: syntax error before `->'' token
src/wx.cpp:504: error: ISO C++ forbids declaration of `s'' with no type
src/wx.cpp:504: error: `ty'' was not declared in this scope
src/wx.cpp:505: error: parse error before `do''
src/wx.cpp:509: error: syntax error before `->'' token
src/wx.cpp:514: error: syntax error before `->'' token
src/wx.cpp:516: error: syntax error before `->'' token
src/wx.cpp:517: error: syntax error before `->'' token
src/wx.cpp:520: error: ISO C++ forbids declaration of `s'' with no type
src/wx.cpp:520: error: redefinition of `int s''
src/wx.cpp:504: error: `int s'' previously defined here
src/wx.cpp:520: error: base operand of `->'' is not a pointer
src/wx.cpp:521: error: parse error before `}'' token
src/wx.cpp:552: error: syntax error before `->'' token
src/wx.cpp:552: error: syntax error before `->'' token
src/wx.cpp:552: error: syntax error before `->'' token
src/wx.cpp:552: error: syntax error before `->'' token
src/wx.cpp:552: error: ISO C++ forbids declaration of `iter'' with no
type
src/wx.cpp:552: error: base operand of `->'' is not a pointer
src/wx.cpp:552: error: parse error before `}'' token
src/wx.cpp: In function `swig_cast_info* SWIG_TypeCheckStruct(swig_type_info*,
swig_type_info*)'':
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:558: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:559: error: parse error before `>>'' token
src/wx.cpp: At global scope:
src/wx.cpp:622: error: parse error before `<<'' token
src/wx.cpp:632: error: syntax error before `->'' token
src/wx.cpp:637: error: ISO C++ forbids declaration of `cast'' with no
type
src/wx.cpp:637: error: base operand of `->'' is not a pointer
src/wx.cpp:638: error: parse error before `}'' token
src/wx.cpp:662: error: ISO C++ forbids declaration of `ty'' with no type
src/wx.cpp:662: error: base operand of `->'' is not a pointer
src/wx.cpp:663: error: parse error before `=='' token
src/wx.cpp:672: error: base operand of `->'' is not a pointer
src/wx.cpp:672: error: register name not specified for `size_t r''
src/wx.cpp:673: error: parse error before `do''
src/wx.cpp:676: error: base operand of `->'' is not a pointer
src/wx.cpp:676: error: `i'' was not declared in this scope
src/wx.cpp:677: error: parse error before `if''
src/wx.cpp:695: error: ISO C++ forbids declaration of `iter'' with no
type
src/wx.cpp:695: error: redefinition of `int iter''
src/wx.cpp:552: error: `int iter'' previously defined here
src/wx.cpp:695: error: base operand of `->'' is not a pointer
src/wx.cpp:696: error: parse error before `}'' token
src/wx.cpp: In function `swig_type_info*
SWIG_TypeQueryModule(swig_module_info*, swig_module_info*, const
char*)'':
src/wx.cpp:714: error: `SWIG_MangledTypeQueryModule'' undeclared (first
use this
function)
src/wx.cpp:729: error: parse error before `>>'' token
src/wx.cpp: At global scope:
src/wx.cpp:736: error: parse error before `<<'' token
src/wx.cpp:745: error: syntax error before `->'' token
src/wx.cpp:746: error: ISO C++ forbids declaration of `equiv'' with no
type
src/wx.cpp:746: error: redefinition of `int equiv''
src/wx.cpp:482: error: `int equiv'' previously defined here
src/wx.cpp:746: error: `ti'' was not declared in this scope
src/wx.cpp:747: error: parse error before `while''
src/wx.cpp:753: error: ISO C++ forbids declaration of `tc'' with no type
src/wx.cpp:753: error: redefinition of `int tc''
src/wx.cpp:461: error: `int tc'' previously defined here
src/wx.cpp:753: error: base operand of `->'' is not a pointer
src/wx.cpp:754: error: parse error before `}'' token
src/wx.cpp:756: error: ISO C++ forbids declaration of `equiv'' with no
type
src/wx.cpp:756: error: redefinition of `int equiv''
src/wx.cpp:746: error: `int equiv'' previously defined here
src/wx.cpp:756: error: base operand of `->'' is not a pointer
src/wx.cpp:757: error: parse error before `}'' token
src/wx.cpp:769: error: `ptr'' was not declared in this scope
src/wx.cpp:770: error: `sz'' was not declared in this scope
src/wx.cpp:771: error: register name not specified for `unsigned char
uu''
src/wx.cpp:772: error: parse error before `=='' token
src/wx.cpp:779: error: conflicting types for `const unsigned char*u''
src/wx.cpp:769: error: previous declaration as `unsigned char*u''
src/wx.cpp:779: error: `ptr'' was not declared in this scope
src/wx.cpp:780: error: redefinition of `const unsigned char*eu''
src/wx.cpp:770: error: `const unsigned char*eu'' previously defined here
src/wx.cpp:780: error: `sz'' was not declared in this scope
src/wx.cpp:780: error: register name not specified for `const unsigned
char*eu''
src/wx.cpp:781: error: parse error before `>>'' token
src/wx.cpp:782: error: syntax error before `!='' token
src/wx.cpp:784: error: parse error before `++'' token
src/wx.cpp:785: error: parse error before `++'' token
src/wx.cpp:797: error: redefinition of `const unsigned char*eu''
src/wx.cpp:780: error: `const unsigned char*eu'' previously defined here
src/wx.cpp:797: error: `sz'' was not declared in this scope
src/wx.cpp:797: error: register name not specified for `const unsigned
char*eu''
src/wx.cpp:798: error: parse error before `=='' token
src/wx.cpp:805: error: redefinition of `const unsigned char*eu''
src/wx.cpp:797: error: `const unsigned char*eu'' previously defined here
src/wx.cpp:805: error: `sz'' was not declared in this scope
src/wx.cpp:805: error: register name not specified for `const unsigned
char*eu''
src/wx.cpp:806: error: parse error before `>>'' token
src/wx.cpp:807: error: syntax error before `!='' token
src/wx.cpp:810: error: redefinition of `unsigned char uu''
src/wx.cpp:771: error: `unsigned char uu'' previously declared here
src/wx.cpp:810: error: register name not specified for `unsigned char
uu''
src/wx.cpp:811: error: parse error before `=='' token
src/wx.cpp:813: error: redefinition of `unsigned char uu''
src/wx.cpp:810: error: `unsigned char uu'' previously defined here
src/wx.cpp:813: error: register name not specified for `unsigned char
uu''
src/wx.cpp:814: error: parse error before `>>'' token
src/wx.cpp:821: error: ISO C++ forbids declaration of `d'' with no type
src/wx.cpp:821: error: `c'' was not declared in this scope
src/wx.cpp:822: error: parse error before `if''
src/wx.cpp:828: error: ISO C++ forbids declaration of `u'' with no type
src/wx.cpp:828: error: conflicting types for `int*u''
src/wx.cpp:779: error: previous declaration as `const unsigned char*u''
src/wx.cpp:829: error: parse error before `}'' token
src/wx.cpp:843: error: conflicting types for `swig_type_info*tc''
src/wx.cpp:753: error: previous declaration as `int tc''
src/wx.cpp:844: error: parse error before `if''
src/wx.cpp:851: error: ISO C++ forbids declaration of `tc'' with no type
src/wx.cpp:851: error: conflicting types for `int tc''
src/wx.cpp:843: error: previous declaration as `swig_type_info*tc''
src/wx.cpp:851: error: base operand of `->'' is not a pointer
src/wx.cpp:852: error: parse error before `}'' token
src/wx.cpp:854: error: ISO C++ forbids declaration of `equiv'' with no
type
src/wx.cpp:854: error: redefinition of `int equiv''
src/wx.cpp:756: error: `int equiv'' previously defined here
src/wx.cpp:854: error: base operand of `->'' is not a pointer
src/wx.cpp:855: error: parse error before `}'' token
src/wx.cpp: In function `char* SWIG_PackVoidPtr(char*, void*, const char*,
unsigned int)'':
src/wx.cpp:866: error: `SWIG_PackData'' undeclared (first use this
function)
src/wx.cpp: In function `const char* SWIG_UnpackVoidPtr(const char*, void**,
const char*)'':
src/wx.cpp:882: error: `SWIG_UnpackData'' undeclared (first use this
function)
src/wx.cpp: In function `char* SWIG_PackDataName(char*, void*, unsigned int,
const char*, unsigned int)'':
src/wx.cpp:891: error: `SWIG_PackData'' undeclared (first use this
function)
src/wx.cpp: In function `const char* SWIG_UnpackDataName(const char*, void*,
unsigned int, const char*)'':
src/wx.cpp:910: error: `SWIG_UnpackData'' undeclared (first use this
function)
src/wx.cpp: At global scope:
src/wx.cpp:914: error: parse error before `}'' token
src/wx.cpp:940:1: warning: "SWIGEXPORT" redefined
src/wx.cpp:99:1: warning: this is the location of the previous definition
src/wx.cpp:946: error: parse error before `=='' token
src/wx.cpp:954: error: parse error before `++'' token
src/wx.cpp:955: error: ISO C++ forbids declaration of `r'' with no type
src/wx.cpp:955: error: conflicting types for `int r''
src/wx.cpp:672: error: previous declaration as `size_t r''
src/wx.cpp:955: error: `ptr'' was not declared in this scope
src/wx.cpp:955: error: `SWIG_PackData'' was not declared in this scope
src/wx.cpp:956: error: parse error before `if''
src/wx.cpp:957: error: `name'' was not declared in this scope
src/wx.cpp:957: error: ISO C++ forbids declaration of `strcpy'' with no
type
src/wx.cpp:957: error: `int strcpy'' redeclared as different kind of
symbol
/usr/include/string.h:83: error: previous declaration of `char* strcpy(char*,
const char*)''
src/wx.cpp:957: error: initializer list being treated as compound expression
src/wx.cpp:958: error: parse error before `return''
src/wx.cpp: In function `const char* SWIG_UnpackVoidPtr(const char*, void**,
const char*)'':
src/wx.cpp:962: error: redefinition of `const char* SWIG_UnpackVoidPtr(const
char*, void**, const char*)''
src/wx.cpp:873: error: `const char* SWIG_UnpackVoidPtr(const char*, void**,
const char*)'' previously defined here
src/wx.cpp:962: error: redefinition of `const char* SWIG_UnpackVoidPtr(const
char*, void**, const char*)''
src/wx.cpp:873: error: `const char* SWIG_UnpackVoidPtr(const char*, void**,
const char*)'' previously defined here
src/wx.cpp:971: error: `SWIG_UnpackData'' undeclared (first use this
function)
src/wx.cpp: In function `char* SWIG_PackDataName(char*, void*, unsigned int,
const char*, unsigned int)'':
src/wx.cpp:975: error: redefinition of `char* SWIG_PackDataName(char*, void*,
unsigned int, const char*, unsigned int)''
src/wx.cpp:886: error: `char* SWIG_PackDataName(char*, void*, unsigned int,
const char*, unsigned int)'' previously defined here
src/wx.cpp:975: error: redefinition of `char* SWIG_PackDataName(char*, void*,
unsigned int, const char*, unsigned int)''
src/wx.cpp:886: error: `char* SWIG_PackDataName(char*, void*, unsigned int,
const char*, unsigned int)'' previously defined here
src/wx.cpp:980: error: `SWIG_PackData'' undeclared (first use this
function)
src/wx.cpp: In function `const char* SWIG_UnpackDataName(const char*, void*,
unsigned int, const char*)'':
src/wx.cpp:990: error: redefinition of `const char* SWIG_UnpackDataName(const
char*, void*, unsigned int, const char*)''
src/wx.cpp:901: error: `const char* SWIG_UnpackDataName(const char*, void*,
unsigned int, const char*)'' previously defined here
src/wx.cpp:990: error: redefinition of `const char* SWIG_UnpackDataName(const
char*, void*, unsigned int, const char*)''
src/wx.cpp:901: error: `const char* SWIG_UnpackDataName(const char*, void*,
unsigned int, const char*)'' previously defined here
src/wx.cpp:999: error: `SWIG_UnpackData'' undeclared (first use this
function)
src/wx.cpp: At global scope:
src/wx.cpp:1001: error: parse error before `>>'' token
src/wx.cpp:1010: error: `swig_type_list'' was not declared in this scope
src/wx.cpp: In function `swig_type_info*
SWIG_TypeRegister(swig_type_info*)'':
src/wx.cpp:1016: error: `SWIG_TypeRegisterTL'' undeclared (first use
this
function)
src/wx.cpp: In function `swig_type_info* SWIG_TypeQuery(const char*)'':
src/wx.cpp:1022: error: `SWIG_TypeQueryTL'' undeclared (first use this
function)
src/wx.cpp: In function `void SWIG_TypeClientData(swig_type_info*,
void*)'':
src/wx.cpp:1028: error: `SWIG_TypeClientDataTL'' undeclared (first use
this
function)
src/wx.cpp: In function `void
SWIG_PropagateClientData(swig_type_info*)'':
src/wx.cpp:1038: error: `SWIG_PropagateClientDataTL'' undeclared (first
use this
function)
src/wx.cpp: At global scope:
src/wx.cpp:1042: error: parse error before `}'' token
src/wx.cpp: In function `void SWIG_Ruby_InitRuntime()'':
src/wx.cpp:1117: error: `_mSWIG'' undeclared (first use this function)
src/wx.cpp: In function `int SWIG_Ruby_ConvertPtr(long unsigned int, void**,
swig_type_info*, int)'':
src/wx.cpp:1224: error: `SWIG_TypeCheck'' undeclared (first use this
function)
src/wx.cpp:1231: error: `SWIG_TypeCast'' undeclared (first use this
function)
src/wx.cpp: In function `int SWIG_Ruby_CheckConvert(long unsigned int,
swig_type_info*)'':
src/wx.cpp:1252: error: `SWIG_TypeCheck'' undeclared (first use this
function)
src/wx.cpp: In function `VALUE SWIG_Ruby_NewPackedObj(void*, int,
swig_type_info*)'':
src/wx.cpp:1261: error: `SWIG_PackData'' undeclared (first use this
function)
src/wx.cpp:1262: error: `strcpy'' cannot be used as a function
src/wx.cpp: In function `void SWIG_Ruby_ConvertPacked(long unsigned int, void*,
int, swig_type_info*, int)'':
src/wx.cpp:1269: error: parse error before `<<'' token
src/wx.cpp:1272: error: parse error before `=='' token
src/wx.cpp:1274: error: redeclaration of `const char*c''
src/wx.cpp:1271: error: `const char*c'' previously declared here
src/wx.cpp:1274: error: declaration of `const char*c''
src/wx.cpp:1271: error: conflicts with previous declaration `const
char*c''
src/wx.cpp:1275: error: parse error before `>>'' token
src/wx.cpp:1282: error: `SWIG_UnpackData'' undeclared (first use this
function)
src/wx.cpp:1284: error: `SWIG_TypeCheck'' undeclared (first use this
function)
src/wx.cpp: At global scope:
src/wx.cpp:1321: error: parse error before `}'' token
src/wx.cpp:1335:1: warning: "SWIGTYPE_p_int" redefined
src/wx.cpp:1332:1: warning: this is the location of the previous definition
src/wx.cpp:1336:1: warning: "SWIGTYPE_p_unsigned_long" redefined
src/wx.cpp:1329:1: warning: this is the location of the previous definition
src/wx.cpp:1338:1: warning: "SWIGTYPE_p_wxWindow" redefined
src/wx.cpp:1330:1: warning: this is the location of the previous definition
src/wx.cpp:1340: error: `swig_types'' was not declared in this scope
src/wx.cpp:1343: error: parse error before `>>'' token
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/char_traits.h:45,
from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/string:47,
from /usr/include/wx-2.6/wx/string.h:170,
from /usr/include/wx-2.6/wx/memory.h:20,
from /usr/include/wx-2.6/wx/object.h:25,
from /usr/include/wx-2.6/wx/wx.h:16,
from src/wx.cpp:1372:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/cstring:81: error: `
strcpy'' is already declared in this scope
src/wx.cpp:1620: error: parse error before `<<'' token
src/wx.cpp:1631: error: parse error before `if''
src/wx.cpp:1639: error: ISO C++ forbids declaration of `arg3'' with no
type
src/wx.cpp:1639: error: redefinition of `int arg3''
src/wx.cpp:1624: error: `int arg3'' previously declared here
src/wx.cpp:1639: error: `argv'' was not declared in this scope
src/wx.cpp:1639: error: `argv'' was not declared in this scope
src/wx.cpp:1639: error: `argv'' was not declared in this scope
src/wx.cpp:1640: error: `argv'' was not declared in this scope
src/wx.cpp:1640: error: `swig_types'' was not declared in this scope
src/wx.cpp:1640: error: ISO C++ forbids declaration of
`SWIG_Ruby_ConvertPtr''
with no type
src/wx.cpp:1640: error: `int SWIG_Ruby_ConvertPtr'' redeclared as
different kind
of symbol
src/wx.cpp:1197: error: previous declaration of `int SWIG_Ruby_ConvertPtr(long
unsigned int, void**, swig_type_info*, int)''
src/wx.cpp:1640: error: initializer list being treated as compound expression
src/wx.cpp:1641: error: ISO C++ forbids declaration of `arg5'' with no
type
src/wx.cpp:1641: error: redefinition of `int arg5''
src/wx.cpp:1626: error: `int arg5'' previously declared here
src/wx.cpp:1641: error: `argv'' was not declared in this scope
src/wx.cpp:1641: error: `argv'' was not declared in this scope
src/wx.cpp:1641: error: `argv'' was not declared in this scope
src/wx.cpp:1642: error: ISO C++ forbids declaration of `arg6'' with no
type
src/wx.cpp:1642: error: redefinition of `int arg6''
src/wx.cpp:1627: error: `int arg6'' previously declared here
src/wx.cpp:1642: error: `argv'' was not declared in this scope
src/wx.cpp:1642: error: `argv'' was not declared in this scope
src/wx.cpp:1642: error: `argv'' was not declared in this scope
src/wx.cpp:1643: error: ISO C++ forbids declaration of `result'' with no
type
src/wx.cpp:1643: error: redefinition of `int result''
src/wx.cpp:1628: error: `int result'' previously declared here
src/wx.cpp:1643: error: `arg1'' was not declared in this scope
src/wx.cpp:1645: error: ISO C++ forbids declaration of `vresult'' with
no type
src/wx.cpp:1645: error: conflicting types for `int vresult''
src/wx.cpp:1629: error: previous declaration as `VALUE vresult''
src/wx.cpp:1646: error: parse error before `return''
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_1(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1669: error: `swig_types'' undeclared (first use this
function)
src/wx.cpp:1669: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_2(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1696: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_5(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1752: error: parse error before `=='' token
src/wx.cpp:1763: error: parse error before `>>'' token
src/wx.cpp:1767: error: parse error before `<<'' token
src/wx.cpp:1773: error: `arg1'' undeclared (first use this function)
src/wx.cpp:1779: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_1(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1790: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_1(int,
VALUE*, long unsigned int)''
src/wx.cpp:1651: error: `VALUE _wrap_wxMessageBox__SWIG_1(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1790: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_1(int,
VALUE*, long unsigned int)''
src/wx.cpp:1651: error: `VALUE _wrap_wxMessageBox__SWIG_1(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1808: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_2(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1818: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_2(int,
VALUE*, long unsigned int)''
src/wx.cpp:1679: error: `VALUE _wrap_wxMessageBox__SWIG_2(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1818: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_2(int,
VALUE*, long unsigned int)''
src/wx.cpp:1679: error: `VALUE _wrap_wxMessageBox__SWIG_2(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1835: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_3(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1844: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_3(int,
VALUE*, long unsigned int)''
src/wx.cpp:1705: error: `VALUE _wrap_wxMessageBox__SWIG_3(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1844: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_3(int,
VALUE*, long unsigned int)''
src/wx.cpp:1705: error: `VALUE _wrap_wxMessageBox__SWIG_3(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_4(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1868: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_4(int,
VALUE*, long unsigned int)''
src/wx.cpp:1729: error: `VALUE _wrap_wxMessageBox__SWIG_4(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1868: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_4(int,
VALUE*, long unsigned int)''
src/wx.cpp:1729: error: `VALUE _wrap_wxMessageBox__SWIG_4(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp: In function `VALUE _wrap_wxMessageBox__SWIG_5(int, VALUE*, long
unsigned int)'':
src/wx.cpp:1890: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_5(int,
VALUE*, long unsigned int)''
src/wx.cpp:1751: error: `VALUE _wrap_wxMessageBox__SWIG_5(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1890: error: redefinition of `VALUE _wrap_wxMessageBox__SWIG_5(int,
VALUE*, long unsigned int)''
src/wx.cpp:1751: error: `VALUE _wrap_wxMessageBox__SWIG_5(int, VALUE*, long
unsigned int)'' previously defined here
src/wx.cpp:1896: error: parse error before `>>'' token
src/wx.cpp: In function `VALUE _wrap_wxMessageBox(int, VALUE*, long unsigned
int)'':
src/wx.cpp:1923: error: call of overloaded `_wrap_wxMessageBox__SWIG_5(int&,
VALUE*&, VALUE&)'' is ambiguous
src/wx.cpp:1751: error: candidates are: VALUE _wrap_wxMessageBox__SWIG_5(int,
VALUE*, long unsigned int)
src/wx.cpp:1890: error: VALUE _wrap_wxMessageBox__SWIG_5(int,
VALUE*, long unsigned int)
src/wx.cpp:1936: error: call of overloaded `_wrap_wxMessageBox__SWIG_4(int&,
VALUE*&, VALUE&)'' is ambiguous
src/wx.cpp:1729: error: candidates are: VALUE _wrap_wxMessageBox__SWIG_4(int,
VALUE*, long unsigned int)
src/wx.cpp:1868: error: VALUE _wrap_wxMessageBox__SWIG_4(int,
VALUE*, long unsigned int)
src/wx.cpp:1954: error: call of overloaded `_wrap_wxMessageBox__SWIG_3(int&,
VALUE*&, VALUE&)'' is ambiguous
src/wx.cpp:1705: error: candidates are: VALUE _wrap_wxMessageBox__SWIG_3(int,
VALUE*, long unsigned int)
src/wx.cpp:1844: error: VALUE _wrap_wxMessageBox__SWIG_3(int,
VALUE*, long unsigned int)
src/wx.cpp:1975: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp:1978: error: call of overloaded `_wrap_wxMessageBox__SWIG_2(int&,
VALUE*&, VALUE&)'' is ambiguous
src/wx.cpp:1679: error: candidates are: VALUE _wrap_wxMessageBox__SWIG_2(int,
VALUE*, long unsigned int)
src/wx.cpp:1818: error: VALUE _wrap_wxMessageBox__SWIG_2(int,
VALUE*, long unsigned int)
src/wx.cpp:2000: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp:2007: error: call of overloaded `_wrap_wxMessageBox__SWIG_1(int&,
VALUE*&, VALUE&)'' is ambiguous
src/wx.cpp:1651: error: candidates are: VALUE _wrap_wxMessageBox__SWIG_1(int,
VALUE*, long unsigned int)
src/wx.cpp:1790: error: VALUE _wrap_wxMessageBox__SWIG_1(int,
VALUE*, long unsigned int)
src/wx.cpp:2030: error: `SWIG_Ruby_ConvertPtr'' cannot be used as a
function
src/wx.cpp:2041: error: `_wrap_wxMessageBox__SWIG_0'' undeclared (first
use this
function)
src/wx.cpp: At global scope:
src/wx.cpp:2058: error: parse error before `<<'' token
src/wx.cpp:2060: error: too many initializers for `swig_type_info''
src/wx.cpp:2060: error: too many initializers for `swig_type_info''
src/wx.cpp:2060: error: too many initializers for `swig_type_info''
src/wx.cpp:2060: error: cannot convert `const char*'' to `
swig_type_info*(*)(void**)'' in initialization
src/wx.cpp:2061: error: too many initializers for `swig_type_info''
src/wx.cpp:2061: error: too many initializers for `swig_type_info''
src/wx.cpp:2061: error: too many initializers for `swig_type_info''
src/wx.cpp:2061: error: cannot convert `const char*'' to `
swig_type_info*(*)(void**)'' in initialization
src/wx.cpp:2062: error: too many initializers for `swig_type_info''
src/wx.cpp:2062: error: too many initializers for `swig_type_info''
src/wx.cpp:2062: error: too many initializers for `swig_type_info''
src/wx.cpp:2062: error: cannot convert `const char*'' to `
swig_type_info*(*)(void**)'' in initialization
src/wx.cpp:2063: error: parse error before `=='' token
src/wx.cpp:2066: error: conflicting types for `swig_type_info
_swigt__p_wxString''
src/wx.cpp:2061: error: previous declaration as `swig_type_info
_swigt__p_wxString[3]''
src/wx.cpp:2067: error: conflicting types for `swig_type_info
_swigt__p_wxWindow''
src/wx.cpp:2060: error: previous declaration as `swig_type_info
_swigt__p_wxWindow[3]''
src/wx.cpp:2074: error: cannot convert `swig_type_info (*)[3]'' to `
swig_type_info*'' in initialization
src/wx.cpp:2075: error: parse error before `>>'' token
src/wx.cpp:2086: error: elements of array `swig_cast_info
_swigc__p_unsigned_long[]'' have incomplete type
src/wx.cpp:2086: error: storage size of `_swigc__p_unsigned_long''
isn''t known
src/wx.cpp:2086: error: storage size of `_swigc__p_unsigned_long''
isn''t known
src/wx.cpp:2087: error: elements of array `swig_cast_info
_swigc__p_wxString[]''
have incomplete type
src/wx.cpp:2087: error: storage size of `_swigc__p_wxString''
isn''t known
src/wx.cpp:2087: error: storage size of `_swigc__p_wxString''
isn''t known
src/wx.cpp:2088: error: elements of array `swig_cast_info
_swigc__p_wxWindow[]''
have incomplete type
src/wx.cpp:2088: error: storage size of `_swigc__p_wxWindow''
isn''t known
src/wx.cpp:2088: error: storage size of `_swigc__p_wxWindow''
isn''t known
src/wx.cpp:2091: error: `_swigc__p_int'' was not declared in this scope
src/wx.cpp:2095: error: parse error before `>>'' token
src/wx.cpp: In function `void SWIG_InitializeModule(void*)'':
src/wx.cpp:2180: error: `SWIG_MangledTypeQueryModule'' undeclared (first
use
this function)
src/wx.cpp:2191: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2196: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2199: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2205: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2206: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2211: error: cannot increment a pointer to incomplete type `
swig_cast_info''
src/wx.cpp: In function `void SWIG_PropagateClientData()'':
src/wx.cpp:2237: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2238: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2238: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2239: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp:2241: error: invalid use of undefined type `struct
swig_cast_info''
src/wx.cpp:322: error: forward declaration of `struct swig_cast_info''
src/wx.cpp: At global scope:
src/wx.cpp:2255: error: syntax error before `void''
src/wx.cpp:2258: error: ISO C++ forbids declaration of
`SWIG_Ruby_InitRuntime''
with no type
src/wx.cpp:2258: error: new declaration `int SWIG_Ruby_InitRuntime()''
src/wx.cpp:1114: error: ambiguates old declaration `void
SWIG_Ruby_InitRuntime()''
src/wx.cpp:2259: error: ISO C++ forbids declaration of `mWxruby2'' with
no type
src/wx.cpp:2261: error: ISO C++ forbids declaration of
`SWIG_InitializeModule''
with no type
src/wx.cpp:2261: error: `int SWIG_InitializeModule'' redeclared as
different
kind of symbol
src/wx.cpp:2147: error: previous declaration of `void
SWIG_InitializeModule(void*)''
src/wx.cpp:2262: error: parse error before `for''
src/wx.cpp:2262: error: parse error before `;'' token
src/wx.cpp:2262: error: syntax error before `++'' token
src/wx.cpp:2270: error: ISO C++ forbids declaration of
`InitializeOtherModules''
with no type
src/wx.cpp:2270: error: new declaration `int InitializeOtherModules()''
src/wx.cpp:2269: error: ambiguates old declaration `void
InitializeOtherModules()''
src/wx.cpp:2272: error: ISO C++ forbids declaration of
`rb_define_const'' with
no type
src/wx.cpp:2272: error: `int rb_define_const'' redeclared as different
kind of
symbol
/usr/lib/ruby/1.8/i686-linux/ruby.h:486: error: previous declaration of `void
rb_define_const(long unsigned int, const char*, long unsigned int)''
src/wx.cpp:2272: error: initializer list being treated as compound expression
src/wx.cpp:2273: error: ISO C++ forbids declaration of `
rb_define_module_function'' with no type
src/wx.cpp:2273: error: `int rb_define_module_function'' redeclared as
different
kind of symbol
/usr/lib/ruby/1.8/i686-linux/ruby.h:491: error: previous declaration of `void
rb_define_module_function(long unsigned int, const char*, VALUE (*)(...),
int)''
src/wx.cpp:2273: error: initializer list being treated as compound expression
src/wx.cpp:2274: error: parse error before `}'' token
src/wx.cpp: In function `void InitializeOtherModules()'':
src/wx.cpp:2278: error: new declaration `void InitializeOtherModules()''
src/wx.cpp:2270: error: ambiguates old declaration `int
InitializeOtherModules()''
src/wx.cpp:2066: confused by earlier errors, bailing out
rake aborted!
Command failed with status (1): [i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/in...]