You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.编译过程很顺利。
2.make过程中出现两个错误。
3.error log 如下:
What is the expected output? What do you see instead?
[root@YH build]# make
Scanning dependencies of target chmseelib
[ 2%] Building C object src/CMakeFiles/chmseelib.dir/chmsee.c.o
[ 4%] Building C object src/CMakeFiles/chmseelib.dir/setup.c.o
[ 7%] Building C object src/CMakeFiles/chmseelib.dir/utils.c.o
[ 9%] Building C object src/CMakeFiles/chmseelib.dir/components/book.c.o
[ 11%] Building C object src/CMakeFiles/chmseelib.dir/components/toc.c.o
[ 14%] Building C object src/CMakeFiles/chmseelib.dir/components/index.c.o
[ 16%] Building C object src/CMakeFiles/chmseelib.dir/components/bookmarks.c.o
[ 19%] Building C object src/CMakeFiles/chmseelib.dir/components/treeview.c.o
[ 21%] Building C object src/CMakeFiles/chmseelib.dir/components/html-gecko.c.o
[ 23%] Building CXX object
src/CMakeFiles/chmseelib.dir/components/gecko-utils.cpp.o
In file included from /usr/include/xulrunner-2/nsrootidl.h:13,
from /usr/include/xulrunner-2/nsISupports.h:10,
from /usr/include/xulrunner-2/nsIWebBrowser.h:10,
from /usr/include/xulrunner-2/gtkmozembed_internal.h:41,
from /usr/include/xulrunner-2/gtkmozembed_glue.cpp:43,
from /home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:46:
/usr/include/xulrunner-2/nscore.h:126:1: warning: "NS_HIDDEN" redefined
In file included from
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:45:
/usr/include/xulrunner-2/gtkmozembed.h:53:1: warning: this is the location of
the previous definition
In file included from /usr/include/xulrunner-2/nsrootidl.h:13,
from /usr/include/xulrunner-2/nsISupports.h:10,
from /usr/include/xulrunner-2/nsIWebBrowser.h:10,
from /usr/include/xulrunner-2/gtkmozembed_internal.h:41,
from /usr/include/xulrunner-2/gtkmozembed_glue.cpp:43,
from /home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:46:
/usr/include/xulrunner-2/nscore.h:206:1: warning: "NS_IMPORT_" redefined
In file included from
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:45:
/usr/include/xulrunner-2/gtkmozembed.h:60:1: warning: this is the location of
the previous definition
In file included from /usr/include/xulrunner-2/nsrootidl.h:13,
from /usr/include/xulrunner-2/nsISupports.h:10,
from /usr/include/xulrunner-2/nsIWebBrowser.h:10,
from /usr/include/xulrunner-2/gtkmozembed_internal.h:41,
from /usr/include/xulrunner-2/gtkmozembed_glue.cpp:43,
from /home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:46:
/usr/include/xulrunner-2/nscore.h:208:1: warning: "NS_EXPORT_" redefined
In file included from
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:45:
/usr/include/xulrunner-2/gtkmozembed.h:59:1: warning: this is the location of
the previous definition
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp: In
function ‘gboolean gecko_utils_init()’:
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:183:
error: ‘GREVersionRange’ does not name a type
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:190:
error: ‘greVersion’ was not declared in this scope
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:191:
error: ‘GRE_GetGREPathWithProperties’ was not declared in this scope
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp: In
function ‘gint gecko_utils_get_mouse_event_modifiers(void*)’:
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:266:
error: no matching function for call to
‘nsIDOMMouseEvent::GetCtrlKey(PRBool*)’
/usr/include/xulrunner-2/nsIDOMMouseEvent.h:43: note: candidates are: virtual
nsresult nsIDOMMouseEvent::GetCtrlKey(bool*)
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:267:
error: no matching function for call to
‘nsIDOMMouseEvent::GetAltKey(PRBool*)’
/usr/include/xulrunner-2/nsIDOMMouseEvent.h:49: note: candidates are: virtual
nsresult nsIDOMMouseEvent::GetAltKey(bool*)
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:268:
error: no matching function for call to
‘nsIDOMMouseEvent::GetShiftKey(PRBool*)’
/usr/include/xulrunner-2/nsIDOMMouseEvent.h:46: note: candidates are: virtual
nsresult nsIDOMMouseEvent::GetShiftKey(bool*)
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:269:
error: no matching function for call to
‘nsIDOMMouseEvent::GetMetaKey(PRBool*)’
/usr/include/xulrunner-2/nsIDOMMouseEvent.h:52: note: candidates are: virtual
nsresult nsIDOMMouseEvent::GetMetaKey(bool*)
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp: In
function ‘gboolean gecko_utils_find(GtkMozEmbed*, const gchar*, gboolean,
gboolean)’:
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:329:
error: no matching function for call to
‘nsCOMPtr_base::nsDerivedSafe<nsIWebBrowserFind>::FindNext(PRBool*)’
/usr/include/xulrunner-2/nsIWebBrowserFind.h:35: note: candidates are: virtual
nsresult nsIWebBrowserFind::FindNext(bool*)
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp: In
function ‘gboolean gecko_utils_can_copy_selection(GtkMozEmbed*)’:
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:365:
error: no matching function for call to
‘nsCOMPtr_base::nsDerivedSafe<nsIClipboardCommands>::CanCopySelection(PRBool*)
’
/usr/include/xulrunner-2/nsIClipboardCommands.h:34: note: candidates are:
virtual nsresult nsIClipboardCommands::CanCopySelection(bool*)
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp: At global
scope:
/home/lepoke/Downloads/chmsee-1.3.1.1/src/components/gecko-utils.cpp:108:
warning: ‘gboolean gecko_prefs_set_bool(const gchar*, gboolean)’ defined
but not used
make[2]: *** [src/CMakeFiles/chmseelib.dir/components/gecko-utils.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/chmseelib.dir/all] Error 2
make: *** [all] Error 2
What version of the product are you using? On what operating system?
CentOS6.3 2.6.32-279.el6.x86_64
chmsee-1.3.1.1
Please provide any additional information below.
我参照 http://code.google.com/p/chmsee/issues/detail?id=69
进行了main.c到main.cpp以及后续的修改,make的时候还是一样。
Original issue reported on code.google.com by lepoke...@gmail.com on 24 Aug 2012 at 1:42
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
lepoke...@gmail.com
on 24 Aug 2012 at 1:42The text was updated successfully, but these errors were encountered: