Re: Epiphany 1.1.2



Hi,

On Mon, 2003-12-29 at 19:06, Luca Ferretti wrote:
> Il lun, 2003-12-29 alle 18:44, Christian Persch ha scritto:
> > Hi,
> > 
> > > -----------
> > Looks like MozDownload.h is missing some needed include... can you try
> > to add
> > #include "nsIRequest.h"
> > to it?
> 
> Dune, but now I've 
> 
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../embed -I../..
> -I/opt/gnome/include/mozilla-1.4/gtkembedmoz
> -I/opt/gnome/include/mozilla-1.4/xpcom
> -I/opt/gnome/include/mozilla-1.4/string
> -I/opt/gnome/include/mozilla-1.4/nspr
> -I/opt/gnome/include/mozilla-1.4/appcomps
> -I/opt/gnome/include/mozilla-1.4/chardet
> -I/opt/gnome/include/mozilla-1.4/chrome
> -I/opt/gnome/include/mozilla-1.4/content
> -I/opt/gnome/include/mozilla-1.4/cookie
> -I/opt/gnome/include/mozilla-1.4/commandhandler
> -I/opt/gnome/include/mozilla-1.4/docshell
> -I/opt/gnome/include/mozilla-1.4/dom
> -I/opt/gnome/include/mozilla-1.4/exthandler
> -I/opt/gnome/include/mozilla-1.4/find
> -I/opt/gnome/include/mozilla-1.4/gfx
> -I/opt/gnome/include/mozilla-1.4/helperAppDlg
> -I/opt/gnome/include/mozilla-1.4/history
> -I/opt/gnome/include/mozilla-1.4/layout
> -I/opt/gnome/include/mozilla-1.4/locale
> -I/opt/gnome/include/mozilla-1.4/mimetype
> -I/opt/gnome/include/mozilla-1.4/necko
> -I/opt/gnome/include/mozilla-1.4/nkcache
> -I/opt/gnome/include/mozilla-1.4/pipnss
> -I/opt/gnome/include/mozilla-1.4/pref
> -I/opt/gnome/include/mozilla-1.4/progressDlg
> -I/opt/gnome/include/mozilla-1.4/shistory
> -I/opt/gnome/include/mozilla-1.4/unicharutil
> -I/opt/gnome/include/mozilla-1.4/uriloader
> -I/opt/gnome/include/mozilla-1.4/wallet
> -I/opt/gnome/include/mozilla-1.4/webbrowserpersist
> -I/opt/gnome/include/mozilla-1.4/webbrwsr
> -I/opt/gnome/include/mozilla-1.4/webshell
> -I/opt/gnome/include/mozilla-1.4/widget
> -I/opt/gnome/include/mozilla-1.4/windowwatcher
> -I/opt/gnome/include/mozilla-1.4/xpcom -DORBIT2=1 -pthread
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
> -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include
> -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include -I/usr/X11R6/include
> -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/freetype2
> -I/opt/gnome//include -I/opt/gnome/include/libxml2
> -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0
> -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/libart-2.0
> -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0
> -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0
> -I/opt/gnome/include/gnome-vfs-2.0
> -I/opt/gnome/lib/gnome-vfs-2.0/include
> -I/opt/gnome/include/bonobo-activation-2.0
> -I/opt/gnome/include/libglade-2.0
> -I/opt/gnome/include/gnome-vfs-module-2.0 -I/opt/gnome/include/eel-2
> -I/opt/gnome/include/gail-1.0 -DSHARE_DIR=\"/opt/gnome/share/epiphany\"
> -include /opt/gnome/include/mozilla-1.4/mozilla-config.h -fno-rtti
> -fshort-wchar -g -O2 -MT ContentHandler.lo -MD -MP -MF
> .deps/ContentHandler.Tpo -c ContentHandler.cpp  -fPIC -DPIC -o
> .libs/ContentHandler.o
> In file included from ContentHandler.cpp:28:
> /opt/gnome/include/mozilla-1.4/xpcom/nsCOMPtr.h: In instantiation of
> `nsCOMPtr<nsIObserver>':
> MozDownload.h:124:   instantiated from here
> /opt/gnome/include/mozilla-1.4/xpcom/nsCOMPtr.h:452: error: invalid
> application of `sizeof' to an incomplete type
> make[3]: *** [ContentHandler.lo] Error 1
> make[3]: Leaving directory `/tmp/GNOME/epiphany/embed/mozilla'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/GNOME/epiphany/embed'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/GNOME/epiphany'
> make: *** [all] Error 2

Looks like it needs
#include "nsIObserver.h"

Regards,
	Christian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]