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.