On 3/3/2010 at 16:16, Mariusz Fik <fisiu82@jabster.pl> wrote: Hi,
I just tried to update codelite package in my home repository. But build fails for openSUSE <= 11.1 but for 11.2 and build is successful. http://tinyurl.com/ycpdr5a
Any hint how to fix build for oS <= 11.1?
Mariusz, The fact that your makefile is using parallel build (-j 4) helped it to hide the error a bit from you and it's not at the end.... Extracted this error for you: g++ -DON_64_BIT -O3 -DREGEXP_UNICODE -c cscopedbbuilderthread.cpp -fPIC -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fno-strict-aliasing -DASTYLE_LIB -DYY_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ -DINSTALL_DIR=\"/usr/share/codelite\" -DPLUGINS_DIR=\"/usr/lib64/codelite\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I. -I../sdk/codelite_indexer/network -I../sdk/wxsqlite3/include -I../sdk/wxsqlite3/sqlite3/include -I../sdk/wxscintilla/include -I../sdk/wxscintilla/src/scintilla/include -I../sdk/wxscintilla/src/scintilla/src -I../Interfaces -I../Debugger -I../Plugin -I../CodeLite -o Release_gcc_unicode/cscopedbbuilderthread.o In file included from cscope.h:28, from cscopedbbuilderthread.cpp:30: ../Interfaces/plugin.h:31:27: error: wx/aui/auibar.h: No such file or directory In file included from cscope.h:28, from cscopedbbuilderthread.cpp:30: ../Interfaces/plugin.h:291: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type ../Interfaces/plugin.h:291: error: 'wxAuiToolBar' declared as a 'virtual' field ../Interfaces/plugin.h:291: error: expected ';' before '*' token In file included from cscopedbbuilderthread.cpp:30: cscope.h:47: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type cscope.h:47: error: 'wxAuiToolBar' declared as a 'virtual' field cscope.h:47: error: expected ';' before '*' token make[1]: *** [Release_gcc_unicode/cscopedbbuilderthread.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from cscope.h:28, from cscope.cpp:34: ../Interfaces/plugin.h:291: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type ../Interfaces/plugin.h:291: error: 'wxAuiToolBar' declared as a 'virtual' field ../Interfaces/plugin.h:291: error: expected ';' before '*' token In file included from cscope.cpp:34: cscope.h:47: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type cscope.h:47: error: 'wxAuiToolBar' declared as a 'virtual' field cscope.h:47: error: expected ';' before '*' token cscope.cpp:94: error: expected constructor, destructor, or type conversion before '*' token make[1]: *** [Release_gcc_unicode/cscope.o] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/codelite-2.3.0.3833/cscope' And there is the problem: error: wx/aui/auibar.h: No such file or directory in openSUSE 11.1 there is wxGTK 2.8.8.1, whereas openSUSE 11.2 has wxGTK 2.8.10.1. In order to solve this, you can link wxGTK from openSUSE 11.2 to your home project. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org