It looks like the libnotify/gtk dev packages is missing.

----- Rom

-----Original Message-----
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Han 
Pingtian
Sent: Tuesday, June 10, 2014 9:21 AM
To: boinc_dev@ssl.berkeley.edu
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
boinc_dev@ssl.berkeley.edu
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
boinc_dev@ssl.berkeley.edu
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