Thanks. But the compilation still failed after this modification and
re-run _autosetup and configure:

% make
cd . && sh generate_svn_version.sh
make  all-recursive
make[1]: Entering directory `/home/hpt/temp/boinc'
Making all in m4
make[2]: Entering directory `/home/hpt/temp/boinc/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hpt/temp/boinc/m4'
Making all in api
make[2]: Entering directory `/home/hpt/temp/boinc/api'
rm -f libboinc_api.a
/usr/bin/ln .libs/libboinc_api.a .
rm -f libboinc_graphics2.a
/usr/bin/ln .libs/libboinc_graphics2.a .
rm -f libboinc_opencl.a
/usr/bin/ln .libs/libboinc_opencl.a .
make[2]: Leaving directory `/home/hpt/temp/boinc/api'
Making all in lib
make[2]: Entering directory `/home/hpt/temp/boinc/lib'
rm -f libboinc.a
/usr/bin/ln .libs/libboinc.a .
make[2]: Leaving directory `/home/hpt/temp/boinc/lib'
Making all in client
make[2]: Entering directory `/home/hpt/temp/boinc/client'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hpt/temp/boinc/client'
Making all in client/scripts
make[2]: Entering directory `/home/hpt/temp/boinc/client/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hpt/temp/boinc/client/scripts'
Making all in clientgui
make[2]: Entering directory `/home/hpt/temp/boinc/clientgui'
  CXX      boincmgr-taskbarex.o
In file included from /usr/include/wx-3.0/wx/cursor.h:69:0,
                 from /usr/include/wx-3.0/wx/event.h:21,
                 from /usr/include/wx-3.0/wx/wx.h:24,
                 from ./stdwx.h:49,
                 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant redeclaration of 
‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ in same 
scope [-Wredundant-decls]
                               const void* user_data);
                                                    ^
In file included from /usr/include/wx-3.0/wx/list.h:34:0,
                 from /usr/include/wx-3.0/wx/wx.h:17,
                 from ./stdwx.h:49,
                 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of ‘void 
wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ [-Wredundant-decls]
 WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems,
                       ^
gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
     status_icon_notification_actions(NotifyNotification* notification, gchar 
*action, wxTaskBarIconEx* taskBarIcon)
     ^
gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
     status_icon_notification_closed(NotifyNotification* notification, 
wxTaskBarIconEx* taskBarIcon)
     ^
gtk/taskbarex.cpp: In member function ‘virtual bool 
wxTaskBarIconEx::SetIcon(const wxIcon&, const wxString&)’:
gtk/taskbarex.cpp:211:68: error: ‘gtk_status_icon_set_tooltip’ was not declared 
in this scope
         gtk_status_icon_set_tooltip(g_pStatusIcon, message.mb_str());
                                                                    ^
In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:37:0,
                 from /usr/include/gtk-3.0/gtk/gtk.h:227,
                 from gtk/taskbarex.cpp:17:
gtk/taskbarex.cpp: In function ‘const char* SetBalloon__returnIcon(unsigned 
int)’:
/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:278:38: warning: ‘GtkStock’ is 
deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:97) 
[-Wdeprecated-declarations]
 #define GTK_STOCK_DIALOG_INFO      ((GtkStock)"gtk-dialog-info")
                                      ^
gtk/taskbarex.cpp:222:20: note: in expansion of macro ‘GTK_STOCK_DIALOG_INFO’
             return(GTK_STOCK_DIALOG_INFO);
                    ^
/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:288:38: warning: ‘GtkStock’ is 
deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:97) 
[-Wdeprecated-declarations]
 #define GTK_STOCK_DIALOG_WARNING   ((GtkStock)"gtk-dialog-warning")
                                      ^
gtk/taskbarex.cpp:225:20: note: in expansion of macro ‘GTK_STOCK_DIALOG_WARNING’
             return(GTK_STOCK_DIALOG_WARNING);
                    ^
/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:298:38: warning: ‘GtkStock’ is 
deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:97) 
[-Wdeprecated-declarations]
 #define GTK_STOCK_DIALOG_ERROR     ((GtkStock)"gtk-dialog-error")
                                      ^
gtk/taskbarex.cpp:229:20: note: in expansion of macro ‘GTK_STOCK_DIALOG_ERROR’
             return(GTK_STOCK_DIALOG_ERROR);
                    ^
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hpt/temp/boinc'
make: *** [all] Error 2

On Tue, Jun 17, 2014 at 07:49:44PM +0300, Juha wrote:
> On 17 June 2014 19:45, Juha <[email protected]> wrote:
> 
> > On 17 June 2014 04:05, Han Pingtian <[email protected]> wrote:
> >
> >> On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
> >> > On 16 June 2014 07:45, Han Pingtian <[email protected]> wrote:
> >> >
> >> > > On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
> >> > > > On 10 June 2014 16:20, Han Pingtian <[email protected]>
> >> wrote:
> >> > > >
> >> > > > > I have installed wxGTK3 on this system, the
> >> > > > > /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
> >> > > > > /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm
> >> using
> >> > > > > './configure --disable-server ' to configure it. Not sure what's
> >> wrong,
> >> > > > > please advise. Thanks!
> >> > > > >
> >> > > >
> >> > > > In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and
> >> you are
> >> > > > trying to compile Manager with GTK+ 2. That's not going to work, you
> >> > > can't
> >> > > > mix GTK+ versions like that.
> >> > > >
> >> > >
> >> > > I think this is what boinc wants to do on the Fedora 20 system, not
> >> > > me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure
> >> if
> >> > > I was doing something wrong.
> >> > >
> >> >
> >> > Do you have gtk3-devel installed? If not, install it.
> >>
> >> I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this isn't
> >> the reason of this problem ...
> >
> >
> > I was going to tell you to uninstall gtk2-devel but that's not going to
> > work.
> >
> > Open clientgui/Makefile.am and replace every "gtk+-2.0" with "gtk+-3.0".
> > There should be three of them near the end of the file.
> >
> > This isn't a proper fix but should get you at least a bit further.
> >
> 
> After editing Makefile.am run configure. You may need to run _autosetup
> before configure, I never remember which files were input files for which
> programs.
> 
> -Juha

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to