gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -g -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iinclude -Isrc -I/usr/lib/wx/include/gtk2u-2.5 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -c src/gtk/grid_wrap.cpp -o build-gtk2.unicode/temp.linux-i686-2.3/src/gtk/grid_wrap.o -O3
In file included from /usr/include/wx/grid.h:4,
from src/gtk/grid_wrap.cpp:357:
/usr/include/wx/generic/grid.h:84: error: redefinition of `class wxLongToLongHashMap_wxImplementation_Pair'
/usr/include/wx/fs_zip.h:28: error: previous definition of `class wxLongToLongHashMap_wxImplementation_Pair'
/usr/include/wx/generic/grid.h:84: error: redefinition of `class wxLongToLongHashMap_wxImplementation_KeyEx'
/usr/include/wx/fs_zip.h:28: error: previous definition of `class wxLongToLongHashMap_wxImplementation_KeyEx'
/usr/include/wx/generic/grid.h:84: error: redefinition of `class wxLongToLongHashMap_wxImplementation_HashTable'
/usr/include/wx/fs_zip.h:28: error: previous definition of `class wxLongToLongHashMap_wxImplementation_HashTable'
/usr/include/wx/generic/grid.h:84: error: redefinition of `class wxLongToLongHashMap'
/usr/include/wx/fs_zip.h:28: error: previous definition of `class wxLongToLongHashMap'
/usr/include/wx/generic/grid.h:84: error: syntax error before `hint'
/usr/include/wx/generic/grid.h:84: error: missing ';' before right brace
/usr/include/wx/generic/grid.h:84: error: ISO C++ forbids defining types within return type
/usr/include/wx/generic/grid.h:84: error: syntax error before `&' token
/usr/include/wx/generic/grid.h: In function `void insert(...)':
/usr/include/wx/generic/grid.h:84: error: invalid use of `this' in non-member function
/usr/include/wx/generic/grid.h:84: error: `v' undeclared (first use this function)
/usr/include/wx/generic/grid.h:84: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/wx/generic/grid.h: At global scope:
/usr/include/wx/generic/grid.h:84: error: syntax error before `&' token
/usr/include/wx/generic/grid.h: In function `void erase(...)':
/usr/include/wx/generic/grid.h:84: error: `it' undeclared (first use this function)
/usr/include/wx/generic/grid.h: At global scope:
/usr/include/wx/generic/grid.h:84: error: syntax error before `&' token
/usr/include/wx/generic/grid.h: In function `void erase(...)':
/usr/include/wx/generic/grid.h:84: error: redefinition of `void erase(...)'
/usr/include/wx/generic/grid.h:84: error: `void erase(...)' previously defined here
/usr/include/wx/generic/grid.h:84: error: redefinition of `void erase(...)'
/usr/include/wx/generic/grid.h:84: error: `void erase(...)' previously defined here
/usr/include/wx/generic/grid.h: At global scope:
/usr/include/wx/generic/grid.h:84: error: syntax error before `&' token
/usr/include/wx/generic/grid.h:84: warning: inline function `wxLongToLongHashMap_wxImplementation_KeyEx::wxLongToLongHashMap_wxImplementation_KeyEx()' used but never defined
/usr/include/wx/generic/grid.h:84: warning: inline function `static size_t wxLongToLongHashMap_wxImplementation_HashTable::GetBucketForNode(wxLongToLongHashMap_wxImplementation_HashTable*, wxLongToLongHashMap_wxImplementation_HashTable::Node*)' used but never defined
error: command 'gcc' failed with exit status 1
Tomo Vuckovic wrote:
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -g -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iinclude -Isrc -I/usr/lib/wx/include/gtk2u-2.5 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -c src/gtk/grid_wrap.cpp -o build-gtk2.unicode/temp.linux-i686-2.3/src/gtk/grid_wrap.o -O3
In file included from /usr/include/wx/grid.h:4,
from src/gtk/grid_wrap.cpp:357:
/usr/include/wx/generic/grid.h:84: error: redefinition of `class wxLongToLongHashMap_wxImplementation_Pair'
A fix for this was just checked in. Update and try again.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!