wxWidgets can be really picky in compiles.  You might want to check which
#defines control those definitions and where they are set.

Which options are used to compile wx vary from linux distribution to
distribution.  They can affect whether BOINC can be compiled or will
function.  It would be nice if a developer fixed these problems, but I'm
not sure who that developer would be.



On Tue, Jun 10, 2014 at 10:44 PM, Han Pingtian <[email protected]>
wrote:

> On Tue, Jun 10, 2014 at 10:28:25PM -0400, Rom Walton wrote:
> > There are a few optional packages:
> > xcb-atom
> > xcb-util
> >
> > I'm not really sure what the package name is these days.  The X
> screensaver and X keyboard/mouse stuff has been re-factored over the years
> and the package names change.
> >
>
> I checked the output of configure, and looks like xcb is OK:
>
> checking for XCB... yes
> checking for XCBATOM... yes
>
>
> > ----- Rom
> >
> > -----Original Message-----
> > From: Han Pingtian [mailto:[email protected]]
> > Sent: Tuesday, June 10, 2014 9:11 PM
> > To: Rom Walton; [email protected]
> > Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20
> >
> > On Tue, Jun 10, 2014 at 12:14:43PM -0400, Rom Walton wrote:
> > > It looks like the libnotify/gtk dev packages is missing.
> > >
> > It looks like I had installed gtk2-devel-2.24.22-2.fc20.x86_64 and
> libnotify-devel-0.7.6-1.fc20.x86_64. Any other packages I should also
> install?
> >
> > Thanks.
> > > ----- Rom
> > >
> > > -----Original Message-----
> > > From: boinc_dev [mailto:[email protected]] On Behalf
> > > Of Han Pingtian
> > > Sent: Tuesday, June 10, 2014 9:21 AM
> > > To: [email protected]
> > > Subject: [boinc_dev] failed to compile 7.3.19 on fedora 20
> > >
> > > Hey there,
> > >
> > > I'm trying to compile boinc from source git on a fedora 20 system, but
> it failed with some error messages:
> > >
> > > ... ...
> > >   CXX      boincmgr-taskbarex.o
> > > In file included from /usr/include/wx-3.0/wx/wx.h:14:0,
> > >                  from ./stdwx.h:49,
> > >                  from gtk/taskbarex.cpp:20:
> > > /usr/include/wx-3.0/wx/defs.h:3394:31: error: conflicting declaration
> ‘typedef struct _GdkWindow GdkWindow’
> > >      typedef struct _GdkWindow GdkWindow;
> > >                                ^
> > > In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
> > >                  from
> /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
> > >                  from /usr/include/gtk-2.0/gdk/gdk.h:32,
> > >                  from /usr/include/gtk-2.0/gtk/gtk.h:32,
> > >                  from gtk/taskbarex.cpp:17:
> > > /usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: ‘GdkWindow’ has a
> previous declaration as ‘typedef struct _GdkDrawable GdkWindow’
> > >  typedef struct _GdkDrawable           GdkWindow;
> > >                                        ^ 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)
> > >      ^
> > > 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
> > >
> > > 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!
> > >
> > > _______________________________________________
> > > 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.
> >
>
> _______________________________________________
> 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.
>
>
_______________________________________________
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