Re: extensions won't compile
- From: Christian Persch <chpe gnome org>
- To: arattan math uwaterloo ca
- Cc: "epiphany list at gnome.org" <epiphany-list gnome org>
- Subject: Re: extensions won't compile
- Date: Tue, 11 Jan 2005 14:51:27 +0100
Hi,
Le lundi 10 janvier 2005 à 23:35 -0500, Amarpreet Rattan a écrit :
> hello,
>
> like the subject says, epiphany extensions won't compile. i do have
> epiphany-1.4.6 and i am running gnome-2.8 with gentoo linux.
>
> here is the output from my make (i did a configure --with-extension=all)
>
> tual-dtor -MT mozilla-selection.lo -MD -MP
> -MF .deps/mozilla-selection.Tpo -c mozilla-selection.cpp -fPIC -DPIC
> -o .libs/mozilla-selection.o
> mozilla-selection.cpp:36:27: nsIWebBrowser.h: No such file or directory
> mozilla-selection.cpp:38:32: nsIWebBrowserFocus.h: No such file or
> directory
> In file included from mozilla-selection.cpp:39:
> /usr/lib/mozilla/include/gtkembedmoz/gtkmozembed_internal.h:25:27:
> nsIWebBrowser.h: No such file or directory
> In file included from mozilla-selection.cpp:39:
> /usr/lib/mozilla/include/gtkembedmoz/gtkmozembed_internal.h:34: error:
> type
> specifier omitted for parameter `nsIWebBrowser'
> /usr/lib/mozilla/include/gtkembedmoz/gtkmozembed_internal.h:34: error:
> parse
> error before `*' token
> mozilla-selection.cpp: In function `char*
> mozilla_get_selected_text(EphyEmbed*)
> ':
> mozilla-selection.cpp:45: error: `nsIWebBrowser' undeclared (first use
> this
> function)
> mozilla-selection.cpp:45: error: (Each undeclared identifier is reported
> only
> once for each function it appears in.)
> mozilla-selection.cpp:45: error: template argument 1 is invalid
> mozilla-selection.cpp:45: error: ISO C++ forbids declaration of
> `browser' with
> no type
> mozilla-selection.cpp:47: error: no matching function for call to `
> getter_AddRefs(int&)'
> mozilla-selection.cpp:48: error: `nsIWebBrowserFocus' undeclared (first
> use
> this function)
> mozilla-selection.cpp:48: error: template argument 1 is invalid
> mozilla-selection.cpp:48: error: invalid conversion from `int' to
> `nsISupports*
> '
> mozilla-selection.cpp:48: error: initializing argument 1 of
> `nsQueryInterface
> do_QueryInterface(nsISupports*)'
> mozilla-selection.cpp:48: error: ISO C++ forbids declaration of `focus'
> with no
> type
> mozilla-selection.cpp:48: error: cannot convert `nsQueryInterface' to
> `int' in
> initialization
> mozilla-selection.cpp:52: error: base operand of `->' is not a pointer
> make[4]: *** [mozilla-selection.lo] Error 1
> make[4]: Leaving directory
> `/usr/local/epiphany-extensions-1.4.4/extensions/smart-bookmarks/mozilla'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/usr/local/epiphany-extensions-1.4.4/extensions/smart-bookmarks'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/local/epiphany-extensions-1.4.4/extensions'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/epiphany-extensions-1.4.4'
> make: *** [all] Error 2
>
Looks like a missing include. Can you try to add a
-I$(MOZILLA_INCLUDE_ROOT)/webbrwsr \
line to INCLUDES= in extensions/smart-bookmarks/mozilla/Makefile.am?
Regards,
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]